Team:Calgary/Sandbox
From 2012.igem.org
(Difference between revisions)
Line 28: | Line 28: | ||
border: none; | border: none; | ||
} | } | ||
+ | /*IMPORTANT: used to stop iPhones from scrolling horizontally due to overflow*/ | ||
body, #globalWrapper, #content, #footer-box{ | body, #globalWrapper, #content, #footer-box{ | ||
overflow-x: hidden; | overflow-x: hidden; | ||
} | } | ||
- | /* | + | /*Base styles*/ |
- | + | ||
p{ | p{ | ||
font-family: Arial, sans-serif; | font-family: Arial, sans-serif; | ||
Line 43: | Line 43: | ||
font-family: Georgia; | font-family: Georgia; | ||
} | } | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
#content{ | #content{ | ||
margin-top: 10px; | margin-top: 10px; | ||
} | } | ||
+ | /*Smartphone-specific styles*/ | ||
+ | @media only screen and (-webkit-min-device-pixel-ratio: 1.5), | ||
+ | only screen and (-o-min-device-pixel-ratio: 3/2), | ||
+ | only screen and (min--moz-device-pixel-ratio: 1.5), | ||
+ | only screen and (min-device-pixel-ratio: 1.5), | ||
+ | only screen and (max-device-width: 480px){ | ||
+ | |||
+ | div#top-section, div#footer-box, div#footer, div#content, div#f-list, ul#f-list{ | ||
+ | width: 95%; | ||
+ | } | ||
+ | #footer li{ | ||
+ | display: block; | ||
+ | } | ||
+ | .left-menu li a, .right-menu a{ | ||
+ | font-size: 1em; | ||
+ | padding-bottom: 5px; | ||
+ | padding-top: 10px; | ||
+ | } | ||
+ | .right-menu{ | ||
+ | position: relative; | ||
+ | margin-top: 14px; | ||
+ | } | ||
+ | } | ||
/*Desktop styles*/ | /*Desktop styles*/ |
Revision as of 17:48, 19 June 2012
Header
This is not a paragraph.
This is a test for font-family. Watch "Jeopardy!", Alex Trebek's fun TV quiz game.