Team:St Andrews/Template:StAndrewsIgemStyle

From 2012.igem.org

(Difference between revisions)
 
(24 intermediate revisions not shown)
Line 1: Line 1:
 +
@media all {
 +
 +
#footer {
 +
border-top: #E9E9E9;
 +
background-color: #E5E5E5;
 +
margin-top: 20px;
 +
padding-top: 20px;
 +
margin-bottom: 10px;
 +
-moz-box-shadow: inset 0 4px 14px #CDCDCD;
 +
-webkit-box-shadow: inset 0px 4px 14px #CDCDCD;
 +
box-shadow: inner 0 4 14px #CDCDCD;
 +
padding-right: 0px;
 +
padding-left: 0px;
 +
}
 +
}
 +
 +
@media (max-width: 767px) {
 +
#footer {
 +
padding-right: 0px;
 +
padding-left: 0px;
 +
}
 +
}
 +
 +
 +
ul.thumb-grid li {
 +
float: left;
 +
width: 15%;
 +
margin: 0 5% 5% 0;
 +
        list-style-type: none;
 +
}
 +
ul.thumb-grid li:nth-child(5n) {
 +
margin-right: 0;
 +
}
 +
ul.thumb-grid li a img {
 +
width: 100%;
 +
}
 +
#contentSub {
#contentSub {
display:none;
display:none;
Line 30: Line 67:
.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-post aside {
 
-
float: none;
 
-
width: auto;
 
-
margin: 0 0 20px 0;
 
-
line-height: 1.5;
 
-
}
 
-
}
 
-
article-post p {
 
-
margin: 0 0 20px 0;
 
-
font-size: 14px;
 
-
line-height: 1.5;
 
-
color: #666;
 
-
}
 
-
article-post footer {
 
-
font-size: 14px;
 
-
color: #999;
 
-
}
 

Latest revision as of 11:13, 8 June 2012

@media all {

  1. footer {

border-top: #E9E9E9; background-color: #E5E5E5; margin-top: 20px; padding-top: 20px; margin-bottom: 10px; -moz-box-shadow: inset 0 4px 14px #CDCDCD; -webkit-box-shadow: inset 0px 4px 14px #CDCDCD; box-shadow: inner 0 4 14px #CDCDCD; padding-right: 0px; padding-left: 0px; } }

@media (max-width: 767px) {

  1. footer {

padding-right: 0px; padding-left: 0px; } }


ul.thumb-grid li { float: left; width: 15%; margin: 0 5% 5% 0;

       list-style-type: none;

} ul.thumb-grid li:nth-child(5n) { margin-right: 0; } ul.thumb-grid li a img { width: 100%; }

  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;