Team:St Andrews/Template:StAndrewsIgemStyle

From 2012.igem.org

(Difference between revisions)
(Created.)
 
(29 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 19: Line 56:
}
}
-
#search-controls {
+
/* Thanks DTU-Denmark 2011 for this! */
-
margin-top:30px;
+
/* 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;

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;