Team:WHU-China/assets/main.css
From 2014.igem.org
/* pre init */
- globalWrapper, #content, #bodyContent { margin: 0; padding: 0; width: 100%; border: 0; line-height: inherit; }
- content>a, #content>h1, #contentSub, #bodyContent>p, #bodyContent>h3, #bodyContent>div, #footer-box { display: none; }
- top-section { position: absolute; border: 0; height: 12px; font-size: 14px; z-index: 2000; }
- p-logo, #search-controls { display: none; }
- top-section .left-menu ul { display: none; }
- top-section:hover .left-menu ul { display: block; }
- top-section ul { margin: 0.3em 0px 0px 1.5em; }
- globalWrapper { font-size: inherit; }
/* init */
- { padding: 0; margin: 0; }
body { height: 100%; background: transparent; font-size: 16px; font-family: serif; line-height: 1.15em; } a, a:hover, a:active, a:link { color: inherit; text-decoration: none; } /* a[name] { position: absolute; top: -3em; } */
ul, li { padding: 0; margin: 0; line-height: inherit; } ul { list-style: none; }
/* general */ .hidden { display: none; visibility: visible; }
/* nav */ nav { position: fixed; top: 0; left: 0; height: 100%; width: 10em; } nav>ul { list-style: none; } nav>ul>li a { display: block; height: 1em; padding: 0.5em; }
nav { background: transparent; } nav>ul>li { color: #000; }
nav>ul>li:hover { background: #000; color: #fff; } nav>ul>li.current { background: #000; color: #fff; }
nav>ul>ul { padding: 0.2em 0; list-style: none; } nav>ul>ul>li { margin: 0 0.5em; padding: 0.2em 0; } nav>ul>ul>li:hover { background: #000; color: #fff; }
nav>ul>ul>li a { display: block; margin-left: 0.5em; padding-left: 0.5em; /*border-left: 3px solid #000;*/ } /*nav>ul>ul>li:hover a { border-left: 3px solid #fff; }*/
nav { text-align: left; }
nav { z-index: 1000; }
/* dirty default removed */ nav a { color: inherit !important; } ul, li { line-height: inherit !important; }
/* main */ /* main { margin-left: 13em; } */ main > section {padding-left: 12em; position: relative; }
section h1 { margin: 0 0 1em; }
section#home {
height: 100%;
}