MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 146: | Line 146: | ||
opacity: 1; | opacity: 1; | ||
} | } | ||
/* ReportTOC */ | |||
.rtoc-box { | |||
width: 100%; | |||
border: 1px solid #e0e0e0; | |||
border-left: 4px solid #00aeef; | |||
border-radius: 4px; | |||
background: #ffffff; | |||
font-family: sans-serif; | |||
font-size: 12px; | |||
margin: 0 0 1.5em 0; | |||
overflow: hidden; | |||
box-sizing: border-box; | |||
} | |||
.rtoc-header { | |||
color: #b3b3b3; | |||
font-size: 10px; | |||
text-transform: uppercase; | |||
letter-spacing: 0.05em; | |||
padding: 12px 14px 8px; | |||
border-bottom: 1px solid #f0f0f0; | |||
} | |||
.rtoc-section-title { | |||
font-size: 11px; | |||
font-weight: 500; | |||
padding: 6px 14px; | |||
text-transform: uppercase; | |||
letter-spacing: 0.04em; | |||
} | |||
.rtoc-entry { | |||
display: flex; | |||
align-items: center; | |||
justify-content: space-between; | |||
padding: 6px 14px 6px 22px; | |||
border-top: 1px solid rgba(255,255,255,0.5); | |||
} | |||
.rtoc-entry-text { | |||
display: flex; | |||
flex-direction: column; | |||
gap: 2px; | |||
flex: 1; | |||
padding-right: 12px; | |||
} | |||
.rtoc-entry-title { | |||
color: #2b3990; | |||
font-size: 12px; | |||
} | |||
.rtoc-entry-subtitle { | |||
color: #b3b3b3; | |||
font-size: 11px; | |||
line-height: 1.4; | |||
} | |||
.rtoc-read { | |||
display: inline-flex; | |||
align-items: center; | |||
border: 1px solid #2b3990; | |||
border-radius: 20px; | |||
color: #2b3990; | |||
font-size: 10px; | |||
font-weight: 500; | |||
padding: 3px 10px; | |||
text-decoration: none; | |||
white-space: nowrap; | |||
margin-left: 10px; | |||
background: #ffffff; | |||
} | |||
.rtoc-read:hover { | |||
background: #f5f7ff; | |||
} | |||
.rtoc-oos { | |||
padding: 7px 14px; | |||
font-size: 11px; | |||
font-style: italic; | |||
color: #888888; | |||
} | |||
/* Section colours */ | |||
.s-fm .rtoc-section-title { background: #e55425; color: #ffffff; } | |||
.s-fm .rtoc-entry { background: #fdf3ef; } | |||
.s-spm .rtoc-section-title { background: #c67b2a; color: #ffffff; } | |||
.s-spm .rtoc-entry { background: #fdf6ef; } | |||
.s-ts .rtoc-section-title { background: #1e4f26; color: #ffffff; } | |||
.s-ts .rtoc-entry { background: #eff5f0; } | |||
.s-ch .rtoc-section-title { background: #4c8fcc; color: #ffffff; } | |||
.s-ch .rtoc-entry { background: #eff6fc; } | |||
.s-an .rtoc-section-title { background: #19305b; color: #ffffff; } | |||
.s-an .rtoc-entry { background: #eff2f7; } | |||
Revision as of 20:00, 18 May 2026
/* 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;
}
/* ReportTOC */
.rtoc-box {
width: 100%;
border: 1px solid #e0e0e0;
border-left: 4px solid #00aeef;
border-radius: 4px;
background: #ffffff;
font-family: sans-serif;
font-size: 12px;
margin: 0 0 1.5em 0;
overflow: hidden;
box-sizing: border-box;
}
.rtoc-header {
color: #b3b3b3;
font-size: 10px;
text-transform: uppercase;
letter-spacing: 0.05em;
padding: 12px 14px 8px;
border-bottom: 1px solid #f0f0f0;
}
.rtoc-section-title {
font-size: 11px;
font-weight: 500;
padding: 6px 14px;
text-transform: uppercase;
letter-spacing: 0.04em;
}
.rtoc-entry {
display: flex;
align-items: center;
justify-content: space-between;
padding: 6px 14px 6px 22px;
border-top: 1px solid rgba(255,255,255,0.5);
}
.rtoc-entry-text {
display: flex;
flex-direction: column;
gap: 2px;
flex: 1;
padding-right: 12px;
}
.rtoc-entry-title {
color: #2b3990;
font-size: 12px;
}
.rtoc-entry-subtitle {
color: #b3b3b3;
font-size: 11px;
line-height: 1.4;
}
.rtoc-read {
display: inline-flex;
align-items: center;
border: 1px solid #2b3990;
border-radius: 20px;
color: #2b3990;
font-size: 10px;
font-weight: 500;
padding: 3px 10px;
text-decoration: none;
white-space: nowrap;
margin-left: 10px;
background: #ffffff;
}
.rtoc-read:hover {
background: #f5f7ff;
}
.rtoc-oos {
padding: 7px 14px;
font-size: 11px;
font-style: italic;
color: #888888;
}
/* Section colours */
.s-fm .rtoc-section-title { background: #e55425; color: #ffffff; }
.s-fm .rtoc-entry { background: #fdf3ef; }
.s-spm .rtoc-section-title { background: #c67b2a; color: #ffffff; }
.s-spm .rtoc-entry { background: #fdf6ef; }
.s-ts .rtoc-section-title { background: #1e4f26; color: #ffffff; }
.s-ts .rtoc-entry { background: #eff5f0; }
.s-ch .rtoc-section-title { background: #4c8fcc; color: #ffffff; }
.s-ch .rtoc-entry { background: #eff6fc; }
.s-an .rtoc-section-title { background: #19305b; color: #ffffff; }
.s-an .rtoc-entry { background: #eff2f7; }