Difference between revisions of "Template:KU Leuven/main/css"
(380 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
− | |||
− | |||
<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 */ | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
#headimg { | #headimg { | ||
− | position: relative | + | position:relative; |
− | + | ||
border:0; | border:0; | ||
− | |||
padding:0; | padding:0; | ||
− | + | margin:0; | |
− | + | width:100%; | |
} | } | ||
#summarywrapper { | #summarywrapper { | ||
+ | top:0; | ||
position: relative; | position: relative; | ||
border:0; | border:0; | ||
Line 121: | Line 25: | ||
padding:0; | padding:0; | ||
width:100%; | width:100%; | ||
− | height: | + | height:auto; |
background-color: #f3efe7; | background-color: #f3efe7; | ||
overflow:hidden; | overflow:hidden; | ||
Line 129: | Line 33: | ||
position: relative; | position: relative; | ||
display: block; | display: block; | ||
− | + | top:0; | |
− | + | width:90%; | |
− | + | height:auto; | |
− | + | padding:0% 5% 0% 5%; | |
− | + | ||
opacity:0.95; | opacity:0.95; | ||
− | background-color: #f3efe7; | + | background-color: #f3efe7; |
+ | z-index:2; | ||
} | } | ||
+ | /*********************/ | ||
+ | /* Head */ | ||
+ | /*********************/ | ||
− | # | + | #topimg { |
− | + | position:fixed; | |
+ | z-index: 0; | ||
+ | width: 100%; | ||
+ | height:100%; | ||
+ | |||
+ | } | ||
+ | |||
+ | #hiddenimg { | ||
position:relative; | position:relative; | ||
− | + | visibility:hidden; | |
− | + | ||
width:100%; | width:100%; | ||
− | + | top:0; | |
+ | left:0; | ||
+ | display:block; | ||
} | } | ||
− | + | #logowrapper { | |
− | + | display:block; | |
− | + | position:relative; | |
+ | left:10px; | ||
+ | width:100%; | ||
+ | background-color: #f3efe7; | ||
+ | } | ||
− | + | #scrolldown { | |
+ | position:relative; | ||
+ | height:40px; | ||
+ | width:40px; | ||
+ | display:block; | ||
+ | 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; | |
− | display: | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | # | + | #logoiGEMKUL { /*this is our logo*/ |
− | + | ||
− | + | ||
− | + | ||
z-index:1; | z-index:1; | ||
+ | position:relative; | ||
+ | top:-20px; | ||
+ | left: -4.5%; | ||
+ | display: inline-block; | ||
+ | width:15%; | ||
+ | opacity: 0.95; | ||
+ | background-color: #f3efe7; | ||
} | } | ||
− | # | + | #logoiGEMKUL img{ |
− | + | width:80%; | |
− | + | left:5%; | |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | #summarylogos { | |
+ | z-index:1; | ||
position:relative; | position:relative; | ||
− | display: inline-block; | + | display:inline-block; |
− | + | opacity: 0.95; | |
− | + | right:-10px; | |
− | top: | + | top:-20px; |
− | + | bottom:0; | |
− | + | width:17%; | |
− | + | background-color: #f3efe7; | |
} | } | ||
− | + | #summarylogofacebook { | |
− | display: block; | + | display:inline-block; |
− | + | position:relative; | |
− | + | width:15%; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | #summarylogotwitter { | |
− | + | display:inline-block; | |
− | + | position:relative; | |
+ | width:15%; | ||
} | } | ||
− | + | #summarylogomail { | |
− | + | display:inline-block; | |
− | + | position:relative; | |
− | + | width:15%; | |
− | + | ||
− | # | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | width: | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | |||
/*********************/ | /*********************/ | ||
/* Summary */ | /* Summary */ | ||
/********************/ | /********************/ | ||
− | + | ||
− | + | .summary { | |
− | + | position: relative; | |
− | position: | + | margin: 5% 20% 0% auto; |
− | margin: 0 auto; | + | border:0; |
top:0; | top:0; | ||
− | + | padding:0; | |
− | width: | + | width:60%; |
display: block; | display: block; | ||
− | + | background-color: #f3efe7; | |
− | color: # | + | color: #808080; |
+ | font-family: 'Handlee'; | ||
+ | font-size:1.2em; | ||
} | } | ||
− | + | #more1 { | |
− | # | + | display:inline-block; |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | #more2 { | |
− | + | display:inline-block; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | # | + | #more3 { |
− | + | display:inline-block; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | # | + | #more4 { |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
display:inline-block; | display:inline-block; | ||
− | |||
− | |||
} | } | ||
− | # | + | #more5 { |
display:inline-block; | display:inline-block; | ||
} | } | ||
− | # | + | #comingsoon { |
− | display:inline-block; | + | position:relative; |
+ | display:inline-block; | ||
+ | font-size: 3.0em; | ||
+ | font-weight: bold; | ||
+ | color: #4A4A4A; | ||
+ | background-color:#f3efe7; | ||
+ | font-family: 'Handlee'; | ||
+ | text-align:center; | ||
+ | padding:5% 0; | ||
+ | bottom:5%; | ||
+ | opacity:0.95; | ||
} | } | ||
− | + | /*********************/ | |
− | + | /* subsections references */ | |
− | + | /*********************/ | |
+ | |||
+ | .subtext { | ||
+ | position:relative; | ||
+ | margin: 5% 5px 5% 0; | ||
} | } | ||
− | . | + | .subsectionwrapper { |
− | + | display:table; | |
+ | table-layout: fixed; | ||
width:70%; | width:70%; | ||
− | + | margin:auto; | |
} | } | ||
− | |||
+ | .subtextrow { | ||
+ | display: table-row; | ||
+ | width:15%; | ||
+ | vertical-align:top; | ||
+ | wrap-text: normal; | ||
+ | color: #808080; | ||
+ | background: #ddd1b8; | ||
+ | border-radius: 30px 30px 0px 0px; | ||
} | } | ||
− | . | + | .subimgrowm { |
+ | display: table-row; | ||
+ | width:15%; | ||
+ | vertical-align:top; | ||
+ | wrap-text: normal; | ||
+ | color: #808080; | ||
+ | } | ||
+ | .subimgreadmore { | ||
+ | display: table-row; | ||
+ | width:15%; | ||
+ | vertical-align:top; | ||
+ | wrap-text: normal; | ||
+ | color: #808080; | ||
+ | background-color: #ddd1b8; | ||
} | } | ||
− | + | .subimgrow { | |
− | + | display: table-row; | |
− | + | width:15%; | |
+ | background: linear-gradient(#f3efe7,#ddd1b8); | ||
+ | wrap-text: normal; | ||
+ | } | ||
+ | |||
+ | .subimgrowm { | ||
+ | display:none; | ||
+ | } | ||
− | . | + | .whitespace { |
− | + | display: table-cell; | |
− | display: | + | background-color: #f3efe7; |
− | + | width:5%; | |
− | + | ||
− | + | ||
− | + | ||
− | width: | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | . | + | .subtext { |
− | + | background-color: #ddd1b8; | |
− | + | border-radius: 20px 20px 0px 0px; | |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | . | + | .subtext h2 { |
− | + | font-size: 2.0em; | |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | . | + | .subtext p { |
− | + | margin:5% 5% 5% 5%; | |
− | + | text-align: justify; | |
− | + | font-size: 1.0em; | |
} | } | ||
− | .subtext { | + | .subtext a:hover { |
− | + | text-decoration:none; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
.readmorebutton { | .readmorebutton { | ||
− | + | display: table-cell; | |
− | + | text-align:left; | |
− | + | margin:5% 0%; | |
} | } | ||
+ | @media screen and (max-width: 1000px) { | ||
+ | |||
+ | .summary { | ||
+ | margin: 5% 5% 0% auto; | ||
+ | border:0; | ||
+ | top:0; | ||
+ | padding:0; | ||
+ | width:90%; | ||
+ | } | ||
/*********************/ | /*********************/ | ||
− | /* | + | /* subsections references */ |
/*********************/ | /*********************/ | ||
− | . | + | .subsectionwrapper { |
− | + | display:table; | |
− | + | table-layout: fixed; | |
− | width: | + | width:100%; |
− | + | margin:auto; | |
− | + | ||
− | + | ||
} | } | ||
− | + | .subtextrow, .subimgrow, .subimgreadmore { | |
− | + | display:none; | |
− | + | ||
− | display: | + | |
− | + | ||
− | + | ||
} | } | ||
− | + | ||
− | + | .subimgrowm { | |
− | width: | + | display: table-row; |
− | + | width:15%; | |
− | + | wrap-text: normal; | |
− | + | color: #808080; | |
} | } | ||
− | + | .subtextm a { | |
− | + | margin: 5%; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | .subimg { | |
− | + | display: table-cell; | |
− | + | width:50px; | |
− | width: | + | min-height:50px; |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | .subtext { | |
− | position: | + | position:relative; |
− | + | display: table-cell; | |
− | display: | + | width:80%; |
− | + | vertical-align:middle; | |
− | + | background-color:transparent; | |
− | + | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | . | + | .whitespace { |
− | + | display: table-cell; | |
− | + | width:5%; | |
− | width: | + | |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | .subtext a { | |
− | position: | + | position:relative; |
− | + | margin: 5% 5px 5% 0; | |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | ||
− | + | .subtextm a:hover { | |
− | + | text-decoration:none; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | + | #eppendorf, #bioke, #kuleuven, #lrd, #youreca, #sigma, #egilab, #kolo, #thermofisher, #solvay, #medicine, #bioscenter, #imec, #genzyme, #gips, #regensys, #gimv, #machery, #vwr, .logosmall{ | |
− | + | opacity: 0.4; | |
− | + | ||
} | } | ||
− | + | #eppendorf:hover, #bioke:hover, #kuleuven:hover, #lrd:hover, #youreca:hover, #sigma:hover, #egilab:hover, #kolo:hover, #thermofisher:hover, #solvay:hover, #medicine:hover, #bioscenter:hover, #imec:hover, #genzyme:hover, #gips:hover, #regensys:hover, #gimv:hover, #machery:hover, #vwr:hover, .logosmall:hover { | |
− | + | opacity: 1; | |
} | } | ||
− | |||
− | |||
− | |||
− | |||
</style> | </style> | ||
</html> | </html> |
Latest revision as of 16:32, 10 September 2015