Team:Northwestern/Templates/Reset
From 2014.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
<html> | <html> | ||
- | <style | + | <head> |
+ | <style> | ||
- | /* | + | /* Reset the wiki style by overriding with a reset stylesheet (written by Florian Albrecht) |
- | + | the relevant wiki css rules are reset by using rules with higher priority */ | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | /* Start general reset ================================================== */ | |
- | + | ||
- | + | html body { | |
- | + | font-size: inherit; | |
- | + | font-family: inherit; | |
- | + | background-color: transparent; | |
- | + | color: inherit; | |
- | + | padding: 0; | |
- | + | ||
} | } | ||
- | # | + | div#globalWrapper { |
- | + | font-size: inherit; | |
- | + | margin: 0; | |
- | + | padding: 0; | |
- | + | position: static; | |
- | + | width: auto; | |
- | + | ||
- | + | ||
} | } | ||
- | + | /* Start top-section reset ============================================== */ | |
- | + | ||
- | # | + | div#top-section { |
- | + | border: 0; | |
- | + | height: auto; | |
- | + | ||
- | + | ||
- | + | ||
- | border: | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
margin: 0; | margin: 0; | ||
- | + | position: static; | |
- | + | width: auto; | |
- | + | } | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
+ | div#p-logo { | ||
+ | height: auto; | ||
+ | position: static; | ||
+ | width: auto; | ||
+ | z-index: auto; | ||
+ | } | ||
+ | |||
+ | div#p-logo a, div#p-logo a:hover { | ||
+ | text-decoration: none; | ||
+ | } | ||
+ | |||
+ | div#menubar { | ||
+ | font-family: inherit; | ||
+ | font-size: inherit; | ||
+ | line-height: inherit; | ||
+ | position: static; | ||
+ | top: 0px; | ||
+ | white-space: normal; | ||
+ | width: auto; | ||
+ | z-index: auto; | ||
+ | } | ||
+ | |||
+ | div.left-menu, div.left-menu a { | ||
+ | color: inherit; | ||
+ | left: 0; | ||
+ | text-align: left; | ||
+ | text-transform: none; | ||
+ | } | ||
+ | |||
+ | div#menubar ul { | ||
+ | color: inherit; | ||
+ | list-style: disc outside none; | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | } | ||
+ | |||
+ | div#menubar li { | ||
+ | cursor: auto; | ||
+ | display: list-item; | ||
+ | padding: 0; | ||
+ | margin: 0; | ||
+ | position: static; | ||
+ | } | ||
+ | |||
+ | div.left-menu li a { | ||
+ | padding: 0; | ||
+ | } | ||
+ | |||
+ | div.left-menu:hover { | ||
+ | color: inherit; | ||
+ | background-color: transparent; | ||
+ | } | ||
+ | |||
+ | div.left-menu:hover a { | ||
+ | color: inherit; | ||
+ | } | ||
+ | |||
+ | div.right-menu, div.right-menu a { | ||
+ | color: inherit; | ||
+ | right: 0; | ||
+ | text-align: left; | ||
+ | } | ||
+ | |||
+ | div.right-menu li a { | ||
+ | background-color: transparent; | ||
+ | color: inherit; | ||
+ | padding: 0; | ||
+ | } | ||
+ | |||
+ | div.right-menu li a:hover { | ||
+ | color: inherit; | ||
+ | text-decoration: none; | ||
+ | } | ||
+ | |||
+ | div#search-controls { | ||
+ | background-color: transparent; | ||
+ | height: auto; | ||
+ | position: static; | ||
+ | right: 0; | ||
+ | text-align: left; | ||
+ | top: 0; | ||
+ | width: auto; | ||
+ | z-index: auto; | ||
+ | } | ||
+ | |||
+ | |||
+ | /* Start content reset ================================================== */ | ||
+ | |||
+ | div#content { | ||
+ | background: transparent; | ||
+ | border: 0; | ||
+ | color: inherit; | ||
+ | line-height: inherit; | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | position: static; | ||
+ | width: auto; | ||
+ | z-index: auto; | ||
+ | } | ||
+ | |||
+ | body li { | ||
+ | margin: 0; | ||
+ | } | ||
+ | |||
+ | body h1, body h2, body h3, body h4, body h5, body h6 { | ||
+ | background: transparent; | ||
+ | border: 0; | ||
+ | color: inherit; | ||
+ | padding: 0; | ||
+ | } | ||
+ | |||
+ | body .firstHeading { | ||
+ | margin: 0; | ||
+ | } | ||
+ | |||
+ | div#contentSub { | ||
+ | color: inherit; | ||
+ | font-size: inherit; | ||
+ | line-height: inherit; | ||
+ | margin: 0; | ||
+ | width: auto; | ||
+ | } | ||
+ | |||
+ | div#catlinks { | ||
+ | background-color: transparent; | ||
+ | border: 0; | ||
+ | clear: both; | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | } | ||
+ | |||
+ | |||
+ | /* Start footer reset =================================================== */ | ||
+ | |||
+ | div#footer-box { | ||
+ | background-color: transparent; | ||
+ | border: 0; | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | width: auto; | ||
+ | } | ||
+ | |||
+ | div#footer { | ||
+ | color: inherit; | ||
+ | font-size: inherit; | ||
+ | text-align: left; | ||
+ | } | ||
+ | |||
+ | div#f-poweredbyico, div#f-copyrightico { | ||
+ | float: none; | ||
+ | } | ||
+ | |||
+ | div#footer li { | ||
+ | margin: 0; | ||
+ | display: list-item; | ||
+ | } | ||
</style> | </style> | ||
- | <html> | + | </head> |
+ | </html> |
Revision as of 22:06, 31 August 2014