Difference between revisions of "Template:KU Leuven/main/css"
Line 1: | Line 1: | ||
<html> | <html> | ||
− | |||
− | |||
<style> | <style> | ||
− | |||
− | |||
/*********************/ | /*********************/ | ||
/* PAGES */ | /* PAGES */ | ||
Line 23: | Line 19: | ||
#headimg { | #headimg { | ||
− | position: relative | + | position:relative; |
− | + | ||
border:0; | border:0; | ||
− | |||
padding:0; | padding:0; | ||
width:100%; | width:100%; | ||
− | height: | + | height:530px; |
} | } | ||
− | |||
#summarywrapper { | #summarywrapper { | ||
Line 41: | Line 34: | ||
padding:0; | padding:0; | ||
width:100%; | width:100%; | ||
− | height: | + | height:auto; |
background-color: #f3efe7; | background-color: #f3efe7; | ||
overflow:hidden; | overflow:hidden; | ||
Line 48: | Line 41: | ||
.subsections { | .subsections { | ||
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 { | ||
Line 69: | Line 60: | ||
} | } | ||
+ | /*********************/ | ||
+ | /* Nav STYLING */ | ||
+ | /*********************/ | ||
+ | |||
+ | /* All the elements in the navigation bar are defined in this section */ | ||
+ | |||
+ | #top_menu_under, #top_menu_14 { | ||
+ | opacity:0.8; | ||
+ | } | ||
+ | |||
+ | h1.firstHeading { | ||
+ | display:none; | ||
+ | } | ||
+ | |||
+ | #logoiGEM { | ||
+ | position:absolute; | ||
+ | display:inline-block; | ||
+ | height:30px; | ||
+ | width:36px; | ||
+ | left:2.5%; | ||
+ | top:0px; | ||
+ | } | ||
+ | |||
+ | #logoiGEM a{ | ||
+ | position:absolute; | ||
+ | height:100%; | ||
+ | width:100%; | ||
+ | z-index:1; | ||
+ | } | ||
+ | |||
+ | #logoKUL { | ||
+ | position:absolute; | ||
+ | display:inline-block; | ||
+ | height:30px; | ||
+ | right:2.5%; | ||
+ | top:0px; | ||
+ | } | ||
+ | |||
+ | .nav-item { | ||
+ | position:relative; | ||
+ | display: inline-block; | ||
+ | height:100%; | ||
+ | background-color: transparent; | ||
+ | top:3px; | ||
+ | border-style: solid; | ||
+ | border: 0px solid transparent; | ||
+ | border-bottom: 5px solid transparent; | ||
+ | } | ||
+ | |||
+ | .nav-item a:link, a:visited { /* this is active when the link is visited or when it is active (i think ;) */ | ||
+ | display: block; | ||
+ | width: 120px; | ||
+ | font-weight: bold; | ||
+ | color: #8b7a57; | ||
+ | background-color: #ddd1b8; | ||
+ | text-align: center; | ||
+ | padding-bottom: 1%; | ||
+ | text-decoration: none; | ||
+ | text-transform: uppercase; | ||
+ | } | ||
+ | |||
+ | .nav-item:hover { /* this is active when your mouse moves is over the item */ | ||
+ | border-style: solid; | ||
+ | border-bottom: 5px solid #8b7a57; | ||
+ | } | ||
/*********************/ | /*********************/ | ||
Line 76: | Line 132: | ||
#topimg { | #topimg { | ||
position:fixed; | position:fixed; | ||
− | |||
− | |||
z-index: 0; | z-index: 0; | ||
width: 100%; | width: 100%; | ||
Line 89: | 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 101: | 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 149: | Line 209: | ||
/* Summary */ | /* Summary */ | ||
/********************/ | /********************/ | ||
− | + | ||
− | + | .summary { | |
− | position: | + | position: relative; |
− | top:0; | + | 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 { | #comingsoon { | ||
− | position: | + | position:relative; |
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:0; | + | margin:5% 0; |
bottom:5%; | 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%; | ||
+ | } | ||
+ | |||
+ | #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; | 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: | + | position:absolute; |
− | + | bottom:0; | |
− | + | left:0; | |
− | + | opacity: 0.5; | |
− | + | z-index:1; | |
+ | |||
} | } | ||
− | . | + | .sponsorsright { |
− | position: | + | position:absolute; |
− | + | height:60%; | |
− | width: | + | width:35%; |
− | + | display: inline; | |
+ | right:0; | ||
+ | bottom:0; | ||
} | } | ||
− | + | #medicine { | |
− | position: absolute; | + | position:absolute; |
− | width: | + | width:25%; |
− | + | display: inline; | |
+ | right:20%; | ||
+ | bottom:0; | ||
} | } | ||
− | + | #solvay { | |
− | position: absolute; | + | position:absolute; |
− | + | width:40%; | |
− | + | display: inline; | |
− | + | left:5%; | |
− | + | bottom:0; | |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | #fixer { | |
− | position: absolute; | + | position:absolute; |
− | + | height:30px; | |
− | + | width:100%; | |
− | + | bottom:-30px; | |
+ | background-color: #f3efe7; | ||
+ | opacity:0.95; | ||
} | } | ||
Revision as of 14:34, 20 July 2015