Team:St Andrews/Template:StAndrewsIgemStyle
From 2012.igem.org
(28 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: | ||
} | } | ||
- | # | + | /* Thanks DTU-Denmark 2011 for this! */ |
- | + | /* 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) | @media (max-width: 979px) | ||
.navbar-fixed-top, .navbar-fixed-bottom { | .navbar-fixed-top, .navbar-fixed-bottom { | ||
position: fixed; | position: fixed; |
Latest revision as of 11:13, 8 June 2012
@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 {
display:none; }
- p-logo {
display:none; }
- siteSub {
display:none; }
- search-controls {
display:none; }
.firstHeading { display:none; }
/* Thanks DTU-Denmark 2011 for this! */ /* 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;