Difference between revisions of "Template:ETH Zurich/template.css"
(42 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | <html> | ||
+ | <style> | ||
/* TAGS */ | /* TAGS */ | ||
html { | html { | ||
Line 7: | Line 9: | ||
zoom:1; | zoom:1; | ||
width:100%; | width:100%; | ||
− | |||
background: #383838; | background: #383838; | ||
} | } | ||
Line 65: | Line 66: | ||
float:left; | float:left; | ||
display:table-cell; | display:table-cell; | ||
− | height:100%; | + | position:absolute; |
− | + | top:103px; | |
− | + | bottom:0px; | |
+ | /* height:100%;*/ | ||
+ | /* position:relative;*/ | ||
+ | /* overflow:auto;*/ | ||
} | } | ||
Line 76: | Line 80: | ||
border: 1px solid black; | border: 1px solid black; | ||
border-radius: 4px; | border-radius: 4px; | ||
− | |||
width: 77%; | width: 77%; | ||
+ | position:absolute; | ||
} | } | ||
#mainContainer { | #mainContainer { | ||
− | width: | + | width:80%; |
max-width: 1020px; | max-width: 1020px; | ||
margin:auto; | margin:auto; | ||
Line 110: | Line 114: | ||
#footerContainer { | #footerContainer { | ||
− | width: | + | width:80%; |
max-width: 1020px; | max-width: 1020px; | ||
text-align:center; | text-align:center; | ||
− | background-color: # | + | background-color: #C0C0C0; |
− | + | /* padding: 10px;*/ | |
border: 1px solid black; | border: 1px solid black; | ||
border-radius: 4px; | border-radius: 4px; | ||
− | display:table-footer-group; | + | margin:auto; |
+ | /* display:table-footer-group;*/ | ||
} | } | ||
Line 146: | Line 151: | ||
} | } | ||
} | } | ||
+ | @media print { | ||
+ | #sidemenuContainer { | ||
+ | display:none; | ||
+ | } | ||
+ | .expContainer { | ||
+ | width:92%; | ||
+ | } | ||
+ | } | ||
+ | |||
@media screen and (max-device-width:480px) { | @media screen and (max-device-width:480px) { | ||
#mainMenu { | #mainMenu { | ||
Line 285: | Line 299: | ||
font-size:36px; | font-size:36px; | ||
padding-top:0px; | padding-top:0px; | ||
+ | clear:both; | ||
/* margin-bottom: 0px;*/ | /* margin-bottom: 0px;*/ | ||
} | } | ||
Line 292: | Line 307: | ||
padding-top: 40px; | padding-top: 40px; | ||
border-bottom:1px solid black; | border-bottom:1px solid black; | ||
+ | clear:both; | ||
} | } | ||
Line 300: | Line 316: | ||
#mainContainer h3 { | #mainContainer h3 { | ||
font-size:20px; | font-size:20px; | ||
+ | clear:both; | ||
} | } | ||
Line 321: | Line 338: | ||
/*Change the styling of tables */ | /*Change the styling of tables */ | ||
#mainContainer table { | #mainContainer table { | ||
− | + | border: 3px solid #565656; | |
border-collapse: collapse; | border-collapse: collapse; | ||
margin: auto; | margin: auto; | ||
+ | margin-bottom:20px; | ||
} | } | ||
Line 330: | Line 348: | ||
padding: 10px; | padding: 10px; | ||
vertical-align:middle; | vertical-align:middle; | ||
− | border: | + | border: 3px solid #565656; |
+ | max-width:100%; | ||
} | } | ||
Line 342: | Line 361: | ||
height:auto; | height:auto; | ||
border: 1px solid #ccc; | border: 1px solid #ccc; | ||
− | font-family: sans-serif; | + | font-family: "Trebuchet MS", Helvetica, sans-serif; |
margin: 20px 0 20px 0; | margin: 20px 0 20px 0; | ||
+ | background-color:#f9f9f9; | ||
+ | } | ||
+ | #mainContainer .imgBox a { | ||
+ | display:block; | ||
+ | } | ||
+ | #mainContainer .imgBox > :not(p) { | ||
+ | background-color:#fff; | ||
} | } | ||
#mainContainer .imgBox #mag { | #mainContainer .imgBox #mag { | ||
Line 364: | Line 390: | ||
width:100%; | width:100%; | ||
border: 1px solid #ccc; | border: 1px solid #ccc; | ||
+ | } | ||
+ | #mainContainer .imgBox > table, #mainContainer .imgBox > table td,#mainContainer .imgBox > table th { | ||
+ | border: 0; | ||
+ | } | ||
+ | #mainContainer .imgBox > table table, #mainContainer .imgBox > table table td, #mainContainer .imgBox > table table th { | ||
+ | border: 3px solid black; | ||
} | } | ||
Line 460: | Line 492: | ||
-o-transition-delay: 1s; | -o-transition-delay: 1s; | ||
transition-delay: 1s; | transition-delay: 1s; | ||
+ | } | ||
+ | |||
+ | #menuContainer .hideMenu { | ||
+ | margin:0.3em 0 0 0; | ||
} | } | ||
Line 468: | Line 504: | ||
margin:auto; | margin:auto; | ||
outline : none; | outline : none; | ||
− | + | /* width:14.2857%;*/ | |
+ | width:16.66666666%; | ||
float:left; | float:left; | ||
z-index:10; | z-index:10; | ||
Line 596: | Line 633: | ||
text-align:center; | text-align:center; | ||
border: none; | border: none; | ||
− | color: | + | color: black; |
+ | overflow: initial; | ||
} | } | ||
Line 614: | Line 652: | ||
} | } | ||
#sandbox { | #sandbox { | ||
− | |||
} | } | ||
Line 628: | Line 665: | ||
to {left:100%;display:none;} | to {left:100%;display:none;} | ||
} | } | ||
+ | |||
+ | /* CHANGE MEDIAWIKI STUFF */ | ||
+ | div.thumb div div.thumbcaption { | ||
+ | font-size: 10pt; | ||
+ | } | ||
+ | </style> | ||
+ | </html> |
Latest revision as of 23:58, 18 September 2015