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 */
@media only screen and (min-width: 80rem) {
.hidel {
display:none
}
}
@media only screen and (max-width: 64rem) {
.hidem {
display:none
}
}
@media only screen and (max-width: 48rem) {
.hides {
display:none
}
}
.grid-container {
display: grid;
grid-template-areas: "header header header header header header" "middle middle middle middle middle right" "middle2 middle2 middle2 middle2 middle2 right" "middle3 middle3 middle3 middle3 middle3 right" "bottom bottom bottom bottom bottom right"
}
@media only screen and (max-width: 80rem) {
.grid-container {
grid-template-areas:"header header header header header header" "middle middle middle middle right right" "middle2 middle2 middle2 middle2 right right " "middle3 middle3 middle3 middle3 middle3 middle3" "bottom bottom bottom bottom bottom bottom"
}
}
@media only screen and (max-width: 64rem) {
.grid-container {
grid-template-areas:"header header header header header header" "middle middle middle middle middle middle" "middle2 middle2 middle2 middle2 middle2 middle2" "middle3 middle3 middle3 middle3 middle3 middle3" "right right right right right right" "bottom bottom bottom bottom bottom bottom"
}
}
.header {
grid-area: header
}
.bottom {
grid-area: bottom
}
.left {
grid-area: left
}
.right {
grid-area: right
}
.middle {
grid-area: middle
}
.middle2 {
grid-area: middle2
}
.middle3 {
grid-area: middle3
}
.gridBG2 {
background: #951e1e url(https://nightfall.nyc3.cdn.digitaloceanspaces.com/images/wiki/section-header.jpg) repeat left center;
}
a {
text-decoration: none;
color: #0645ad;
background: none;
}
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {
margin-bottom: 0.25em;
padding: 0;
font-family: 'Linux Libertine', 'Georgia', 'Times', serif;
line-height: 1.3;
}
.mw-body-content .plainlist ol, .mw-body-content .plainlist ul {
line-height: inherit;
list-style: none none;
margin: 0;
}
.infobox {
background: #eee;
border: 1px solid #aaa;
float: right;
margin: 0 0 1em 1em;
padding: 1em;
width: 400px;
}
.infobox-title {
font-size: 2em;
text-align: center;
}
.infobox-image {
text-align: center;
}
.infobox-table th {
text-align: right;
vertical-align: top;
width: 120px;
}
.infobox-table td {
vertical-align: top;
}