Difference between revisions of "Template:ETH Zurich/template.css"
(57 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 75: | 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 109: | 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 145: | 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 268: | Line 283: | ||
} | } | ||
− | #mainContainer h1,h2,h3,h4,h5,h6 { | + | #mainContainer h1,#mainContainer h2,#mainContainer h3,#mainContainer h4,#mainContainer h5,#mainContainer h6 { |
color: #000000; | color: #000000; | ||
border-bottom: none; | border-bottom: none; | ||
font-weight: bold; | font-weight: bold; | ||
− | + | line-height:normal; | |
} | } | ||
+ | #mainContainer h1 p,#mainContainer h2 p,#mainContainer h3 p,#mainContainer h4 p,#mainContainer h5 p,#mainContainer h6 p { | ||
+ | font-weight:normal; | ||
+ | text-align:left; | ||
+ | } | ||
+ | |||
#mainContainer h1 { | #mainContainer h1 { | ||
text-align: center; | text-align: center; | ||
Line 279: | Line 299: | ||
font-size:36px; | font-size:36px; | ||
padding-top:0px; | padding-top:0px; | ||
+ | clear:both; | ||
/* margin-bottom: 0px;*/ | /* margin-bottom: 0px;*/ | ||
} | } | ||
Line 286: | Line 307: | ||
padding-top: 40px; | padding-top: 40px; | ||
border-bottom:1px solid black; | border-bottom:1px solid black; | ||
+ | clear:both; | ||
} | } | ||
Line 294: | Line 316: | ||
#mainContainer h3 { | #mainContainer h3 { | ||
font-size:20px; | font-size:20px; | ||
+ | clear:both; | ||
} | } | ||
Line 307: | Line 330: | ||
.expContainer a:hover { | .expContainer a:hover { | ||
color: #59bf92; | color: #59bf92; | ||
+ | } | ||
+ | |||
+ | .expContainer ul { | ||
+ | margin: .3em 0 0 2.5em; | ||
} | } | ||
/*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 320: | Line 348: | ||
padding: 10px; | padding: 10px; | ||
vertical-align:middle; | vertical-align:middle; | ||
− | border: | + | border: 3px solid #565656; |
+ | max-width:100%; | ||
} | } | ||
Line 332: | 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 354: | 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 450: | 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 458: | 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 475: | Line 522: | ||
z-index:100; | z-index:100; | ||
list-style: none; | list-style: none; | ||
+ | width:100%; | ||
} | } | ||
Line 573: | Line 621: | ||
background-color: #00964B; | background-color: #00964B; | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
Line 595: | Line 633: | ||
text-align:center; | text-align:center; | ||
border: none; | border: none; | ||
− | color: | + | color: black; |
+ | overflow: initial; | ||
} | } | ||
Line 613: | Line 652: | ||
} | } | ||
#sandbox { | #sandbox { | ||
− | |||
} | } | ||
Line 627: | 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