Team:St Andrews/Template:StAndrewsIgemStyle

From 2012.igem.org

(Difference between revisions)
Line 1: Line 1:
-
ol.thumb-grid li {
+
ul.thumb-grid li {
float: left;
float: left;
width: 15%;
width: 15%;
margin: 0 5% 5% 0;
margin: 0 5% 5% 0;
}
}
-
ol.thumb-grid li:nth-child(5n) {
+
ul.thumb-grid li:nth-child(5n) {
margin-right: 0;
margin-right: 0;
}
}
-
ol.thumb-grid li a img {
+
ul.thumb-grid li a img {
width: 100%;
width: 100%;
}
}

Revision as of 13:58, 6 June 2012

ul.thumb-grid li { float: left; width: 15%; margin: 0 5% 5% 0; } 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;