Team:UNITN-Trento/CSS/Main
From 2013.igem.org
(Difference between revisions)
Line 44: | Line 44: | ||
#menubar:hover ul li { | #menubar:hover ul li { | ||
color: white; | color: white; | ||
+ | } | ||
+ | |||
+ | #menubar.right-menu ul li a { | ||
+ | background: none; | ||
+ | color: transparent; | ||
+ | text-decoration: none; | ||
+ | } | ||
+ | |||
+ | #menubar.right-menu:hover ul li a { | ||
+ | color: white; | ||
+ | } | ||
+ | |||
+ | #menubar.right-menu ul li a:hover { | ||
+ | text-decoration: underline; | ||
} | } |
Revision as of 20:05, 8 July 2013
/*Hides WIKI default template*/ html,body { padding: 0; margin: 0; }
- contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo, #mw-panel, #mw-head, #footer, #mw-page-base, #mw-head-base { display: none;}
- content {display: none;}
- tn-main-wrap, body {
position: fixed; top: 0; left: 0; right: 0; bottom: 0; overflow: auto; padding: 0; margin: 0;
font-size: 16px; background: none; z-index: 2; }
- top-section {
position: fixed; top: 0px; left: 0px; right: 0px; bottom: 0px; height: 100%; width: 100%; margin: 0; padding: 0; border: none; background: white; z-index: 1; display: none; }
/*To hide button for debug mode*/ .tn-hidden {display: none;}
/*Top menus (left/right)*/
- menubar {
background: none !important; }
- menubar ul li {
color: transparent !important; }
- menubar:hover {
display: block; position: absolute; color: white; }
- menubar:hover ul li {
color: white; }
- menubar.right-menu ul li a {
background: none; color: transparent; text-decoration: none; }
- menubar.right-menu:hover ul li a {
color: white; }
- menubar.right-menu ul li a:hover {
text-decoration: underline; }