Difference between revisions of "Template:KU Leuven Test/css"
(40 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
− | |||
− | |||
<style> | <style> | ||
Line 24: | Line 22: | ||
border:0; | border:0; | ||
padding:0; | padding:0; | ||
− | + | margin:0; | |
− | + | width:100%; | |
} | } | ||
Line 62: | Line 60: | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
/*********************/ | /*********************/ | ||
Line 143: | Line 76: | ||
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 { | #scrolldown { | ||
position:relative; | position:relative; | ||
− | width: | + | width:10%; |
display:block; | display:block; | ||
− | height: | + | height:20%; |
color: #FFFFFF; | color: #FFFFFF; | ||
z-index:1; | z-index:1; | ||
Line 157: | Line 107: | ||
position:relative; | position:relative; | ||
height:100%; | height:100%; | ||
− | |||
} | } | ||
Line 163: | Line 112: | ||
position:relative; | position:relative; | ||
width:60%; | width:60%; | ||
− | + | bottom:-20%; | |
display:inline-block; | display:inline-block; | ||
z-index:1; | z-index:1; | ||
Line 176: | Line 125: | ||
z-index:1; | z-index:1; | ||
position:relative; | position:relative; | ||
− | + | bottom:0; | |
display: inline-block; | display: inline-block; | ||
width:15%; | width:15%; | ||
opacity: 0.95; | opacity: 0.95; | ||
+ | background-color: #f3efe7; | ||
} | } | ||
Line 193: | Line 143: | ||
opacity: 0.95; | opacity: 0.95; | ||
right:0; | right:0; | ||
− | + | bottom:0; | |
width:15%; | width:15%; | ||
+ | background-color: #f3efe7; | ||
} | } | ||
Line 208: | Line 159: | ||
display:inline-block; | display:inline-block; | ||
} | } | ||
+ | |||
/*********************/ | /*********************/ | ||
/* Summary */ | /* Summary */ | ||
Line 214: | Line 166: | ||
.summary { | .summary { | ||
position: relative; | position: relative; | ||
− | margin: | + | margin: 5% 20% 5% auto; |
border:0; | border:0; | ||
− | top: | + | top:0; |
padding:0; | padding:0; | ||
width:60%; | width:60%; | ||
Line 230: | Line 182: | ||
font-size: 3.0em; | font-size: 3.0em; | ||
font-weight: bold; | font-weight: bold; | ||
− | color: # | + | color: #4A4A4A; |
font-family: 'Handlee'; | font-family: 'Handlee'; | ||
text-align:center; | text-align:center; | ||
margin:5% 0; | margin:5% 0; | ||
bottom:5%; | bottom:5%; | ||
− | |||
− | |||
− | |||
− | |||
} | } | ||
Line 248: | Line 196: | ||
.subsectionwrapper { | .subsectionwrapper { | ||
display:table; | display:table; | ||
− | width: | + | table-layout: fixed; |
+ | width:90%; | ||
margin:auto; | margin:auto; | ||
} | } | ||
− | . | + | .subimgrow, .subtextrow { |
− | display: table- | + | display: table-row; |
− | width: | + | width:15%; |
vertical-align:top; | vertical-align:top; | ||
wrap-text: normal; | wrap-text: normal; | ||
color: #808080; | color: #808080; | ||
font-family: 'Handlee'; | font-family: 'Handlee'; | ||
+ | } | ||
+ | |||
+ | .whitespace { | ||
+ | display: table-cell; | ||
+ | width:20px; | ||
} | } | ||
.subimg, .subtext { | .subimg, .subtext { | ||
− | display: table- | + | display: table-cell; |
} | } | ||
Line 270: | Line 224: | ||
.readmorebutton { | .readmorebutton { | ||
− | display: table- | + | display: table-cell; |
text-align:left; | text-align:left; | ||
margin:5% 0%; | margin:5% 0%; | ||
Line 295: | Line 249: | ||
left:20%; | left:20%; | ||
bottom:14%; | bottom:14%; | ||
+ | } | ||
+ | |||
+ | #krd { | ||
+ | position:absolute; | ||
+ | width:30%; | ||
+ | display: inline; | ||
+ | left:45%; | ||
+ | top:0%; | ||
} | } | ||
Latest revision as of 08:57, 7 August 2015