Team:St Andrews/Template:StAndrewsIgemStyle
From 2012.igem.org
(Menubar fixes from DTU-Denmark (again, after Alexejs' reset)) |
|||
Line 30: | Line 30: | ||
.navbar-fixed-top, .navbar-fixed-bottom { | .navbar-fixed-top, .navbar-fixed-bottom { | ||
position: fixed; | position: fixed; | ||
+ | |||
+ | article { | ||
+ | margin: 0 0 20px 20%; | ||
+ | } | ||
+ | article header h2 { | ||
+ | margin: 0 0 15px 0; | ||
+ | font-size: 20px; | ||
+ | font-weight: normal; | ||
+ | line-height: 1.3; | ||
+ | } | ||
+ | article aside { | ||
+ | float: left; | ||
+ | width: 20%; | ||
+ | margin-left: -25%; | ||
+ | font-size: 12px; | ||
+ | line-height: 1.8; | ||
+ | color: #999; | ||
+ | } | ||
+ | @media screen and (max-width: 700px) { | ||
+ | |||
+ | article aside { | ||
+ | float: none; | ||
+ | width: auto; | ||
+ | margin: 0 0 20px 0; | ||
+ | line-height: 1.5; | ||
+ | } | ||
+ | } | ||
+ | article p { | ||
+ | margin: 0 0 20px 0; | ||
+ | font-size: 14px; | ||
+ | line-height: 1.5; | ||
+ | color: #666; | ||
+ | } | ||
+ | article footer { | ||
+ | font-size: 14px; | ||
+ | color: #999; | ||
+ | } |
Revision as of 13:11, 6 June 2012
- contentSub {
display:none; }
- p-logo {
display:none; }
- siteSub {
display:none; }
- search-controls {
display:none; }
.firstHeading { display:none; }
/* Thanks DTU-Denmark 2011 for this! */ /* Removes "teams" from the menubar */
- menubar > ul > li:last-child {
display: none;}
/* Resizes the menubar to fik the links (default is 400px) */
- menubar {
width: auto;}
@media (max-width: 979px) .navbar-fixed-top, .navbar-fixed-bottom { position: fixed;
article { margin: 0 0 20px 20%; } article header h2 { margin: 0 0 15px 0; font-size: 20px; font-weight: normal; line-height: 1.3; } article aside { float: left; width: 20%; margin-left: -25%; font-size: 12px; line-height: 1.8; color: #999; } @media screen and (max-width: 700px) {
article aside { float: none; width: auto; margin: 0 0 20px 0; line-height: 1.5; } } article p { margin: 0 0 20px 0; font-size: 14px; line-height: 1.5; color: #666; } article footer { font-size: 14px; color: #999; }