Difference between revisions of "Template:KU Leuven/team/members/css"
(269 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
− | |||
− | |||
<style> | <style> | ||
+ | |||
+ | .hidden { | ||
+ | display:none; | ||
+ | } | ||
+ | |||
/*********************/ | /*********************/ | ||
/* PAGES */ | /* PAGES */ | ||
Line 9: | Line 12: | ||
/* 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 */ | ||
− | + | ||
− | position: | + | #teamtable { |
− | + | position: relative; | |
− | + | ||
− | + | ||
− | + | ||
display: block; | display: block; | ||
− | + | width:100%; | |
− | + | text-align:center; | |
+ | margin:0; | ||
+ | padding:5% 0; | ||
+ | border:0; | ||
+ | background-color: #f3efe7; | ||
} | } | ||
− | # | + | #teamtablem { |
− | position:relative; | + | position: relative; |
+ | display: none; | ||
+ | width:100%; | ||
+ | text-align:center; | ||
+ | margin:0; | ||
+ | padding:5% 0; | ||
border:0; | border:0; | ||
− | + | background-color: #f3efe7; | |
− | + | ||
− | + | ||
} | } | ||
+ | .advisortableleft { | ||
+ | position: relative; | ||
+ | display: table; | ||
+ | width:65%; | ||
+ | text-align:center; | ||
+ | margin: 2.5% 0 0 0; | ||
+ | left: 15.5%; | ||
+ | border:0; | ||
+ | background-color: #f3efe7; | ||
+ | box-shadow: 0px 0px 10px 10px #f3efe7; | ||
+ | } | ||
− | + | .advisortableright { | |
− | + | ||
− | + | ||
position: relative; | position: relative; | ||
+ | display: table; | ||
+ | width:65%; | ||
+ | text-align:center; | ||
+ | margin: 2.5% 0 0 0; | ||
+ | left: 21.5%; | ||
border:0; | border:0; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
background-color: #f3efe7; | background-color: #f3efe7; | ||
− | + | box-shadow: 0px 0px 10px 10px #f3efe7; | |
} | } | ||
− | . | + | |
+ | /*********************/ | ||
+ | /* Members */ | ||
+ | /********************/ | ||
+ | |||
+ | .row { | ||
position: relative; | position: relative; | ||
− | display: | + | display: table; |
− | + | table-layout: fixed; | |
− | + | ||
width:90%; | width:90%; | ||
− | + | text-align:center; | |
− | + | vertical-align: top; | |
− | + | ||
} | } | ||
− | + | .fourthrow, .fifthrow, .sixthrow { | |
− | + | position: relative; | |
− | + | display: table; | |
− | + | table-layout: fixed; | |
− | + | width:90%; | |
− | + | left:5%; | |
− | + | text-align:center; | |
− | + | vertical-align: top; | |
} | } | ||
− | + | .general { | |
− | + | display:table-cell; | |
− | + | width:51%; | |
+ | } | ||
− | + | .general img { | |
+ | width:100%; | ||
+ | border-radius: 50px 50px 50px 50px; | ||
+ | } | ||
− | + | .bigpicture { | |
− | + | position:relative; | |
+ | display: table-cell; | ||
+ | width:51%; | ||
} | } | ||
− | + | #teamtable .whiterow { | |
− | display: | + | position: relative; |
+ | display: table; | ||
+ | width:80%; | ||
+ | height:10px; | ||
+ | text-align:center; | ||
+ | vertical-align: top; | ||
} | } | ||
− | + | .picture { | |
− | position: | + | position: relative; |
− | display: | + | display: table-cell; |
− | + | width:2.8%; | |
− | width | + | |
− | + | ||
− | + | ||
} | } | ||
− | + | .picture:hover { | |
− | + | cursor: pointer; | |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | text p { | |
− | + | text-align:center; | |
− | + | margin:0; | |
− | + | padding:0; | |
− | + | font-variant: small-caps; | |
− | + | ||
} | } | ||
− | + | name { | |
− | + | font-weight:bold; | |
− | + | font-size:1.8em; | |
− | + | font-variant: small-caps; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | function { | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | #leftrow { | |
− | + | position: relative; | |
− | + | display: table-cell; | |
+ | vertical-align:top; | ||
} | } | ||
− | + | #rightrow { | |
− | + | position: relative; | |
− | + | display: table-cell; | |
+ | vertical-align:top; | ||
+ | } | ||
− | + | ||
− | position: | + | .space { |
− | + | position: relative; | |
− | width: | + | display:table-cell; |
− | + | width:1.5%; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | .spacerow { | |
− | position:relative | + | position: relative; |
− | + | ||
display:block; | display:block; | ||
− | height: | + | height:10px; |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | .startspace { | |
− | position:relative; | + | position: relative; |
− | + | display:table-cell; | |
+ | width:5%; | ||
+ | } | ||
+ | .endspace { | ||
+ | position: relative; | ||
+ | display:table-cell; | ||
+ | width:3%; | ||
} | } | ||
− | + | .middlespace { | |
− | position:relative | + | position: relative; |
− | + | display:table-cell; | |
− | + | width:2%; | |
− | display: | + | |
− | + | ||
} | } | ||
− | # | + | #jasper, #laetitia, #laura, #laurens { |
+ | position: relative; | ||
display:block; | display:block; | ||
+ | width:50%; | ||
+ | top:5%; | ||
+ | } | ||
+ | #teamtablem #jasper, #teamtablem #laetitia, #teamtablem #laura, #teamtablem #laurens { | ||
+ | position: relative; | ||
+ | display: table-cell; | ||
+ | width:2.8%; | ||
+ | top:0%; | ||
} | } | ||
− | + | .picture img { | |
− | + | border-radius: 50%; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | .bigpicture { | |
− | + | position:relative; | |
− | + | display: table-cell; | |
+ | width:17%; | ||
} | } | ||
− | + | .bigpicturem { | |
− | + | ||
position:relative; | position:relative; | ||
− | display: | + | display: table-cell; |
− | + | width:10%; | |
− | + | ||
− | + | ||
− | width: | + | |
} | } | ||
− | + | .bigpicture img { | |
− | + | border-radius: 50px 0% 0% 50px; | |
} | } | ||
− | + | .bigpicturem img { | |
− | + | border-radius: 50px 0% 0% 50px; | |
} | } | ||
− | + | .info { | |
− | + | position:relative; | |
− | + | display:table-cell; | |
− | + | width:17%; | |
− | + | vertical-align:top; | |
− | + | padding:1%; | |
− | + | ||
− | . | + | |
− | position: relative; | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | width: | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | .infom{ | |
position:relative; | position:relative; | ||
− | + | display:table-cell; | |
− | + | width:33%; | |
− | + | vertical-align:top; | |
− | + | padding:1%; | |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
+ | .info p{ | ||
+ | text-align:left; | ||
+ | } | ||
− | + | .info img{ | |
− | + | position:absolute; | |
− | + | width:100%; | |
+ | visibility:hidden; | ||
+ | } | ||
− | . | + | .infom p{ |
− | + | text-align:left; | |
− | + | ||
− | + | ||
} | } | ||
− | . | + | .infom img{ |
− | + | position:absolute; | |
− | width: | + | width:100%; |
− | + | visibility:hidden; | |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | . | + | .cartoon { |
− | display: table- | + | position:relative; |
+ | display:table-cell; | ||
+ | width:17%; | ||
+ | vertical-align:top; | ||
+ | padding:1%; | ||
} | } | ||
− | . | + | .cartoon p { |
− | + | text-align:justify; | |
} | } | ||
− | . | + | .cartoon img { |
− | + | border-radius: 0% 20px 20px 0%; | |
− | + | ||
− | + | ||
} | } | ||
− | |||
/*********************/ | /*********************/ | ||
− | /* | + | /* Mentors and Advisors */ |
/*********************/ | /*********************/ | ||
− | . | + | .advisorleft { |
− | position: | + | position:relative; |
− | + | display: table-cell; | |
− | width: | + | width:25%; |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | .advisorleft img { | |
− | + | border-radius: 50px 0% 0% 50px; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | .advisortableright .row { | |
− | + | left:20%; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | .infoadvisor { | |
− | position: | + | position:relative; |
− | + | display:table-cell; | |
− | display: | + | width:50%; |
− | + | vertical-align:top; | |
− | + | padding:1%; | |
− | + | ||
} | } | ||
+ | .infoadvisor p{ | ||
+ | text-align:left; | ||
+ | } | ||
− | + | .spaceadv { | |
− | position: | + | position: relative; |
− | + | display:table-cell; | |
− | display: | + | width:2.5%; |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | .advisorright { | |
− | position: | + | position:relative; |
− | + | display:table-cell; | |
− | + | width:25%; | |
− | + | ||
} | } | ||
− | + | .advisorright img { | |
− | position: | + | border-radius: 0% 20px 20px 0%; |
+ | } | ||
+ | |||
+ | .summarytext1, .summarytext2, .summarytext3 { | ||
+ | position: relative; | ||
+ | border:0; | ||
+ | top:0; | ||
+ | left:0; | ||
+ | padding:10% 2% auto; | ||
+ | margin:0; | ||
width:100%; | width:100%; | ||
− | + | z-index:2; | |
display: block; | display: block; | ||
− | + | background-color: #f3efe7; | |
− | + | box-shadow: 0px 0px 10px 10px #f3efe7; | |
− | + | height:auto; | |
} | } | ||
− | + | .part { | |
− | position: | + | position:relative; |
− | + | height:90%; | |
− | + | width:65%; | |
− | + | padding:5% 0%; | |
− | + | left:17.5%; | |
+ | top:20px; | ||
+ | align:center; | ||
+ | } | ||
+ | |||
+ | @media screen and (max-width: 1000px) { | ||
+ | .part { | ||
+ | width:95%; | ||
+ | left:2.5%; | ||
} | } | ||
− | . | + | .advisortableright, .advisortableleft{ |
− | + | width:95%; | |
− | + | left:2.5%; | |
− | + | margin: 5% 0 0 0; | |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | .row { | |
− | + | width:95%; | |
− | + | left:2.5%; | |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | .advisortableright .row { | |
− | + | left:5%; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | .info { | |
− | + | width:55%; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
+ | #teamtable { | ||
+ | display:none; | ||
+ | } | ||
+ | |||
+ | #teamtablem { | ||
+ | display:table; | ||
+ | } | ||
+ | |||
+ | } | ||
</style> | </style> | ||
</html> | </html> |
Latest revision as of 02:44, 18 September 2015