Difference between revisions of "Template:KU Leuven/team/members/css"
(278 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
− | |||
− | |||
<style> | <style> | ||
+ | |||
+ | .hidden { | ||
+ | display:none; | ||
+ | } | ||
/*********************/ | /*********************/ | ||
− | /* | + | /* PAGES */ |
− | /*********************/ | + | /********************/ |
+ | /* in this section the parts of the page are defined in space and background */ | ||
− | |||
− | + | #teamtable { | |
− | + | position: relative; | |
− | + | display: block; | |
− | + | width:100%; | |
− | + | text-align:center; | |
− | + | margin:0; | |
− | + | padding:5% 0; | |
+ | border:0; | ||
+ | background-color: #f3efe7; | ||
} | } | ||
+ | #teamtablem { | ||
+ | position: relative; | ||
+ | display: none; | ||
+ | width:100%; | ||
+ | text-align:center; | ||
+ | margin:0; | ||
+ | padding:5% 0; | ||
+ | border:0; | ||
+ | background-color: #f3efe7; | ||
+ | } | ||
− | + | .advisortableleft { | |
− | + | position: relative; | |
− | text-align: center; | + | 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; | |
− | + | display: table; | |
− | + | width:65%; | |
− | + | text-align:center; | |
− | + | margin: 2.5% 0 0 0; | |
− | + | left: 21.5%; | |
− | + | border:0; | |
− | + | ||
− | + | ||
− | width: | + | |
− | + | ||
− | + | ||
− | + | ||
− | margin: | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
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; | 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 { | |
− | + | position: relative; | |
− | + | display: table; | |
− | text- | + | 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; | |
− | + | display: table-cell; | |
− | position:relative; | + | vertical-align:top; |
− | display: | + | |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | |||
− | |||
− | |||
− | + | .space { | |
− | + | position: relative; | |
− | + | display:table-cell; | |
− | + | width:1.5%; | |
} | } | ||
− | + | .spacerow { | |
− | display: | + | position: relative; |
+ | display:block; | ||
+ | height:10px; | ||
} | } | ||
− | + | .startspace { | |
− | position: | + | position: relative; |
− | display: | + | display:table-cell; |
− | + | width:5%; | |
− | width: | + | |
− | + | ||
− | + | ||
} | } | ||
− | + | .endspace { | |
− | position: | + | position: relative; |
− | + | display:table-cell; | |
− | width: | + | width:3%; |
− | + | ||
} | } | ||
− | + | .middlespace { | |
− | position: | + | position: relative; |
− | display: | + | display:table-cell; |
− | + | width:2%; | |
− | + | ||
− | + | ||
} | } | ||
− | + | #jasper, #laetitia, #laura, #laurens { | |
− | position:relative; | + | position: relative; |
− | display: | + | display:block; |
− | + | width:50%; | |
− | + | top:5%; | |
− | top: | + | |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | #teamtablem #jasper, #teamtablem #laetitia, #teamtablem #laura, #teamtablem #laurens { | |
− | + | position: relative; | |
− | + | display: table-cell; | |
− | + | width:2.8%; | |
− | + | top:0%; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | . | + | .picture img { |
− | border- | + | border-radius: 50%; |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | + | .bigpicture { | |
position:relative; | position:relative; | ||
− | + | display: table-cell; | |
− | display: | + | width:17%; |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | .bigpicturem { | |
position:relative; | position:relative; | ||
− | + | display: table-cell; | |
− | + | width:10%; | |
} | } | ||
− | + | .bigpicture img { | |
− | + | border-radius: 50px 0% 0% 50px; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | .bigpicturem img { | |
− | + | border-radius: 50px 0% 0% 50px; | |
− | + | ||
} | } | ||
− | + | .info { | |
− | + | ||
position:relative; | position:relative; | ||
− | + | display:table-cell; | |
− | + | width:17%; | |
− | + | vertical-align:top; | |
− | + | padding:1%; | |
− | + | ||
} | } | ||
− | + | .infom{ | |
− | + | ||
position:relative; | position:relative; | ||
− | display: | + | 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:100%; | |
− | . | + | visibility:hidden; |
− | position: | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | width: | + | |
− | + | ||
− | + | ||
} | } | ||
− | + | .cartoon { | |
− | position: | + | 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%; | |
} | } | ||
− | . | + | .advisorleft img { |
− | + | border-radius: 50px 0% 0% 50px; | |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | . | + | .advisortableright .row { |
− | + | left:20%; | |
} | } | ||
− | . | + | .infoadvisor { |
− | + | position:relative; | |
+ | display:table-cell; | ||
+ | width:50%; | ||
+ | vertical-align:top; | ||
+ | padding:1%; | ||
} | } | ||
− | . | + | .infoadvisor p{ |
− | + | ||
text-align:left; | 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: | + | position: relative; |
− | width: | + | border:0; |
− | display: | + | top:0; |
− | + | left:0; | |
− | + | padding:10% 2% auto; | |
+ | margin:0; | ||
+ | width:100%; | ||
+ | z-index:2; | ||
+ | display: block; | ||
+ | background-color: #f3efe7; | ||
+ | box-shadow: 0px 0px 10px 10px #f3efe7; | ||
+ | height:auto; | ||
} | } | ||
− | + | .part { | |
− | position: | + | position:relative; |
− | height: | + | 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