Difference between revisions of "Template:KU Leuven/main/css"
(100 intermediate revisions by 2 users not shown) | |||
Line 7: | Line 7: | ||
/* 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 { | ||
Line 48: | Line 39: | ||
opacity:0.95; | opacity:0.95; | ||
background-color: #f3efe7; | background-color: #f3efe7; | ||
− | + | z-index:2; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
Line 70: | Line 51: | ||
width: 100%; | width: 100%; | ||
height:100%; | height:100%; | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
Line 90: | Line 66: | ||
display:block; | display:block; | ||
position:relative; | position:relative; | ||
− | left: | + | left:10px; |
width:100%; | width:100%; | ||
background-color: #f3efe7; | background-color: #f3efe7; | ||
Line 97: | Line 73: | ||
#scrolldown { | #scrolldown { | ||
position:relative; | position:relative; | ||
− | width: | + | height:40px; |
+ | width:40px; | ||
display:block; | display:block; | ||
− | |||
color: #FFFFFF; | color: #FFFFFF; | ||
− | z-index:1; | + | z-index:1; |
− | + | ||
− | + | ||
} | } | ||
Line 127: | Line 101: | ||
z-index:1; | z-index:1; | ||
position:relative; | position:relative; | ||
− | top:- | + | top:-20px; |
left: -4.5%; | left: -4.5%; | ||
display: inline-block; | display: inline-block; | ||
Line 146: | Line 120: | ||
opacity: 0.95; | opacity: 0.95; | ||
right:-10px; | right:-10px; | ||
− | top:- | + | top:-20px; |
bottom:0; | bottom:0; | ||
width:17%; | width:17%; | ||
Line 155: | Line 129: | ||
display:inline-block; | display:inline-block; | ||
position:relative; | position:relative; | ||
− | width: | + | width:15%; |
} | } | ||
Line 161: | Line 135: | ||
display:inline-block; | display:inline-block; | ||
position:relative; | position:relative; | ||
− | width: | + | width:15%; |
} | } | ||
Line 167: | Line 141: | ||
display:inline-block; | display:inline-block; | ||
position:relative; | position:relative; | ||
− | width: | + | width:15%; |
} | } | ||
Line 225: | Line 199: | ||
/* subsections references */ | /* subsections references */ | ||
/*********************/ | /*********************/ | ||
+ | |||
+ | .subtext { | ||
+ | position:relative; | ||
+ | margin: 5% 5px 5% 0; | ||
+ | } | ||
.subsectionwrapper { | .subsectionwrapper { | ||
− | display:table; | + | display:table; |
table-layout: fixed; | table-layout: fixed; | ||
− | width: | + | width:70%; |
margin:auto; | margin:auto; | ||
} | } | ||
− | + | .subtextrow { | |
display: table-row; | display: table-row; | ||
width:15%; | width:15%; | ||
Line 239: | Line 218: | ||
wrap-text: normal; | wrap-text: normal; | ||
color: #808080; | 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; | ||
} | } | ||
Line 248: | Line 253: | ||
.whitespace { | .whitespace { | ||
display: table-cell; | display: table-cell; | ||
+ | background-color: #f3efe7; | ||
width:5%; | width:5%; | ||
} | } | ||
+ | .subtext { | ||
+ | background-color: #ddd1b8; | ||
+ | border-radius: 20px 20px 0px 0px; | ||
+ | } | ||
+ | |||
+ | .subtext h2 { | ||
+ | font-size: 2.0em; | ||
+ | } | ||
.subtext p { | .subtext p { | ||
− | margin:5% | + | margin:5% 5% 5% 5%; |
+ | text-align: justify; | ||
+ | font-size: 1.0em; | ||
} | } | ||
Line 288: | Line 304: | ||
} | } | ||
− | .subtextrow, .subimgrow { | + | .subtextrow, .subimgrow, .subimgreadmore { |
display:none; | display:none; | ||
} | } | ||
+ | |||
.subimgrowm { | .subimgrowm { | ||
Line 297: | Line 314: | ||
wrap-text: normal; | wrap-text: normal; | ||
color: #808080; | color: #808080; | ||
+ | } | ||
+ | |||
+ | .subtextm a { | ||
+ | margin: 5%; | ||
} | } | ||
.subimg { | .subimg { | ||
display: table-cell; | display: table-cell; | ||
− | width: | + | width:50px; |
− | min-height: | + | min-height:50px; |
} | } | ||
− | . | + | .subtext { |
position:relative; | position:relative; | ||
display: table-cell; | display: table-cell; | ||
width:80%; | width:80%; | ||
vertical-align:middle; | vertical-align:middle; | ||
+ | background-color:transparent; | ||
} | } | ||
+ | |||
Line 321: | Line 344: | ||
.subtext a { | .subtext a { | ||
position:relative; | position:relative; | ||
− | margin: 5% 0; | + | margin: 5% 5px 5% 0; |
} | } | ||
− | . | + | |
+ | .subtextm a:hover { | ||
text-decoration:none; | text-decoration:none; | ||
} | } | ||
Line 330: | Line 354: | ||
} | } | ||
+ | |||
+ | #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