MediaWiki:Common.css
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */
.zebra {
border-collapse: collapse;
color:black;
background-color:#ffffff;
border: 1px solid #777777;
border-radius: 3px;
}
.zebra th {
background-color:#9BAFF1;
border: 1px solid #777777;
color: #ffffff;
}
.zebra td {
border: 1px solid #777777;
padding: 0 0.5em 0 0.5em
}
.zebra tr:nth-child(2n+1) {
background-color:#E8EDFF;
}
.zebra tr:hover {
background-color:#eeeeee;
}
img.stretch { width: 100%; height: auto; }
/* Better view for certain pages */
.page-WAI_Website_Anatomy_of_a_Document h4 {
margin-top: 3em;
margin-left: 0;
}
.page-WAI_Website_Anatomy_of_a_Document h4 ~ *:not(h4) {
margin-left: 2em;
}
.page-WAI_Website_Anatomy_of_a_Document h4 ~ h2,
.page-WAI_Website_Anatomy_of_a_Document h4 ~ h2 ~ * {
margin-left: 0;
}