Team:UNITN-Trento/CSS/Main
From 2013.igem.org
Line 1: | Line 1: | ||
- | + | @import url(http://fonts.googleapis.com/css?family=PT+Sans); | |
- | + | ||
- | + | /*Hides WIKI default template*/ | |
- | + | html,body { | |
+ | padding: 0; | ||
+ | margin: 0; | ||
+ | overflow: auto; | ||
+ | background: none; | ||
} | } | ||
- | # | + | #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- | + | #tn-main-wrap-wrap { |
- | + | position: fixed; | |
- | + | top: 0; | |
- | padding: | + | left: 0; |
- | + | right: 0; | |
+ | bottom: 0; | ||
+ | padding: 0; | ||
+ | margin: 0; | ||
+ | z-index: 2; | ||
+ | overflow: auto; | ||
} | } | ||
- | + | #tn-main-wrap { | |
- | + | ||
- | + | ||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
+ | width: 100%; | ||
+ | min-width: 1280px; | ||
+ | font-size: 16px; | ||
+ | background-color: none; | ||
} | } | ||
- | + | #top-section { | |
- | width: | + | 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; | |
- | + | ||
- | + | ||
- | background | + | |
- | + | ||
} | } | ||
- | # | + | #menubar ul li { |
- | + | color: white !important; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | # | + | #menubar:hover { |
display: block; | display: block; | ||
- | + | position: absolute; | |
- | + | color: white; | |
- | color: | + | |
- | + | ||
- | + | ||
} | } | ||
- | # | + | #menubar:hover ul li { |
- | + | color: white; | |
} | } | ||
- | + | .right-menu li a, .left-menu li a { | |
- | + | background: none; | |
- | + | color: white !important; | |
- | + | text-decoration: none; | |
- | font- | + | font-variant: small-caps; |
- | + | opacity: 0.5; | |
} | } | ||
- | + | .right-menu li a:hover, .left-menu li a:hover { | |
- | + | ||
color: white; | color: white; | ||
+ | opacity: 1.0; | ||
+ | text-decoration: underline; | ||
} | } | ||
- | /* | + | .left-menu > ul > li[style='color:white;cursor:default'] { |
- | + | display: none !important; | |
- | display: block; | + | } |
- | + | ||
- | + | /*BOX CSS*/ | |
- | + | .tn-box { | |
- | + | display: inline-block; | |
- | + | text-align: justify; | |
- | + | border: 5px double; | |
- | + | padding: 0 1em; | |
- | + | margin: 0.5em auto; | |
- | + | font-size: 0.9em; | |
- | + | font-family: 'PT Sans', sans-serif; | |
- | + | } | |
- | + | ||
+ | .tn-box.box-w-1 { | ||
+ | width: 10%; | ||
+ | } | ||
+ | |||
+ | .tn-box.box-w-2 { | ||
+ | width: 20%; | ||
+ | } | ||
+ | |||
+ | .tn-box.box-w-3 { | ||
+ | width: 30%; | ||
+ | } | ||
+ | |||
+ | .tn-box.box-w-4 { | ||
+ | width: 40%; | ||
+ | } | ||
+ | |||
+ | .tn-box.box-w-5 { | ||
+ | width: 50%; | ||
+ | } | ||
+ | |||
+ | .tn-box.box-w-6 { | ||
+ | width: 60%; | ||
+ | } | ||
+ | |||
+ | .tn-box.box-w-7 { | ||
+ | width: 70%; | ||
+ | } | ||
+ | |||
+ | .tn-box.box-w-8 { | ||
+ | width: 80%; | ||
+ | } | ||
+ | |||
+ | .tn-box.box-w-9 { | ||
+ | width: 90%; | ||
+ | } | ||
+ | |||
+ | .tn-box.box-c-1 { | ||
+ | border-color: #bf1b39; | ||
} | } | ||
- | + | .tn-box.box-c-2 { | |
- | + | border-color: #038c7e; | |
- | + | ||
} | } |
Revision as of 09:22, 2 August 2013
@import url(http://fonts.googleapis.com/css?family=PT+Sans);
/*Hides WIKI default template*/ html,body { padding: 0; margin: 0; overflow: auto; background: none; }
- 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-wrap {
position: fixed; top: 0; left: 0; right: 0; bottom: 0; padding: 0; margin: 0; z-index: 2; overflow: auto; }
- tn-main-wrap {
margin: 0; padding: 0; width: 100%; min-width: 1280px; font-size: 16px; background-color: none; }
- 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: white !important; }
- menubar:hover {
display: block; position: absolute; color: white; }
- menubar:hover ul li {
color: white; }
.right-menu li a, .left-menu li a { background: none; color: white !important; text-decoration: none; font-variant: small-caps; opacity: 0.5; }
.right-menu li a:hover, .left-menu li a:hover { color: white; opacity: 1.0; text-decoration: underline; }
.left-menu > ul > li[style='color:white;cursor:default'] { display: none !important; }
/*BOX CSS*/ .tn-box { display: inline-block; text-align: justify; border: 5px double; padding: 0 1em; margin: 0.5em auto; font-size: 0.9em; font-family: 'PT Sans', sans-serif; }
.tn-box.box-w-1 { width: 10%; }
.tn-box.box-w-2 { width: 20%; }
.tn-box.box-w-3 { width: 30%; }
.tn-box.box-w-4 { width: 40%; }
.tn-box.box-w-5 { width: 50%; }
.tn-box.box-w-6 { width: 60%; }
.tn-box.box-w-7 { width: 70%; }
.tn-box.box-w-8 { width: 80%; }
.tn-box.box-w-9 { width: 90%; }
.tn-box.box-c-1 { border-color: #bf1b39; }
.tn-box.box-c-2 { border-color: #038c7e; }