Team:WHU-China/assets/main.css
From 2014.igem.org
(Difference between revisions)
Line 74: | Line 74: | ||
} | } | ||
#home { | #home { | ||
- | background-image: url( | + | background-image: url(https://static.igem.org/mediawiki/2014/d/d7/Canvas2.png); |
} | } | ||
#project { | #project { | ||
- | background-image: url( | + | background-image: url(https://static.igem.org/mediawiki/2014/9/91/Canvas1.png); |
} | } | ||
#results { | #results { | ||
- | background-image: url( | + | background-image: url(https://static.igem.org/mediawiki/2014/5/57/Canvas3.png); |
} | } | ||
#modeling { | #modeling { | ||
- | background-image: url( | + | background-image: url(https://static.igem.org/mediawiki/2014/1/12/Canvas4.png); |
} | } | ||
#achieve { | #achieve { | ||
- | background-image: url( | + | background-image: url(https://static.igem.org/mediawiki/2014/0/0f/Canvas5.png); |
} | } | ||
#practice { | #practice { | ||
- | background-image: url( | + | background-image: url(https://static.igem.org/mediawiki/2014/8/8e/Canvas6.png); |
} | } | ||
#team { | #team { | ||
- | background-image: url( | + | background-image: url(https://static.igem.org/mediawiki/2014/5/57/Canvas3.png); |
} | } | ||
#safety { | #safety { | ||
- | background-image: url( | + | background-image: url(https://static.igem.org/mediawiki/2014/1/12/Canvas4.png); |
} | } | ||
#notebook { | #notebook { | ||
- | background-image: url( | + | background-image: url(https://static.igem.org/mediawiki/2014/0/0f/Canvas5.png); |
} | } |
Revision as of 01:02, 18 October 2014
/* 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; }
.hidden { display: none; visibility: visible; } .no-exist { display: none; }
/* dirty default removed */ nav a { color: inherit !important; } ul, li { line-height: inherit !important; }
/* nav */ nav {
position: fixed; top: 0; left: 0; height: 100%; width: 14em; z-index: 1000; background: transparent; color: #f3f3f3; text-align: right; font-family: sans-serif; font-weight: 600;
}
nav ul {
list-style: none;
} nav>ul>li a {
display: block; height: 1em; padding: 0.5em;
}
nav>ul>ul {
padding: 0.2em 0.5em; font-size: 0.8em;
} nav>ul>ul>li a {
display: block; padding: 0.2em 0.5em;
}
nav li:hover {
color: #fff;
} nav li.current {
color: #fff;
}
/* main */ main>section {
position: relative; height: 100%; padding-left: 15em;
}
- home {
background-image: url();
}
- project {
background-image: url();
}
- results {
background-image: url();
}
- modeling {
background-image: url();
}
- achieve {
background-image: url();
}
- practice {
background-image: url();
}
- team {
background-image: url();
}
- safety {
background-image: url();
}
- notebook {
background-image: url();
}