Difference between revisions of "Template:KU Leuven/team/members/css"
(16 intermediate revisions by the same user not shown) | |||
Line 22: | Line 22: | ||
border:0; | border:0; | ||
background-color: #f3efe7; | background-color: #f3efe7; | ||
− | + | } | |
+ | |||
+ | #teamtablem { | ||
+ | position: relative; | ||
+ | display: none; | ||
+ | width:100%; | ||
+ | text-align:center; | ||
+ | margin:0; | ||
+ | padding:5% 0; | ||
+ | border:0; | ||
+ | background-color: #f3efe7; | ||
} | } | ||
Line 49: | Line 59: | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
/*********************/ | /*********************/ | ||
Line 111: | Line 68: | ||
display: table; | display: table; | ||
table-layout: fixed; | table-layout: fixed; | ||
− | width: | + | width:90%; |
text-align:center; | text-align:center; | ||
vertical-align: top; | vertical-align: top; | ||
+ | } | ||
+ | |||
+ | .fourthrow, .fifthrow, .sixthrow { | ||
+ | position: relative; | ||
+ | display: table; | ||
+ | table-layout: fixed; | ||
+ | width:90%; | ||
+ | left:5%; | ||
+ | text-align:center; | ||
+ | vertical-align: top; | ||
} | } | ||
Line 132: | Line 99: | ||
} | } | ||
− | .whiterow { | + | #teamtable .whiterow { |
position: relative; | position: relative; | ||
display: table; | display: table; | ||
Line 216: | Line 183: | ||
width:50%; | width:50%; | ||
top:5%; | top:5%; | ||
+ | } | ||
+ | |||
+ | #teamtablem #jasper, #teamtablem #laetitia, #teamtablem #laura, #teamtablem #laurens { | ||
+ | position: relative; | ||
+ | display: table-cell; | ||
+ | width:2.8%; | ||
+ | top:0%; | ||
} | } | ||
Line 227: | Line 201: | ||
display: table-cell; | display: table-cell; | ||
width:17%; | width:17%; | ||
+ | } | ||
+ | |||
+ | .bigpicturem { | ||
+ | position:relative; | ||
+ | display: table-cell; | ||
+ | width:10%; | ||
} | } | ||
.bigpicture img { | .bigpicture img { | ||
+ | border-radius: 50px 0% 0% 50px; | ||
+ | } | ||
+ | |||
+ | .bigpicturem img { | ||
border-radius: 50px 0% 0% 50px; | border-radius: 50px 0% 0% 50px; | ||
} | } | ||
Line 237: | Line 221: | ||
display:table-cell; | display:table-cell; | ||
width:17%; | width:17%; | ||
+ | vertical-align:top; | ||
+ | padding:1%; | ||
+ | } | ||
+ | |||
+ | .infom{ | ||
+ | position:relative; | ||
+ | display:table-cell; | ||
+ | width:33%; | ||
vertical-align:top; | vertical-align:top; | ||
padding:1%; | padding:1%; | ||
Line 246: | Line 238: | ||
.info img{ | .info img{ | ||
+ | position:absolute; | ||
+ | width:100%; | ||
+ | visibility:hidden; | ||
+ | } | ||
+ | |||
+ | .infom p{ | ||
+ | text-align:left; | ||
+ | } | ||
+ | |||
+ | .infom img{ | ||
position:absolute; | position:absolute; | ||
width:100%; | width:100%; | ||
Line 339: | Line 341: | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
@media screen and (max-width: 1000px) { | @media screen and (max-width: 1000px) { | ||
Line 403: | Line 356: | ||
.row { | .row { | ||
width:95%; | width:95%; | ||
+ | left:2.5%; | ||
} | } | ||
Line 410: | Line 364: | ||
.info { | .info { | ||
− | width: | + | width:55%; |
} | } | ||
− | + | #teamtable { | |
display:none; | display:none; | ||
} | } | ||
− | + | #teamtablem { | |
− | + | display:table; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
Latest revision as of 02:44, 18 September 2015