Team:St Andrews/Template:StAndrewsIgemStyle

From 2012.igem.org

(Difference between revisions)
 
(10 intermediate revisions not shown)
Line 1: Line 1:
-
footer {
+
@media all {
 +
 
 +
#footer {
 +
border-top: #E9E9E9;
 +
background-color: #E5E5E5;
margin-top: 20px;
margin-top: 20px;
-
margin-bottom:20px;
+
padding-top: 20px;
-
background-color: #2C2C2C;
+
margin-bottom: 10px;
-
color: #EEE;
+
-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 {
ul.thumb-grid li {
float: left;
float: left;

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;