Template:Sheffield2014 socio-reg-template
From 2014.igem.org
(Difference between revisions)
(47 intermediate revisions not shown) | |||
Line 10: | Line 10: | ||
body { | body { | ||
- | font-family: | + | font-family: sans-serif; |
font-size: 0.8em; | font-size: 0.8em; | ||
} | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
/*-- formats hyperlinks --*/ | /*-- formats hyperlinks --*/ | ||
Line 46: | Line 35: | ||
} | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
#title { | #title { | ||
Line 77: | Line 55: | ||
line-height: 1.5em; | line-height: 1.5em; | ||
box-shadow: rgba(50,50,50,0.75) 1px 1px 10px 0px; | box-shadow: rgba(50,50,50,0.75) 1px 1px 10px 0px; | ||
- | |||
} | } | ||
- | # | + | #registry_table { |
- | + | border-color: #444444; | |
- | + | border-style: solid; | |
+ | border-width: 3px; | ||
+ | float: left; | ||
+ | min-width: 50%; | ||
+ | border-collapse: collapse; | ||
} | } | ||
+ | #registry_table th { | ||
+ | background-color: #AAAAAA; | ||
+ | font-size: 1.1em; | ||
+ | padding: 5px; | ||
+ | padding-left: 10px; | ||
+ | text-align: left; | ||
+ | } | ||
+ | |||
+ | #registry_table td { | ||
+ | background-color: #EEEEEE; | ||
+ | font-size: 1 em; | ||
+ | padding: 5px; | ||
+ | border-color: #3D3D3D; | ||
+ | border-style: solid; | ||
+ | border-width: 1px; | ||
- | |||
- | |||
- | |||
- | |||
} | } | ||
- | + | ||
- | + | ||
- | + | ||
+ | #registry_menu { | ||
+ | |||
+ | background-color:#666666; | ||
+ | float:left; | ||
+ | border:black; | ||
+ | width:99.1%; | ||
+ | height: 2.35em; | ||
} | } | ||
+ | |||
+ | #registry_menu li { | ||
+ | float:left; | ||
+ | display:block; | ||
+ | text-align:center; | ||
+ | position:relative; | ||
+ | padding: 0px 0px 0px 0px; | ||
+ | margin-right:4em; | ||
+ | margin-top:0.1em; | ||
+ | border:none; | ||
+ | line-height: 2em; | ||
+ | font-size: 1em; | ||
+ | |||
+ | } | ||
+ | |||
+ | #registry_menu li:hover { | ||
+ | |||
+ | padding: 0px 0px 0px 0px; | ||
+ | background: #666666; | ||
+ | } | ||
+ | |||
+ | #registry_menu li a { | ||
+ | color: #EEEEEE; | ||
+ | display:block; | ||
+ | outline:0; | ||
+ | text-decoration:none; | ||
+ | } | ||
+ | |||
+ | #registry_menu li:hover a { | ||
+ | color:#FF9900; | ||
+ | } | ||
+ | |||
+ | #registry_menu li:hover .col a { | ||
+ | color:#FFFFFF; | ||
+ | } | ||
+ | |||
+ | .dropdown { | ||
+ | width: 12em; | ||
+ | margin:0 auto; | ||
+ | float:left; | ||
+ | position:absolute; | ||
+ | left:-999em; | ||
+ | text-align:left; | ||
+ | padding: 1em 0.5em 1em 0.5em; | ||
+ | border:1px solid #777777; | ||
+ | border-top:none; | ||
+ | background:#000000; | ||
+ | z-index: 10; | ||
+ | } | ||
+ | |||
+ | #registry_menu li:hover .dropdown { | ||
+ | left:-1px; | ||
+ | top:auto; | ||
+ | } | ||
+ | |||
+ | .col { | ||
+ | width: 11em; | ||
+ | display:inline; | ||
+ | float: left; | ||
+ | position: relative; | ||
+ | margin-left: 0.5em; | ||
+ | margin-right: 1em; | ||
+ | } | ||
+ | |||
+ | #registry_menu .col p { | ||
+ | text-indent: 1em; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
</style> | </style> | ||
Line 102: | Line 176: | ||
<body> | <body> | ||
- | <div style="height:5.5em | + | <div style="height:5.5em"> |
</div> | </div> | ||
Line 114: | Line 188: | ||
</div> | </div> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
+ | <div id="registry_menu"> | ||
+ | <ul> | ||
+ | <li><a href="../main">sociobricks</a> | ||
+ | <div class="dropdown"> | ||
+ | <div class="col"> | ||
+ | <h2><a href="">Browse by type</a></h2> | ||
+ | |||
+ | <p><a href="https://2014.igem.org/wiki/index.php?title=Team:Sheffield/sociobricks/catalogue/framework">Framework</p> | ||
+ | <p><a href="https://2014.igem.org/wiki/index.php?title=Team:Sheffield/sociobricks/catalogue/ethics">Ethics</p> | ||
+ | <p><a href="https://2014.igem.org/wiki/index.php?title=Team:Sheffield/sociobricks/catalogue/methods">Methods</p> | ||
+ | <p><a href="https://2014.igem.org/wiki/index.php?title=Team:Sheffield/sociobricks/catalogue/analysis">Analysis</p> | ||
+ | <p><a href="https://2014.igem.org/wiki/index.php?title=Team:Sheffield/sociobricks/catalogue/outputs">Outputs</p> | ||
+ | </div> | ||
+ | </div> | ||
+ | </li> | ||
+ | <li><a href="./main">main page</a></li> | ||
+ | <li><a href="./experience">experience</a></li> | ||
+ | <li><a href="./information">information</a></li> | ||
+ | <li><a href=?action=edit>edit</a></li> | ||
+ | </ul> | ||
</div> | </div> | ||
</body> | </body> | ||
</html> | </html> |
Latest revision as of 20:03, 17 October 2014