Difference between revisions of "Template:Kent"
Jamesaston (Talk | contribs) |
|||
(74 intermediate revisions by 4 users not shown) | |||
Line 18: | Line 18: | ||
#globalWrapper, #content{ | #globalWrapper, #content{ | ||
background-color: transparent; | background-color: transparent; | ||
− | border: | + | border: 0px; |
float: left; | float: left; | ||
width: 100%; | width: 100%; | ||
margin-left:auto; | margin-left:auto; | ||
margin-right:auto; | margin-right:auto; | ||
− | padding-top: - | + | padding-top: -5px; |
} | } | ||
/*left align Black Menu Bar */ | /*left align Black Menu Bar */ | ||
#top_menu_inside { | #top_menu_inside { | ||
− | margin-left: | + | margin-left: 20px; |
} | } | ||
</style> | </style> | ||
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{ | ||
position:fixed; | position:fixed; | ||
− | top: | + | top:50px; |
left:0; | left:0; | ||
} | } | ||
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 126: | Line 147: | ||
overflow:auto; | overflow:auto; | ||
float:center; | float:center; | ||
− | margin-left: | + | margin-left: 50px; |
− | margin-right: | + | margin-right: 50px; |
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 */ | ||
#contentContainer { | #contentContainer { | ||
− | padding-top: | + | padding-top:5px; |
− | padding-right: | + | padding-right:0px; |
− | margin-bottom: | + | margin-bottom: 20px; |
width: 100%; | width: 100%; | ||
− | padding-left: | + | padding-left: 0px; |
float: left; | float: left; | ||
background-color: #fff; | background-color: #fff; | ||
− | border-top: | + | 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 { | ||
− | height: | + | height:200px; |
margin:auto; | margin:auto; | ||
text-align:center; | text-align:center; | ||
Line 153: | Line 179: | ||
/* Creates the container for the footer */ | /* Creates the container for the footer */ | ||
#footerContainer { | #footerContainer { | ||
− | padding-top: | + | padding-top: 20px; |
− | padding-right: | + | padding-right:10px; |
background-color: #000000; | background-color: #000000; | ||
− | margin-bottom: | + | margin-bottom: 20px; |
width: 100%; | width: 100%; | ||
− | padding-left: | + | padding-left: 20px; |
float: bottom; | float: bottom; | ||
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) */ | ||
/*Change the styling of text for everything inside main container*/ | /*Change the styling of text for everything inside main container*/ | ||
#mainContainer p { | #mainContainer p { | ||
− | font-size: | + | font-size: 15px; |
color: #000000; | color: #000000; | ||
} | } | ||
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: | + | margin-top:10px; |
+ | |||
} | } | ||
/*Style of the links - links are different inside the menu */ | /*Style of the links - links are different inside the menu */ | ||
Line 189: | Line 216: | ||
/*Change the styling of tables */ | /*Change the styling of tables */ | ||
#contentContainer table { | #contentContainer table { | ||
− | border: | + | border: 1px solid #565656; |
border-collapse: collapse; | border-collapse: collapse; | ||
width: 90% | width: 90% | ||
margin: auto; | margin: auto; | ||
− | margin-bottom: | + | margin-bottom: 15px; |
− | margin-top: | + | margin-top: 15px; |
margin-right: 0%; | margin-right: 0%; | ||
margin-left: 2.5%; | margin-left: 2.5%; | ||
Line 200: | Line 227: | ||
/*Change the styling of table cells*/ | /*Change the styling of table cells*/ | ||
#contentContainer td { | #contentContainer td { | ||
− | padding: | + | padding: 10px; |
border: 1px solid #565656; | border: 1px solid #565656; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
Line 208: | Line 235: | ||
#contentContainer th { | #contentContainer th { | ||
background-color: #FFF; | background-color: #FFF; | ||
− | padding: | + | padding: 10px; |
− | border: | + | border: 1px solid #565656; |
border-collapse: collapse; | border-collapse: collapse; | ||
vertical-align: text-top; | vertical-align: text-top; | ||
Line 217: | Line 244: | ||
.clear{ | .clear{ | ||
clear:both; | clear:both; | ||
− | height: | + | height: 10px; |
} | } | ||
/* highlight box for special messages */ | /* highlight box for special messages */ | ||
.highlightBox { | .highlightBox { | ||
− | width: | + | width:500px; |
margin:auto; | margin:auto; | ||
background-color: #E8E8E9; | background-color: #E8E8E9; | ||
− | margin-bottom: | + | margin-bottom: 15px; |
− | margin-top: | + | margin-top: 15px; |
− | padding: | + | padding: 15px; |
− | padding-top: | + | 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 241: | Line 349: | ||
background-attachment: scroll !important; | 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; | ||
+ | } | ||
} | } | ||
Latest revision as of 18:15, 18 September 2015