Difference between revisions of "Template:KU Leuven Test/css"
(786 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
<html> | <html> | ||
− | <style | + | |
+ | <style> | ||
+ | /*********************/ | ||
+ | /* PAGES */ | ||
+ | /********************/ | ||
+ | /* in this section the parts of the page are defined in space and background */ | ||
+ | |||
+ | .main-nav { | ||
+ | position:fixed; | ||
+ | width:100%; | ||
+ | height: 30px; | ||
+ | top: 17px; | ||
+ | left:0; | ||
+ | display: block; | ||
+ | background-color: #ddd1b8; | ||
+ | z-index: 5; | ||
+ | } | ||
+ | |||
+ | #headimg { | ||
+ | position:relative; | ||
+ | border:0; | ||
+ | padding:0; | ||
+ | margin:0; | ||
+ | width:100%; | ||
+ | } | ||
+ | |||
+ | #summarywrapper { | ||
+ | top:0; | ||
+ | position: relative; | ||
+ | border:0; | ||
+ | display: block; | ||
+ | opacity:0.95; | ||
+ | padding:0; | ||
+ | width:100%; | ||
+ | height:auto; | ||
+ | background-color: #f3efe7; | ||
+ | overflow:hidden; | ||
+ | } | ||
+ | |||
+ | .subsections { | ||
+ | position: relative; | ||
+ | display: block; | ||
+ | padding:5%; | ||
+ | top:0; | ||
+ | width:90%; | ||
+ | height:auto; | ||
+ | opacity:0.95; | ||
+ | background-color: #f3efe7; | ||
+ | } | ||
+ | |||
+ | #footer { | ||
+ | top:0; | ||
+ | opacity:0.95; | ||
+ | position:relative; | ||
+ | display: block; | ||
+ | height:240px; | ||
+ | width:100%; | ||
+ | background-color: #f3efe7; | ||
+ | } | ||
/*********************/ | /*********************/ | ||
− | /* | + | /* Head */ |
/*********************/ | /*********************/ | ||
− | + | #topimg { | |
− | position: fixed; | + | position:fixed; |
− | + | z-index: 0; | |
− | + | width: 100%; | |
− | + | height:100%; | |
− | + | background: url(https://static.igem.org/mediawiki/2015/6/68/KULeuven2015Zebra_spots.png) no-repeat center center fixed; | |
+ | -webkit-background-size: cover; | ||
+ | -moz-background-size: cover; | ||
+ | -o-background-size: cover; | ||
+ | background-size: cover; | ||
} | } | ||
− | + | #hiddenimg { | |
− | + | position:relative; | |
− | + | visibility:hidden; | |
− | + | width:100%; | |
− | + | top:0; | |
+ | left:0; | ||
+ | display:block; | ||
} | } | ||
− | + | #logowrapper { | |
− | + | display:block; | |
+ | position:relative; | ||
+ | left:0; | ||
+ | width:100%; | ||
+ | background-color: #f3efe7; | ||
+ | } | ||
+ | |||
+ | #scrolldown { | ||
+ | position:relative; | ||
+ | width:10%; | ||
+ | display:block; | ||
+ | height:20%; | ||
+ | color: #FFFFFF; | ||
+ | z-index:1; | ||
+ | |||
} | } | ||
− | . | + | #scrolldown img { |
+ | position:relative; | ||
+ | height:100%; | ||
+ | } | ||
+ | |||
+ | #center { | ||
+ | position:relative; | ||
+ | width:60%; | ||
+ | bottom:-20%; | ||
+ | display:inline-block; | ||
+ | z-index:1; | ||
+ | } | ||
+ | |||
+ | #pagetitle { | ||
+ | display:block; | ||
+ | |||
+ | } | ||
+ | |||
+ | #logoiGEMKUL { /*this is our logo*/ | ||
+ | z-index:1; | ||
+ | position:relative; | ||
+ | bottom:0; | ||
+ | display: inline-block; | ||
+ | width:15%; | ||
+ | opacity: 0.95; | ||
+ | background-color: #f3efe7; | ||
+ | } | ||
+ | |||
+ | #logoiGEMKUL img{ | ||
+ | width:80%; | ||
+ | left:10%; | ||
+ | } | ||
+ | |||
+ | #summarylogos { | ||
+ | z-index:1; | ||
+ | position:relative; | ||
+ | display:inline-block; | ||
+ | opacity: 0.95; | ||
+ | right:0; | ||
+ | bottom:0; | ||
+ | width:15%; | ||
+ | background-color: #f3efe7; | ||
+ | } | ||
+ | |||
+ | #summarylogofacebook { | ||
+ | display:inline-block; | ||
+ | } | ||
+ | |||
+ | #summarylogotwitter { | ||
+ | display:inline-block; | ||
+ | } | ||
+ | |||
+ | #summarylogomail { | ||
+ | display:inline-block; | ||
+ | } | ||
+ | |||
+ | /*********************/ | ||
+ | /* Summary */ | ||
+ | /********************/ | ||
+ | |||
+ | .summary { | ||
+ | position: relative; | ||
+ | margin: 5% 20% 5% auto; | ||
+ | border:0; | ||
+ | top:0; | ||
+ | padding:0; | ||
+ | width:60%; | ||
display: block; | display: block; | ||
− | + | background-color: #f3efe7; | |
+ | color: #808080; | ||
+ | font-family: 'Handlee'; | ||
+ | font-size:1.2em; | ||
+ | } | ||
+ | |||
+ | #comingsoon { | ||
+ | position:relative; | ||
+ | font-size: 3.0em; | ||
font-weight: bold; | font-weight: bold; | ||
− | color: # | + | color: #4A4A4A; |
− | + | font-family: 'Handlee'; | |
− | text-align: center; | + | text-align:center; |
− | + | margin:5% 0; | |
− | + | bottom:5%; | |
− | + | ||
} | } | ||
− | . | + | |
− | + | /*********************/ | |
+ | /* subsections references */ | ||
+ | /*********************/ | ||
+ | |||
+ | .subsectionwrapper { | ||
+ | display:table; | ||
+ | table-layout: fixed; | ||
+ | width:90%; | ||
+ | margin:auto; | ||
} | } | ||
+ | |||
+ | .subimgrow, .subtextrow { | ||
+ | display: table-row; | ||
+ | width:15%; | ||
+ | vertical-align:top; | ||
+ | wrap-text: normal; | ||
+ | color: #808080; | ||
+ | font-family: 'Handlee'; | ||
+ | } | ||
+ | |||
+ | .whitespace { | ||
+ | display: table-cell; | ||
+ | width:20px; | ||
+ | } | ||
+ | |||
+ | .subimg, .subtext { | ||
+ | display: table-cell; | ||
+ | } | ||
+ | |||
+ | .subtext p { | ||
+ | margin:5% 0%; | ||
+ | } | ||
+ | |||
+ | .readmorebutton { | ||
+ | display: table-cell; | ||
+ | text-align:left; | ||
+ | margin:5% 0%; | ||
+ | } | ||
+ | |||
+ | |||
+ | /*********************/ | ||
+ | /* Footer */ | ||
+ | /*********************/ | ||
+ | |||
+ | .sponsorsleft { | ||
+ | position:absolute; | ||
+ | height:60%; | ||
+ | width:35%; | ||
+ | display: inline; | ||
+ | left:0; | ||
+ | bottom:0; | ||
+ | } | ||
+ | |||
+ | #kuleuven { | ||
+ | position:absolute; | ||
+ | width:30%; | ||
+ | display: inline; | ||
+ | left:20%; | ||
+ | bottom:14%; | ||
+ | } | ||
+ | |||
+ | #krd { | ||
+ | position:absolute; | ||
+ | width:30%; | ||
+ | display: inline; | ||
+ | left:45%; | ||
+ | top:0%; | ||
+ | } | ||
+ | |||
+ | #youreca { | ||
+ | position:absolute; | ||
+ | width:30%; | ||
+ | display: inline; | ||
+ | right:5%; | ||
+ | bottom:15%; | ||
+ | } | ||
+ | |||
+ | #footercenter { | ||
+ | position:absolute; | ||
+ | height:100%; | ||
+ | display: inline; | ||
+ | left:35%; | ||
+ | right:35%; | ||
+ | bottom:0; | ||
+ | } | ||
+ | |||
+ | |||
+ | #bioscenter { | ||
+ | position:absolute; | ||
+ | width:50%; | ||
+ | display: block; | ||
+ | left:15%; | ||
+ | bottom:50%; | ||
+ | z-index:2; | ||
+ | } | ||
+ | |||
+ | #bioscenter img{ | ||
+ | position:absolute; | ||
+ | left:0; | ||
+ | bottom:0; | ||
+ | z-index:2; | ||
+ | } | ||
+ | |||
+ | #footerimg { | ||
+ | position:absolute; | ||
+ | width:100%; | ||
+ | height:20%; | ||
+ | display: block; | ||
+ | left:0; | ||
+ | right:0; | ||
+ | bottom:-30px; | ||
+ | } | ||
+ | |||
+ | #footerimg img{ | ||
+ | position:absolute; | ||
+ | bottom:0; | ||
+ | left:0; | ||
+ | opacity: 0.5; | ||
+ | z-index:1; | ||
+ | |||
+ | } | ||
+ | |||
+ | .sponsorsright { | ||
+ | position:absolute; | ||
+ | height:60%; | ||
+ | width:35%; | ||
+ | display: inline; | ||
+ | right:0; | ||
+ | bottom:0; | ||
+ | } | ||
+ | |||
+ | #medicine { | ||
+ | position:absolute; | ||
+ | width:25%; | ||
+ | display: inline; | ||
+ | right:20%; | ||
+ | bottom:0; | ||
+ | } | ||
+ | |||
+ | #solvay { | ||
+ | position:absolute; | ||
+ | width:40%; | ||
+ | display: inline; | ||
+ | left:5%; | ||
+ | bottom:0; | ||
+ | } | ||
+ | |||
+ | #fixer { | ||
+ | position:absolute; | ||
+ | height:30px; | ||
+ | width:100%; | ||
+ | bottom:-30px; | ||
+ | background-color: #f3efe7; | ||
+ | opacity:0.95; | ||
+ | } | ||
+ | |||
</style> | </style> | ||
− | + | </html> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + |
Latest revision as of 08:57, 7 August 2015