Difference between revisions of "Template:SFLS Shenzhen/CSS/bootstrap:css"

 
(138 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<html>
 
<html>
 
<style type="text/css">
 
<style type="text/css">
 +
/************************DEFAULT SETTINGS************************/
  
    body{
+
#sideMenu,
      background-color:#fae3e6;
+
#top_title {
    }
+
display: none;
 +
}
  
    .topnav {
+
#content {
      overflow: hidden;
+
padding: 0px;
      background-color: #eea2ad;
+
width: 100%;
      font-family: Arial, Helvetica, sans-serif;
+
}
    }
+
  
    .topnav a {
+
body {
      float: left;
+
background-color: #f9e3e6;
      color: #ffffff;
+
width: 100%;
      text-align: center;
+
margin: 0px;
      padding: 14px 16px;
+
}
      text-decoration: none;
+
      font-size: 17px;
+
    }
+
  
    .topnav a:hover, .dropdown:hover .dropbtn {
+
#bodyContent h1,
      background-color: #e26174;
+
#bodyContent h2,
      color: white;
+
#bodyContent h3,
    }
+
#bodyContent h4,
 +
#bodyContent h5 {
 +
margin-bottom: 0px;
 +
}
  
    .dropdown-content {
+
#bodyContent {
    display: none;
+
padding-right: 0px;
    position: absolute;
+
}
    background-color: #e26174;
+
    min-width: 160px;
+
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
+
    z-index: 1;
+
    }
+
  
    .dropdown-content a {
+
#globalWrapper {
    float: none;
+
font-size: 100%;
    color: white;
+
padding: 0px;
    padding: 12px 16px;
+
margin: -10px -20px -20px -20px;
    text-decoration: none;
+
}
    display: block;
+
    text-align: left;
+
    }
+
  
    .topnav a.active {
+
.navbar-collapse {
      background-color: #da364e;
+
padding-left: 0px;
      color: white;
+
}
    }
+
  
    .dropdown:hover .dropdown-content {
+
#banner {
        display: block;
+
margin-top: 50px;
    }
+
}
  
 +
#sideMenu {
 +
margin-top: 10px;
 +
}
 +
 +
.dropdown-menu li:hover .sub-menu {
 +
visibility: visible;
 +
}
 +
 +
.dropdown:hover .dropdown-menu {
 +
display: block;
 +
}
 +
 +
.navbar-nav .dropdown-menu,
 +
.navbar .dropdown-menu {
 +
margin-top: 0;
 +
}
 +
 +
 +
/**********************************NAVIGATION BAR**********************************/
 +
 +
 +
 +
body {
 +
background-color: #f9e3e6;
 +
width: 100%;
 +
margin: 0px;
 +
}
 +
 +
/*#logo  {
 +
display: inline-block;
 +
vertical-align: top;
 +
width: 60px;
 +
height: 60px;
 +
margin-left: 60px;
 +
margin-top: 15px;
 +
}*/
 +
 +
#navigation {
 +
top: 0;
 +
margin: 0;
 +
padding: 0;
 +
background: #EEA2AD;
 +
height: 80px;
 +
list-style: none;
 +
}
 +
 +
#navigation > a {
 +
float: left;
 +
padding: 0 0 0 20px;
 +
height: 100%;
 +
color: white ;
 +
text-decoration: overline;
 +
font-size: 22px;
 +
line-height: 3.5;
 +
font-weight: bold;
 +
text-transform: uppercase;
 +
}
 +
 +
#navigation > li {
 +
float: right;
 +
height: 100%;
 +
margin-right: 0.5em;
 +
padding: 0 1em;
 +
}
 +
 +
#navigation > li > a {
 +
float: right;
 +
height: 100%;
 +
color: white ;
 +
text-decoration: overline;
 +
font-size: 22px;
 +
line-height: 3.5;
 +
font-weight: bold;
 +
text-transform: uppercase;
 +
}
 +
 +
#navigation > li > a:hover {
 +
color: #e26174;
 +
text-decoration: underline;
 +
}
 +
 +
#navigation > li.sub {
 +
position: relative;
 +
}
 +
 +
#navigation > li.sub ul {
 +
width: 120px;
 +
margin: 30px 0px 30px;
 +
padding: 0px;
 +
list-style: none;
 +
background: pink;
 +
position: absolute;
 +
top: -1000em;
 +
}
 +
 +
#navigation > li.sub ul li {
 +
width: 100%;
 +
margin: 0;
 +
}
 +
 +
#navigation > li.sub ul li a {
 +
height: 100%;
 +
font-size: 15px;
 +
display: block;
 +
padding: 0.4em;
 +
color: #fff;
 +
font-weight: bold;
 +
text-decoration: none;
 +
}
 +
 +
#navigation > li.sub ul li a:hover {
 +
background: #a67179;
 +
text-decoration: underline;
 +
}
 +
 +
#navigation > li.sub:hover ul {
 +
top: 3em;
 +
}
  
 
</style>
 
</style>
 +
 +
<head>
 +
<link rel="stylesheet" type="text/css" href="https://2018.igem.org/wiki/index.php?title=Template:SFLS_Shenzhen/CSS/bootstrap:css&action=edit" />
 +
<script src="https://2018.igem.org/common/MathJax-2.5-latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
 +
</script>
 +
</head>
 +
 +
<body>
 +
<ul id="navigation">
 +
<a href="https://2018.igem.org/Team:SFLS_Shenzhen">SFLS iGEM</a>
 +
 +
<li class="sub">
 +
  <a href="#">Porject</a>
 +
  <ul>
 +
  <li><a href="https://2018.igem.org/Team:SFLS_Shenzhen/Description">Description</a></li>
 +
  <li><a href="https://2018.igem.org/Team:SFLS_Shenzhen/Design">Design</a></li>
 +
  <li><a href="https://2018.igem.org/Team:SFLS_Shenzhen/Experiments">Experiments</a></li>
 +
  </ul>
 +
</li>
 +
 +
<li class="sub">
 +
<a href="#">Parts</a>
 +
  <ul>
 +
  <li><a href="https://2018.igem.org/Team:SFLS_Shenzhen/Basic_Parts">Basic Parts</a></li>
 +
  <li><a href="https://2018.igem.org/Team:SFLS_Shenzhen/Composite_Parts">Composite Parts</a></li>
 +
  </ul>
 +
</li>
 +
 +
<li class="sub">
 +
<a href="#">Human Practices</a>
 +
  <ul>
 +
  <li><a href="https://2018.igem.org/Team:SFLS_Shenzhen/HP_Silver">HP Silver</a></li>
 +
  <li><a href="https://2018.igem.org/Team:SFLS_Shenzhen/HP_Gold">HP Gold</a></li>
 +
  <li><a href="https://2018.igem.org/Team:SFLS_Shenzhen/Integrated_HP">Integrated HP</a></li>
 +
  <li><a href="https://2018.igem.org/Team:SFLS_Shenzhen/Public_Engagement">Public Engagement</a></li>
 +
  </ul>
 +
</li>
 +
  <li class="sub">
 +
 +
<a href="#">Modeling</a>
 +
  <ul>
 +
  <li><a href="https://2018.igem.org/Team:SFLS_Shenzhen/Modeling">Prediction Model</a></li>
 +
  </ul>
 +
</li>
 +
 +
  <li class="sub">
 +
<a href="#">Team</a>
 +
  <ul> 
 +
  <li><a href="https://2018.igem.org/Team:SFLS_Shenzhen/About_Our_Team">About Our Team</a></li>
 +
  <li><a href="https://2018.igem.org/Team:SFLS_Shenzhen/Collaborations">Collaborations</a></li>
 +
  <li><a href="https://2018.igem.org/Team:SFLS_Shenzhen/Notebook">Notebook</a></li>
 +
  <li><a href="https://2018.igem.org/Team:SFLS_Shenzhen/Attributions">Attributions</a></li>
 +
  </ul>
 +
</li>
 +
 +
  <li class="sub">
 +
<a href="#">Judging</a>
 +
  <ul>
 +
  <li><a href="https://2018.igem.org/Team:SFLS_Shenzhen/Achievement">Achievement</a></li>
 +
  <li><a href="https://2018.igem.org/Team:SFLS_Shenzhen/Interlab">Interlab</a></li>
 +
  <li><a href="https://2018.igem.org/Team:SFLS_Shenzhen/Improvement">Improvement</a></li>
 +
  </ul>
 +
</li>
 +
</ul>
 +
 +
</body>
 +
 +
 
</html>
 
</html>

Latest revision as of 16:21, 17 October 2018