MediaWiki:Common.css
Appearance
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)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */
/* Make images responsive */
img {
max-width:90%;
height:auto;
}
/* Table styling */
table th {
background-color: #4c8fcc !important;
color: #ffffff !important;
}
table tr:nth-child(odd) {
background-color: #fffffff;
}
table tr:nth-child(even) {
background-color: #d7e2f3;
}
/* AR6 Templates ***************************************** */
/* CorpusNavigation */
.ar6-box {
width: 100%;
border: 1px solid #e0e0e0;
border-radius: 4px;
background: #f9f9f7;
font-family: sans-serif;
padding: 12px 14px;
box-sizing: border-box;
margin: 0 0 1.5em 0;
}
.ar6-header {
color: #b3b3b3;
font-size: 10px;
text-transform: uppercase;
letter-spacing: 0.05em;
margin-bottom: 10px;
}
.ar6-labels {
display: grid;
grid-template-columns: 3fr 21px 3fr 21px 1fr;
margin-bottom: 6px;
}
.ar6-group-label {
color: #b3b3b3;
font-size: 9px;
text-transform: uppercase;
letter-spacing: 0.04em;
text-align: center;
}
.ar6-grid {
display: grid;
grid-template-columns: 1fr 1fr 1fr 21px 1fr 1fr 1fr 21px 1fr;
align-items: end;
}
.ar6-cover {
display: flex;
flex-direction: column;
align-items: center;
gap: 6px;
padding: 0 3px;
}
.ar6-cover img {
width: 100%;
height: auto;
aspect-ratio: 3/4;
border: 1px solid #d0d0d0;
border-radius: 2px;
display: block;
object-fit: cover;
}
.ar6-cover:hover img {
border-color: #00aeef;
}
.ar6-label {
color: #b3b3b3;
font-size: 10px;
font-weight: 500;
text-align: center;
}
.ar6-cover:hover .ar6-label {
color: #2b3990;
}
.ar6-divider-col {
width: 1px;
background: #e0e0e0;
align-self: stretch;
margin: 0 10px;
}
/* Active state — dim all covers, then highlight the active one */
.ar6-active-syr .ar6-cover,
.ar6-active-wgi .ar6-cover,
.ar6-active-wgii .ar6-cover,
.ar6-active-wgiii .ar6-cover,
.ar6-active-sr15 .ar6-cover,
.ar6-active-srccl .ar6-cover,
.ar6-active-srocc .ar6-cover {
opacity: 0.4;
transition: opacity 0.15s;
}
.ar6-active-syr .ar6-cover:hover,
.ar6-active-wgi .ar6-cover:hover,
.ar6-active-wgii .ar6-cover:hover,
.ar6-active-wgiii .ar6-cover:hover,
.ar6-active-sr15 .ar6-cover:hover,
.ar6-active-srccl .ar6-cover:hover,
.ar6-active-srocc .ar6-cover:hover {
opacity: 1;
}
.ar6-active-syr .ar6-syr,
.ar6-active-wgi .ar6-wgi,
.ar6-active-wgii .ar6-wgii,
.ar6-active-wgiii .ar6-wgiii,
.ar6-active-sr15 .ar6-sr15,
.ar6-active-srccl .ar6-srccl,
.ar6-active-srocc .ar6-srocc {
opacity: 1;
}
.ar6-active-syr .ar6-syr img,
.ar6-active-wgi .ar6-wgi img,
.ar6-active-wgii .ar6-wgii img,
.ar6-active-wgiii .ar6-wgiii img,
.ar6-active-sr15 .ar6-sr15 img,
.ar6-active-srccl .ar6-srccl img,
.ar6-active-srocc .ar6-srocc img {
border: 2px solid #00aeef;
border-radius: 3px;
}
.ar6-active-syr .ar6-syr .ar6-label,
.ar6-active-wgi .ar6-wgi .ar6-label,
.ar6-active-wgii .ar6-wgii .ar6-label,
.ar6-active-wgiii .ar6-wgiii .ar6-label,
.ar6-active-sr15 .ar6-sr15 .ar6-label,
.ar6-active-srccl .ar6-srccl .ar6-label,
.ar6-active-srocc .ar6-srocc .ar6-label {
color: #2b3990;
}
/* When active=none or parameter omitted — no dimming */
.ar6-active-none .ar6-cover {
opacity: 1;
}