Difference between revisions of "Template:KU Leuven/project/css"
Line 2: | Line 2: | ||
<style> | <style> | ||
− | |||
/*********************/ | /*********************/ | ||
/* PAGES */ | /* PAGES */ | ||
/********************/ | /********************/ | ||
− | |||
/* in this section the parts of the page are defined in space and background */ | /* in this section the parts of the page are defined in space and background */ | ||
Line 21: | Line 19: | ||
#headimg { | #headimg { | ||
− | position: relative | + | position:relative; |
− | + | ||
border:0; | border:0; | ||
− | |||
padding:0; | padding:0; | ||
width:100%; | width:100%; | ||
− | height: | + | height:530px; |
} | } | ||
Line 38: | Line 34: | ||
padding:0; | padding:0; | ||
width:100%; | width:100%; | ||
− | height: | + | height:auto; |
background-color: #f3efe7; | background-color: #f3efe7; | ||
overflow:hidden; | overflow:hidden; | ||
Line 46: | Line 42: | ||
position: relative; | position: relative; | ||
display: block; | display: block; | ||
− | + | padding:5%; | |
− | + | top:0; | |
− | + | width:90%; | |
− | width: | + | height:auto; |
− | height: | + | |
opacity:0.95; | opacity:0.95; | ||
− | background-color: #f3efe7; | + | background-color: #f3efe7; |
} | } | ||
− | |||
#footer { | #footer { | ||
+ | top:0; | ||
opacity:0.95; | opacity:0.95; | ||
position:relative; | position:relative; | ||
Line 64: | Line 59: | ||
background-color: #f3efe7; | background-color: #f3efe7; | ||
} | } | ||
− | |||
/*********************/ | /*********************/ | ||
Line 76: | Line 70: | ||
} | } | ||
− | + | h1.firstHeading { | |
− | + | display:none; | |
} | } | ||
Line 131: | Line 125: | ||
border-bottom: 5px solid #8b7a57; | border-bottom: 5px solid #8b7a57; | ||
} | } | ||
− | |||
/*********************/ | /*********************/ | ||
Line 139: | Line 132: | ||
#topimg { | #topimg { | ||
position:fixed; | position:fixed; | ||
− | |||
− | |||
z-index: 0; | z-index: 0; | ||
width: 100%; | width: 100%; | ||
height:100%; | height:100%; | ||
− | background: url(https://static.igem.org/mediawiki/2015/6/68/KULeuven2015Zebra_spots.png)no-repeat center center fixed; | + | background: url(https://static.igem.org/mediawiki/2015/6/68/KULeuven2015Zebra_spots.png) no-repeat center center fixed; |
-webkit-background-size: cover; | -webkit-background-size: cover; | ||
-moz-background-size: cover; | -moz-background-size: cover; | ||
Line 152: | Line 143: | ||
#scrolldown { | #scrolldown { | ||
− | position: | + | position:relative; |
− | + | width:10%; | |
− | + | display:block; | |
− | width: | + | height:20%; |
− | display: block; | + | |
− | height: | + | |
color: #FFFFFF; | color: #FFFFFF; | ||
z-index:1; | z-index:1; | ||
Line 164: | Line 153: | ||
#scrolldown img { | #scrolldown img { | ||
− | position: | + | position:relative; |
− | height: | + | height:100%; |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | # | + | #center { |
− | + | position:relative; | |
+ | width:60%; | ||
+ | top:530px; | ||
+ | display:inline-block; | ||
z-index:1; | z-index:1; | ||
− | + | } | |
− | + | ||
− | + | #pagetitle { | |
− | display: block; | + | display:block; |
− | + | ||
+ | } | ||
+ | |||
+ | #logoiGEMKUL { /*this is our logo*/ | ||
+ | z-index:1; | ||
+ | position:relative; | ||
+ | top:485px; | ||
+ | display: inline-block; | ||
+ | width:15%; | ||
opacity: 0.95; | opacity: 0.95; | ||
− | + | } | |
+ | |||
+ | #logoiGEMKUL img{ | ||
+ | width:80%; | ||
+ | left:10%; | ||
} | } | ||
#summarylogos { | #summarylogos { | ||
− | |||
z-index:1; | z-index:1; | ||
− | position: | + | position:relative; |
− | + | display:inline-block; | |
− | + | ||
− | display:inline-block; | + | |
− | + | ||
opacity: 0.95; | opacity: 0.95; | ||
− | + | right:0; | |
+ | top:540px; | ||
+ | width:15%; | ||
} | } | ||
Line 209: | Line 206: | ||
display:inline-block; | display:inline-block; | ||
} | } | ||
− | |||
− | |||
/*********************/ | /*********************/ | ||
/* Summary */ | /* Summary */ | ||
/********************/ | /********************/ | ||
+ | |||
+ | .summary { | ||
+ | position: relative; | ||
+ | margin: 200px 20% 5% auto; | ||
+ | border:0; | ||
+ | top:0; | ||
+ | padding:0; | ||
+ | width:60%; | ||
+ | display: block; | ||
+ | background-color: #f3efe7; | ||
+ | color: #808080; | ||
+ | font-family: 'Handlee'; | ||
+ | font-size:1.2em; | ||
+ | } | ||
− | # | + | #comingsoon { |
− | position: | + | position:relative; |
− | + | font-size: 3.0em; | |
− | + | font-weight: bold; | |
− | + | color: #4A4A4A; | |
− | text-align:center; | + | font-family: 'Handlee'; |
− | + | text-align:center; | |
+ | margin:5% 0; | ||
+ | bottom:5%; | ||
} | } | ||
− | + | p>a { | |
− | + | color: #FFFFFF; | |
− | + | ||
− | + | ||
} | } | ||
− | |||
+ | /*********************/ | ||
+ | /* subsections references */ | ||
+ | /*********************/ | ||
+ | |||
+ | .subsectionwrapper { | ||
+ | display:table; | ||
+ | width:70%; | ||
+ | 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: | + | position:absolute; |
− | + | width:30%; | |
− | + | display: inline; | |
− | + | left:20%; | |
− | + | bottom:14%; | |
− | + | ||
− | width: | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | #youreca { | |
− | position: | + | position:absolute; |
− | display: inline | + | width:30%; |
− | + | display: inline; | |
− | + | right:5%; | |
+ | bottom:15%; | ||
} | } | ||
− | + | #footercenter { | |
− | position: | + | position:absolute; |
− | display: inline | + | height:100%; |
− | + | display: inline; | |
− | + | left:35%; | |
+ | right:35%; | ||
+ | bottom:0; | ||
} | } | ||
− | + | ||
− | position: absolute; | + | #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%; | width:100%; | ||
− | height: | + | height:20%; |
+ | display: block; | ||
+ | left:0; | ||
+ | right:0; | ||
+ | bottom:-30px; | ||
} | } | ||
− | + | #footerimg img{ | |
− | position: absolute; | + | position:absolute; |
− | + | bottom:0; | |
− | + | left:0; | |
− | + | opacity: 0.5; | |
− | + | z-index:1; | |
− | + | ||
− | + | ||
} | } | ||
− | . | + | .sponsorsright { |
− | position: absolute; | + | 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> | </html> |
Revision as of 14:43, 20 July 2015