Team:St Andrews/Template:StAndrewsIgemStyle

From 2012.igem.org

(Difference between revisions)
Line 31: Line 31:
position: fixed;
position: fixed;
-
article {
+
artpst {
margin: 0 0 20px 20%;
margin: 0 0 20px 20%;
}
}
-
article header h2 {
+
artpst header h2 {
margin: 0 0 15px 0;
margin: 0 0 15px 0;
font-size: 20px;
font-size: 20px;
Line 40: Line 40:
line-height: 1.3;
line-height: 1.3;
}
}
-
article aside {
+
artpst aside {
float: left;
float: left;
width: 20%;
width: 20%;
Line 49: Line 49:
}
}
@media screen and (max-width: 700px) {
@media screen and (max-width: 700px) {
-
 
+
artpst aside {
-
artpst aside {
+
float: none;
float: none;
width: auto;
width: auto;

Revision as of 13:38, 6 June 2012

  1. contentSub {

display:none; }

  1. p-logo {

display:none; }

  1. siteSub {

display:none; }

  1. search-controls {

display:none; }

.firstHeading { display:none; }

/* Thanks DTU-Denmark 2011 for this! */ /* Removes "teams" from the menubar */

  1. menubar > ul > li:last-child {
   display: none;}

/* Resizes the menubar to fik the links (default is 400px) */

  1. menubar {
   width: auto;}

@media (max-width: 979px) .navbar-fixed-top, .navbar-fixed-bottom { position: fixed;

artpst { margin: 0 0 20px 20%; } artpst header h2 { margin: 0 0 15px 0; font-size: 20px; font-weight: normal; line-height: 1.3; } artpst aside { float: left; width: 20%; margin-left: -25%; font-size: 12px; line-height: 1.8; color: #999; } @media screen and (max-width: 700px) { artpst aside { float: none; width: auto; margin: 0 0 20px 0; line-height: 1.5; } } artpst p { margin: 0 0 20px 0; font-size: 14px; line-height: 1.5; color: #666; } artpst footer { font-size: 14px; color: #999; }