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

 
(98 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
#sideMenu,
 
#sideMenu,
 
#top_title {
 
#top_title {
  display: none;
+
display: none;
 
}
 
}
  
 
#content {
 
#content {
  padding: 0px;
+
padding: 0px;
  width: 100%;
+
width: 100%;
 
}
 
}
  
 
body {
 
body {
  background-color: #f9e3e6;
+
background-color: #f9e3e6;
  width: 100%;
+
width: 100%;
 +
margin: 0px;
 
}
 
}
  
Line 23: Line 24:
 
#bodyContent h4,
 
#bodyContent h4,
 
#bodyContent h5 {
 
#bodyContent h5 {
  margin-bottom: 0px;
+
margin-bottom: 0px;
 
}
 
}
  
 
#bodyContent {
 
#bodyContent {
  padding-right: 0px;
+
padding-right: 0px;
 
}
 
}
  
 
#globalWrapper {
 
#globalWrapper {
  font-size: 100%;
+
font-size: 100%;
  padding: 0px;
+
padding: 0px;
  margin: -10px -20px -20px -20px;
+
margin: -10px -20px -20px -20px;
 
}
 
}
  
 
.navbar-collapse {
 
.navbar-collapse {
  padding-left: 0px;
+
padding-left: 0px;
 
}
 
}
  
 
#banner {
 
#banner {
  margin-top: 50px;
+
margin-top: 50px;
 
}
 
}
  
 
#sideMenu {
 
#sideMenu {
  margin-top: 10px;
+
margin-top: 10px;
 
}
 
}
  
 
.dropdown-menu li:hover .sub-menu {
 
.dropdown-menu li:hover .sub-menu {
  visibility: visible;
+
visibility: visible;
 
}
 
}
  
 
.dropdown:hover .dropdown-menu {
 
.dropdown:hover .dropdown-menu {
  display: block;
+
display: block;
 
}
 
}
  
 
.navbar-nav .dropdown-menu,
 
.navbar-nav .dropdown-menu,
 
.navbar .dropdown-menu {
 
.navbar .dropdown-menu {
  margin-top: 0;
+
margin-top: 0;
 
}
 
}
  
  
/**********************************ON THIS PAGE**********************************/
+
/**********************************NAVIGATION BAR**********************************/
  
  
.navbar {
+
 
overflow: hidden;
+
body {
 
background-color: #f9e3e6;
 
background-color: #f9e3e6;
 +
width: 100%;
 +
margin: 0px;
 
}
 
}
  
.navbar a {
+
/*#logo  {
float: left;
+
display: inline-block;
float-size: 16px;
+
vertical-align: top;
color: #ffffff;
+
width: 60px;
text-align: center;
+
height: 60px;
padding: 14px 16px;
+
margin-left: 60px;
text-decoration: none;
+
margin-top: 15px;
font-size: 17px;
+
}*/
 +
 
 +
#navigation {
 +
top: 0;
 +
margin: 0;
 +
padding: 0;
 +
background: #EEA2AD;
 +
height: 80px;
 +
list-style: none;
 
}
 
}
  
.subnav {
+
#navigation > a {
 
float: left;
 
float: left;
overflow: hidden;
+
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;
 
}
 
}
  
.subnav, .subnavbtn {
+
#navigation > li {
font-size: 16px;
+
float: right;
border: none;
+
height: 100%;
outline: none;
+
margin-right: 0.5em;
color: white;
+
padding: 0 1em;
padding: 10px 10px;
+
background-color: #eea2ad;
+
font-family: inherit;
+
margin: 2;
+
 
}
 
}
  
.navbar a:hover, .subnav:hover .subnavbtn {
+
#navigation > li > a {
background-color: #e26174;
+
float: right;
 +
height: 100%;
 +
color: white ;
 +
text-decoration: overline;
 +
font-size: 22px;
 +
line-height: 3.5;
 +
font-weight: bold;
 +
text-transform: uppercase;
 
}
 
}
  
.subnav-content {
+
#navigation > li > a:hover {
display: none;
+
color: #e26174;
position: absolute;
+
text-decoration: underline;
left: 0;
+
background-color: #f6cdd3;
+
width: 100%;
+
z-index: 1;
+
 
}
 
}
  
.subnav-content a {
+
#navigation > li.sub {
float: left;
+
position: relative;
color: white;
+
text-decoration: none;
+
 
}
 
}
  
 +
#navigation > li.sub ul {
 +
width: 120px;
 +
margin: 30px 0px 30px;
 +
padding: 0px;
 +
list-style: none;
 +
background: pink;
 +
position: absolute;
 +
top: -1000em;
 +
}
  
.subnav-content a:hover {
+
#navigation > li.sub ul li {
background-color: #e26174;
+
width: 100%;
color: white;
+
margin: 0;
 
}
 
}
  
.subnav:hover .subnav-content {
+
#navigation > li.sub ul li a {
display: block;
+
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