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