Difference between revisions of "Template:Kent"
Jamesaston (Talk | contribs) |
|||
(88 intermediate revisions by 4 users not shown) | |||
Line 50: | Line 50: | ||
height: 100%; /* For at least Firefox */ | height: 100%; /* For at least Firefox */ | ||
min-height: 90%; | min-height: 90%; | ||
− | background: url('https://static.igem.org/mediawiki/2015/8/ | + | background: url('https://static.igem.org/mediawiki/2015/8/8a/Team_Kent_banner18thsep.jpg') no-repeat center center fixed; |
-webkit-background-size: cover; | -webkit-background-size: cover; | ||
-moz-background-size: cover; | -moz-background-size: cover; | ||
-o-background-size: cover; | -o-background-size: cover; | ||
background-size: cover; | background-size: cover; | ||
+ | padding: 0px; | ||
+ | margin: 0px; | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
.site-wrapper-sub-1 { | .site-wrapper-sub-1 { | ||
Line 73: | Line 65: | ||
height: 100%; /* For at least Firefox */ | height: 100%; /* For at least Firefox */ | ||
min-height: 100%; | min-height: 100%; | ||
− | background: url('https://static.igem.org/mediawiki/2015/ | + | background: url('https://static.igem.org/mediawiki/2015/0/0d/Team_Kent_igem58.jpg') no-repeat center center fixed; |
-webkit-background-size: cover; | -webkit-background-size: cover; | ||
-moz-background-size: cover; | -moz-background-size: cover; | ||
-o-background-size: cover; | -o-background-size: cover; | ||
background-size: cover; | background-size: cover; | ||
+ | padding: 0px; | ||
+ | margin: 0px; | ||
+ | } | ||
+ | .site-wrapper-sub-2 { | ||
+ | display: table; | ||
+ | width: 100%; | ||
+ | height: 100%; /* For at least Firefox */ | ||
+ | min-height: 100%; | ||
+ | background: url('https://static.igem.org/mediawiki/2015/6/68/Team_Kent_igem50.jpg') no-repeat center center fixed; | ||
+ | -webkit-background-size: cover; | ||
+ | -moz-background-size: cover; | ||
+ | -o-background-size: cover; | ||
+ | background-size: cover; | ||
+ | padding: 0px; | ||
+ | margin: 0px; | ||
} | } | ||
− | |||
.site-wrapper-sub-team { | .site-wrapper-sub-team { | ||
Line 91: | Line 97: | ||
-o-background-size: cover; | -o-background-size: cover; | ||
background-size: cover; | background-size: cover; | ||
− | } | + | padding: 0px; |
+ | margin: 0px; | ||
+ | } | ||
+ | |||
+ | |||
Line 100: | Line 110: | ||
height: 6%; | height: 6%; | ||
} | } | ||
− | + | ||
+ | .notesideimage{ | ||
+ | width="20%" | ||
+ | } | ||
+ | |||
+ | |||
+ | a.anchor { | ||
+ | display: block; | ||
+ | position: relative; | ||
+ | top: -70px; | ||
+ | visibility: hidden; | ||
+ | } | ||
#float{ | #float{ | ||
Line 119: | Line 140: | ||
margin-bottom: auto; | margin-bottom: auto; | ||
background-color: #fff; | background-color: #fff; | ||
− | font-family: | + | font-family: Tahoma, Geneva, sans-serif; !important |
} | } | ||
#body{ | #body{ | ||
Line 130: | Line 151: | ||
margin-bottom: auto; | margin-bottom: auto; | ||
background-color: #fff; | background-color: #fff; | ||
− | font-family: | + | font-family: Tahoma, Geneva, sans-serif; !important |
} | } | ||
/* Creates the container for the content */ | /* Creates the container for the content */ | ||
Line 142: | Line 163: | ||
background-color: #fff; | background-color: #fff; | ||
border-top: 0px; | border-top: 0px; | ||
− | font-family: | + | font-family: Tahoma, Geneva, sans-serif; !important |
} | } | ||
+ | |||
+ | .modelbody { | ||
+ | background-color: #f4f4f4 | ||
+ | } | ||
+ | |||
/*Set up height place holder for the banner*/ | /*Set up height place holder for the banner*/ | ||
#bannerContainer { | #bannerContainer { | ||
Line 162: | Line 188: | ||
border-top: none; | border-top: none; | ||
− | font-family: | + | font-family: Tahoma, Geneva, sans-serif; !important |
} | } | ||
/*VISUAL STYLE (TABLES, FONTS, LINKS, IMAGES, UL) */ | /*VISUAL STYLE (TABLES, FONTS, LINKS, IMAGES, UL) */ | ||
Line 175: | Line 201: | ||
border-bottom: none; | border-bottom: none; | ||
font-weight: bold; | font-weight: bold; | ||
− | font-family: | + | font-family: Tahoma, Geneva, sans-serif; !important |
margin-top:10px; | margin-top:10px; | ||
+ | |||
} | } | ||
/*Style of the links - links are different inside the menu */ | /*Style of the links - links are different inside the menu */ | ||
Line 229: | Line 256: | ||
padding-top: 5px; | padding-top: 5px; | ||
} | } | ||
+ | |||
+ | .site-wrapper-text { | ||
+ | background-color: #F6F6F6; | ||
+ | border-color: #F6F6F6; | ||
+ | padding: 0px; | ||
+ | margin: 0px; | ||
+ | } | ||
+ | |||
+ | <!------.slider{ | ||
+ | position: relative; | ||
+ | width: 300px; | ||
+ | height: 300px; | ||
+ | margin: auto; | ||
+ | overflow: hidden; | ||
+ | z-index: 13; | ||
+ | } | ||
+ | .slider .slider_left{ | ||
+ | position: absolute; | ||
+ | background-color:black; | ||
+ | top: 0px; | ||
+ | left: 0px; | ||
+ | width: 50px; | ||
+ | height: 100%; | ||
+ | opacity: 0.5; | ||
+ | z-index: 2; | ||
+ | } | ||
+ | .slider .slider_left img{ | ||
+ | position: relative; | ||
+ | width: 100%; | ||
+ | height: 200px; | ||
+ | top: 25%; | ||
+ | left: 10px; | ||
+ | } | ||
+ | .slider .slider_right{ | ||
+ | position: absolute; | ||
+ | background-color:black; | ||
+ | top: 0px; | ||
+ | left: 300px; | ||
+ | width: 300px; | ||
+ | height: 100%; | ||
+ | opacity: 0.5; | ||
+ | z-index: 2; | ||
+ | } | ||
+ | .slider .slider_right img{ | ||
+ | position: relative; | ||
+ | width: 100%; | ||
+ | height: 200px; | ||
+ | top: 25%; | ||
+ | left: -10px; | ||
+ | } | ||
+ | .slider .slider_imgs{ | ||
+ | position: absolute; | ||
+ | } | ||
+ | .slider .slider_imgs div{ | ||
+ | float: left; | ||
+ | width: 300px; | ||
+ | height: 300px; | ||
+ | } | ||
+ | .slider .slider_imgs #slide1{ | ||
+ | float: left; | ||
+ | |||
+ | } | ||
+ | .slider .slider_imgs #slide2{ | ||
+ | float: left; | ||
+ | background-size: cover; | ||
+ | background-repeat: no-repeat; | ||
+ | background-position: 0% 50%; | ||
+ | } | ||
+ | .slider .slider_imgs #slide3{ | ||
+ | float: left; | ||
+ | } | ||
+ | .slider .slider_imgs #slide4{ | ||
+ | float: left; | ||
+ | } ------> | ||
+ | |||
+ | @media screen and (max-width: 1024px) { | ||
+ | .sidecontents{ | ||
+ | position:none; !important | ||
+ | } | ||
+ | } | ||
+ | |||
@media (max-width: 1200px){ | @media (max-width: 1200px){ | ||
Line 237: | Line 345: | ||
} | } | ||
+ | @media only screen and (min-width: 320px) and (max-width: 989px) { | ||
+ | .parallax { | ||
+ | background-attachment: scroll !important; | ||
+ | } | ||
+ | } | ||
+ | |||
+ | @media (max-width: 767px) { | ||
+ | .hidden-xs { | ||
+ | display: none !important; | ||
+ | } | ||
+ | } | ||
+ | @media (min-width: 768px) and (max-width: 991px) { | ||
+ | .hidden-sm { | ||
+ | display: none !important; | ||
+ | } | ||
+ | } | ||
+ | @media (min-width: 992px) and (max-width: 1199px) { | ||
+ | .hidden-md { | ||
+ | display: none !important; | ||
+ | } | ||
+ | } | ||
+ | @media (min-width: 1200px) { | ||
+ | .hidden-lg { | ||
+ | display: none !important; | ||
+ | } | ||
+ | } | ||
+ | |||
+ | @media screen and (max-width: 1024px) { | ||
+ | .site-wrapper { | ||
+ | background-size: cover !important; | ||
+ | } | ||
+ | } | ||
</style> | </style> | ||
<!-- End of CSS --> | <!-- End of CSS --> |
Latest revision as of 18:15, 18 September 2015