Template:Team:CBNU-Korea/css
From 2012.igem.org
(Difference between revisions)
Line 8: | Line 8: | ||
- | + | @media all and (-webkit-min-device-pixel-ratio:1.5) { | |
- | + | ||
- | + | ||
- | @media all and ( | + | |
body{ | body{ | ||
Line 79: | Line 76: | ||
right: 0; | right: 0; | ||
text-align: center; | text-align: center; | ||
+ | } | ||
+ | |||
+ | .right-menu:hover { | ||
+ | background-color: transparent; | ||
+ | } | ||
+ | |||
+ | .right-menu:hover a { | ||
+ | color: black; | ||
+ | text-decoration: none !important; | ||
+ | } | ||
+ | |||
+ | .right-menu li a { | ||
+ | background-color: transparent; | ||
+ | color: black; | ||
+ | padding: 0 15px 0 0; | ||
+ | } | ||
+ | |||
+ | .right-menu li a:hover { | ||
+ | color: black; | ||
+ | text-decoration: underline; | ||
+ | } | ||
+ | |||
+ | |||
+ | #js_con { | ||
+ | color: black; | ||
+ | } | ||
+ | |||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | @media all and (max-width:1024px) { | ||
+ | |||
+ | body{ | ||
+ | font-family: 'Droid Sans', sans-serif; | ||
+ | } | ||
+ | |||
+ | #p-logo { | ||
+ | height: 107px; | ||
+ | position: absolute; | ||
+ | width: 975px; | ||
+ | z-index: 1; | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | #search-controls { | ||
+ | background-color: transparent; | ||
+ | height: 40px; | ||
+ | position: absolute; | ||
+ | right: 15px; | ||
+ | text-align: center; | ||
+ | top: 20px; | ||
+ | width: 150px; | ||
+ | z-index: 3; | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | #top-section { | ||
+ | height: 30px; | ||
+ | width: 100%; | ||
+ | font-size: 100%; | ||
+ | background: none repeat scroll 0 0 #FBFBFB; | ||
+ | border-bottom: 1px solid #DFDFDF; | ||
+ | border-left: medium none; | ||
+ | border-right: medium none; | ||
+ | |||
+ | } | ||
+ | |||
+ | #menubar { | ||
+ | top: 2px; | ||
+ | font-family: 'Droid Sans', sans-serif; | ||
+ | } | ||
+ | |||
+ | .left-menu, .left-menu a { | ||
+ | color: black; | ||
+ | left: 0; | ||
+ | text-align: left; | ||
+ | text-transform: capitalize; | ||
+ | } | ||
+ | |||
+ | .left-menu:hover { | ||
+ | background-color: transparent; | ||
+ | } | ||
+ | |||
+ | .left-menu:hover a { | ||
+ | color: black; | ||
+ | text-decoration: none !important; | ||
+ | } | ||
+ | |||
+ | .right-menu li a { | ||
+ | background-color: transparent; | ||
+ | } | ||
+ | |||
+ | .right-menu, .right-menu a { | ||
+ | color: black; | ||
+ | right: 0; | ||
+ | text-align: right; | ||
} | } | ||
Revision as of 05:57, 6 July 2012