Template:Team:DukeHomePage/CSS
From 2014.igem.org
(Difference between revisions)
Line 5: | Line 5: | ||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> | ||
+ | <style type="text/css"> | ||
+ | /* These styles just pretty up the page a bit. */ | ||
+ | html | ||
+ | { | ||
+ | overflow: -moz-scrollbars-vertical !important; | ||
+ | resize: none; | ||
+ | background: url(https://static.igem.org/mediawiki/2012/d/da/Fondo1.png) repeat; | ||
+ | <!--background: url(https://static.igem.org/mediawiki/2013/0/0f/DukeBackground.png) repeat;--> | ||
+ | background-color: #fff; | ||
+ | } | ||
+ | |||
+ | #top-section { | ||
+ | height: 0px; | ||
+ | border-top: 1 | ||
+ | border-left: none; | ||
+ | border-right: none; | ||
+ | } | ||
+ | |||
+ | #siteSub { | ||
+ | display:none; | ||
+ | } | ||
+ | |||
+ | #search-controls { | ||
+ | display:none; | ||
+ | } | ||
+ | |||
+ | .firstHeading { | ||
+ | display:none; | ||
+ | } | ||
+ | |||
+ | #search-controls { | ||
+ | margin-top:0px; | ||
+ | } | ||
+ | |||
+ | #footer-box { | ||
+ | display:none; | ||
+ | } | ||
+ | |||
+ | body | ||
+ | { | ||
+ | background: url(https://static.igem.org/mediawiki/2012/d/da/Fondo1.png) repeat; | ||
+ | <!--background: url(https://static.igem.org/mediawiki/2013/0/0f/DukeBackground.png) repeat;--> | ||
+ | background-color: #fff; | ||
+ | } | ||
+ | |||
+ | body { | ||
+ | font: 65%/1.2 Arial, Helvetica, sans-serif; | ||
+ | background-color: #E8F6FF; } | ||
+ | #wrap { | ||
+ | font-size: 1.1em; | ||
+ | width: 180px; | ||
+ | padding: 0px; | ||
+ | margin-left: 15px; | ||
+ | background-color: #fff; | ||
+ | position: relative; | ||
+ | height: 100%; | ||
+ | |||
+ | margin-right: 20px; | ||
+ | margin-bottom: 20px; | ||
+ | margin-top: 10px; | ||
+ | float: left; | ||
+ | |||
+ | |||
+ | } | ||
+ | |||
+ | .right_box{ | ||
+ | width: 730px; | ||
+ | margin-left: 210px; | ||
+ | margin-top: 20px; | ||
+ | |||
+ | |||
+ | } | ||
+ | |||
+ | /* These styles create the dropdown menus. */ | ||
+ | #navbar { | ||
+ | margin: 1600; | ||
+ | padding: 0; | ||
+ | height: 1em; } | ||
+ | #navbar li { | ||
+ | list-style: none; | ||
+ | float: left; } | ||
+ | #navbar li a { | ||
+ | padding-left: 6px; | ||
+ | padding-bottom: 4px; | ||
+ | padding-right: 6px; | ||
+ | padding-top: 4px; | ||
+ | display: block; | ||
+ | background-color: #C1CDCD/*#5d9548;*/ | ||
+ | color: #fff; | ||
+ | text-decoration: none; } | ||
+ | #navbar li ul { | ||
+ | display: none; | ||
+ | width: 10em; /* Width to help Opera out */ | ||
+ | background-color: #80ff00;} | ||
+ | #navbar li:hover ul, #navbar li.hover ul { | ||
+ | display: block; | ||
+ | position: absolute; | ||
+ | background-color: #C1CDCD; /*#5d9549;*/ | ||
+ | margin: 0; | ||
+ | padding: 0; } | ||
+ | #navbar li:hover li, #navbar li.hover li { | ||
+ | float: none; } | ||
+ | #navbar li:hover li a, #navbar li.hover li a { | ||
+ | background-color: #66b83d; | ||
+ | border-bottom: 1px solid #fff; | ||
+ | color: white; } | ||
+ | #navbar li li a:hover { | ||
+ | background-color: #C1CDCD;} /*#8db3ff; }*/ | ||
+ | </style> | ||
<script> | <script> |
Revision as of 16:35, 21 July 2014