JackdHarris (Talk | contribs) |
JackdHarris (Talk | contribs) |
||
Line 6: | Line 6: | ||
− | + | #mainContainer{ | |
+ | background-color: white; | ||
+ | width: 100%; | ||
+ | } | ||
+ | #main{ | ||
+ | width: 100%; | ||
+ | margin: auto; | ||
+ | padding: 0px; | ||
+ | background-color: white; | ||
+ | } | ||
+ | body { background-color: white; margin: auto; padding: 0px; width: 100%;} | ||
#content { | #content { | ||
− | margin | + | margin: 0px auto; |
− | background-color: #C8A2C8; } | + | background-color: #C8A2C8; |
+ | width: 100%; | ||
+ | padding: 0px; | ||
+ | } | ||
Line 17: | Line 30: | ||
− | .column full_size {width: | + | .column full_size {width: 100%; |
height: 700px; | height: 700px; | ||
position: center; } | position: center; } | ||
+ | p { | ||
+ | margin: auto; | ||
+ | width: 95%; | ||
+ | } | ||
#firstHeading { | #firstHeading { | ||
Line 27: | Line 44: | ||
color: #9D0EC8;} | color: #9D0EC8;} | ||
+ | a { | ||
+ | opacity: 1.0; | ||
+ | } | ||
+ | |||
+ | a:visited { | ||
+ | color: #D49AE6; | ||
+ | } | ||
a.HeaderLinks { | a.HeaderLinks { | ||
+ | height: 100px; | ||
position: center; | position: center; | ||
− | |||
border: none; | border: none; | ||
− | color: | + | color: #D49AE6; |
− | + | ||
text-align: center; | text-align: center; | ||
text-decoration: none; | text-decoration: none; | ||
Line 46: | Line 69: | ||
#MainTitle { | #MainTitle { | ||
− | padding: | + | padding: 60px; |
font-size: 60px; } | font-size: 60px; } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Line 79: | Line 89: | ||
#headerLinks { | #headerLinks { | ||
+ | position: fixed; | ||
text-decoration: none; | text-decoration: none; | ||
color: #b8975e; | color: #b8975e; | ||
− | |||
− | |||
width: 100%; | width: 100%; | ||
− | + | height: 100px; | |
− | + | line-height: 100px; | |
− | + | background-color: white; | |
+ | margin: auto; | ||
text-align:center; | text-align:center; | ||
+ | opacity: 0.9; | ||
} | } | ||
.header{ | .header{ | ||
− | width: | + | width: 100%; |
padding: 0; | padding: 0; | ||
margin: 0 auto; | margin: 0 auto; | ||
Line 102: | Line 113: | ||
#text{ | #text{ | ||
width: 900px; | width: 900px; | ||
− | padding: | + | padding: 0px; |
display: block; | display: block; | ||
− | margin: | + | margin: 0px auto; |
} | } | ||
− | |||
#space{ | #space{ | ||
Line 134: | Line 144: | ||
opacity: 0.4; | opacity: 0.4; | ||
filter: alpha(opacity=40); /* For IE8 and earlier */ | filter: alpha(opacity=40); /* For IE8 and earlier */ | ||
+ | transition: opacity 0.5s ease-in-out; | ||
} | } | ||
Line 164: | Line 175: | ||
display: block; | display: block; | ||
} | } | ||
− | |||
#globalWrapper{ | #globalWrapper{ | ||
background-color: white; | background-color: white; | ||
− | padding: | + | padding: 0px; |
+ | |||
} | } | ||
+ | |||
+ | |||
+ | /* Dropdown Button */ | ||
+ | .dropbtn { | ||
+ | margin: auto; | ||
+ | position: left; | ||
+ | height: 100%; | ||
+ | width: 100%; | ||
+ | background-color: white; | ||
+ | color: #D49AE6; | ||
+ | padding: 39px; | ||
+ | font-size: 20px; | ||
+ | text-align: left; | ||
+ | border: none; | ||
+ | cursor: pointer; | ||
+ | transition: background-color 0.5s ease-in-out, color 0.5s ease-in-out; | ||
+ | } | ||
+ | |||
+ | /* The container <div> - needed to position the dropdown content */ | ||
+ | .dropdown { | ||
+ | position: relative; | ||
+ | display: inline-block; | ||
+ | } | ||
+ | |||
+ | /* Dropdown Content (Hidden by Default) */ | ||
+ | .dropdown-content { | ||
+ | display: none; | ||
+ | opacity: 0.0; | ||
+ | position: absolute; | ||
+ | background-color: #D49AE6; | ||
+ | min-width: 140px; | ||
+ | text-align: left; | ||
+ | box-shadow: 0px 8px 12px 0px rgba(0,0,0,0.2); | ||
+ | transition: opacity 0.5s ease-in-out; | ||
+ | } | ||
+ | |||
+ | /* Links inside the dropdown */ | ||
+ | .dropdown-content a { | ||
+ | color: white; | ||
+ | opacity: 0.0; | ||
+ | padding: 0px 10px; | ||
+ | font-size: 20px; | ||
+ | text-decoration: none; | ||
+ | display: block; | ||
+ | transition: opacity 0.5s ease-in-out; | ||
+ | } | ||
+ | |||
+ | /* Change color of dropdown links on hover */ | ||
+ | .dropdown-content a:hover {background-color: #D49AE6} | ||
+ | |||
+ | /* Show the dropdown menu on hover */ | ||
+ | .dropdown:hover .dropdown-content { | ||
+ | display: block; | ||
+ | opacity: 1.0; | ||
+ | } | ||
+ | |||
+ | .dropdown:hover .dropdown-content a { | ||
+ | opacity: 1.0; | ||
+ | } | ||
+ | |||
+ | /* Change the background color of the dropdown button when the dropdown content is shown*/ | ||
+ | .dropbtn:hover { | ||
+ | background-color: #D49AE6; | ||
+ | color: white; | ||
+ | } | ||
+ | |||
+ | #mainbanner{ | ||
+ | text-align: center; | ||
+ | } | ||
+ | |||
+ | #mainbanner{ | ||
+ | display: block; | ||
+ | margin: auto;; | ||
+ | } | ||
+ | |||
/*Begin page specific styling*/ | /*Begin page specific styling*/ | ||
Line 197: | Line 283: | ||
<header> | <header> | ||
<div id="headerLinks"> | <div id="headerLinks"> | ||
− | <a class=" | + | <a href="https://2016.igem.org/Team:LambertGA" class="dropbtn">Home</a><!-- |
− | </a>< | + | --><li class="dropdown"> |
− | </a><a class=" | + | <a href="https://2016.igem.org/Team:LambertGA/Description" class="dropbtn">Project</a> |
− | </a>< | + | <div class="dropdown-content"> |
− | </a><a class=" | + | <a href="https://2016.igem.org/Team:LambertGA/Description">Description</a> |
− | </a><a class=" | + | <a href="https://2016.igem.org/Team:LambertGA/Design">Design</a> |
− | </a>< | + | <a href="https://2016.igem.org/Team:LambertGA/Experiments">Experiments</a> |
− | </a> | + | <a href="https://2016.igem.org/Team:LambertGA/Proof">Proof of Concept</a> |
+ | <a href="https://2016.igem.org/Team:LambertGA/Demonstrate">Demonstrate</a> | ||
+ | </div> | ||
+ | </li><!-- | ||
+ | --><li class="dropdown" > | ||
+ | <a href="https://2016.igem.org/Team:LambertGA/Parts" class="dropbtn">Parts</a> | ||
+ | <div class="dropdown-content"> | ||
+ | <a href="https://2016.igem.org/Team:LambertGA/Basic_Part">Basic Parts</a> | ||
+ | <a href="https://2016.igem.org/Team:LambertGA/Composite_Part">Composite Parts</a> | ||
+ | <a href="https://2016.igem.org/Team:LambertGA/Part_Collection">Part Collection</a> | ||
+ | </div> | ||
+ | </li><!-- | ||
+ | --><li class="dropdown" > | ||
+ | <a href="https://2016.igem.org/Team:LambertGA/Team" class="dropbtn">Team</a> | ||
+ | <div class="dropdown-content"> | ||
+ | <a href="https://2016.igem.org/Team:LambertGA/Collaborations">Collaborations</a> | ||
+ | </div> | ||
+ | </li><!-- | ||
+ | --><a href="https://2016.igem.org/Team:LambertGA/Attributions"class="dropbtn">Attributions</a><!-- | ||
+ | --><a href="https://2016.igem.org/Team:LambertGA/Safety"class="dropbtn">Safety</a><!-- | ||
+ | --><li class="dropdown" > | ||
+ | <a href="https://2016.igem.org/Team:LambertGA/Human_Practices" class="dropbtn">Human Practices</a> | ||
+ | <div class="dropdown-content"> | ||
+ | <a href="https://2016.igem.org/Team:LambertGA/HP/Silver">Silver</a> | ||
+ | <a href="https://2016.igem.org/Team:LambertGA/HP/Gold">Gold</a> | ||
+ | <a href="https://2016.igem.org/Team:LambertGA/HP/Integrated_Pract">Integrated Practices</a> | ||
+ | <a href="https://2016.igem.org/Team:LambertGA/HP/Engagements">Engagements</a> | ||
+ | </div> | ||
+ | </li><!-- | ||
+ | --><li class="dropdown" > | ||
+ | <a href="https://2016.igem.org/Team:LambertGA/Awards" class="dropbtn">Awards</a> | ||
+ | <div class="dropdown-content"> | ||
+ | <a href="https://2016.igem.org/Team:LambertGA/Entrepreneurship">Entrepreneurship</a> | ||
+ | <a href="https://2016.igem.org/Team:LambertGA/Hardware">Hardware</a> | ||
+ | <a href="https://2016.igem.org/Team:LambertGA/Software">Software</a> | ||
+ | <a href="https://2016.igem.org/Team:LambertGA/Measurement">Measurement</a> | ||
+ | <a href="https://2016.igem.org/Team:LambertGA/Model">Model</a> | ||
+ | </div> | ||
+ | </li> | ||
</div> | </div> | ||
− | |||
</header> | </header> |
Revision as of 15:23, 6 October 2016