MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 393: | Line 393: | ||
.rtoc-read:hover { | .rtoc-read:hover { | ||
background: #f5f7ff; | background: #f5f7ff; | ||
} | |||
.rtoc-oos { | |||
padding: 7px 14px; | |||
font-size: 11px; | |||
font-style: italic; | |||
color: #888888; | |||
} | } | ||
| Line 411: | Line 417: | ||
.s-an .rtoc-entry { background: #eff2f7; } | .s-an .rtoc-entry { background: #eff2f7; } | ||
/* Chapter Templates ***************************************** */ | /* Chapter Templates ***************************************** */ | ||
Revision as of 04:59, 13 April 2026
/* Template Styling ***************************************** */
/* AR6 Templates ***************************************** */
/* AR6Covers */
.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: 1fr 21px 3fr 21px 3fr;
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 21px 1fr 1fr 1fr 21px 1fr 1fr 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;
}
/* Report Templates ***************************************** */
/* ReportHeader */
.rh-banner {
width: 100%;
border: 1px solid #00aeef;
border-radius: 4px;
overflow: hidden;
background: #2b3990;
font-family: sans-serif;
font-size: 12px;
margin: 0 0 1.5em 0;
}
.rh-banner-top {
display: flex;
align-items: stretch;
}
.rh-banner-img {
width: 160px;
min-width: 160px;
background: #1e2a70;
display: flex;
align-items: center;
justify-content: center;
padding: 12px;
border-right: 1px solid #1a2260;
}
.rh-banner-img img {
width: 100%;
height: auto;
display: block;
border-radius: 2px;
}
.rh-banner-right {
flex: 1;
display: flex;
flex-direction: column;
}
.rh-banner-titles {
padding: 12px 14px 10px;
flex: 1;
}
.rh-banner-tag {
color: #feff03;
font-size: 10px;
text-transform: uppercase;
letter-spacing: 0.05em;
margin-bottom: 4px;
}
.rh-banner-title {
color: #ffffff;
font-size: 14px;
font-weight: 500;
line-height: 1.35;
margin-bottom: 3px;
}
.rh-banner-subtitle {
color: #00aeef;
font-size: 12px;
font-weight: 500;
line-height: 1.4;
margin-bottom: 8px;
}
.rh-banner-abstract-text {
color: #b3d4f0;
font-size: 11px;
line-height: 1.6;
border-top: 1px solid #1a2260;
padding-top: 7px;
}
.rh-banner-meta {
display: flex;
border-top: 1px solid #1a2260;
background: #1e2a70;
}
.rh-banner-field {
flex: 1;
padding: 6px 14px;
border-right: 1px solid #1a2260;
}
.rh-banner-field:last-child {
border-right: none;
}
.rh-banner-lbl {
color: #7b9fd4;
font-size: 10px;
text-transform: uppercase;
letter-spacing: 0.04em;
display: block;
margin-bottom: 2px;
}
.rh-banner-val {
color: #ffffff;
font-size: 12px;
word-break: break-all;
}
.rh-banner-val a {
color: #00aeef;
text-decoration: none;
}
.rh-banner-val a:hover {
text-decoration: underline;
}
/* ReportCitation */
.rcit-box {
width: 100%;
border: 1px solid #e0e0e0;
border-left: 4px solid #00aeef;
border-radius: 4px;
background: #ffffff;
font-family: sans-serif;
font-size: 12px;
padding: 12px 14px;
margin: 0 0 1.5em 0;
box-sizing: border-box;
}
.rcit-header {
color: #b3b3b3;
font-size: 10px;
text-transform: uppercase;
letter-spacing: 0.05em;
margin-bottom: 10px;
}
.rcit-text {
color: #2b3990;
font-size: 12px;
line-height: 1.7;
border: 1px solid #e8e8e8;
border-radius: 3px;
background: #f5f7ff;
padding: 10px 12px;
margin-bottom: 8px;
}
.rcit-row {
display: flex;
align-items: baseline;
gap: 8px;
margin-bottom: 10px;
}
.rcit-lbl {
color: #b3b3b3;
font-size: 10px;
text-transform: uppercase;
letter-spacing: 0.04em;
min-width: 28px;
flex-shrink: 0;
}
.rcit-val a {
color: #00aeef;
font-size: 12px;
word-break: break-all;
text-decoration: none;
}
.rcit-val a:hover {
text-decoration: underline;
}
.rcit-btn {
display: inline-flex;
align-items: center;
gap: 6px;
border: 1px solid #b3b3b3;
border-radius: 20px;
background: #ffffff;
color: #b3b3b3;
font-size: 11px;
font-weight: 500;
padding: 5px 12px;
cursor: not-allowed;
font-family: sans-serif;
opacity: 0.6;
}
/* ReportContributors */
.rc-box {
width: 100%;
border: 1px solid #e0e0e0;
border-left: 4px solid #00aeef;
border-radius: 4px;
background: #ffffff;
font-family: sans-serif;
font-size: 12px;
padding: 12px 14px;
margin: 0 0 1.5em 0;
box-sizing: border-box;
}
.rc-header {
color: #b3b3b3;
font-size: 10px;
text-transform: uppercase;
letter-spacing: 0.05em;
margin-bottom: 10px;
}
.rc-names {
color: #2b3990;
font-size: 12px;
line-height: 1.7;
}
/* 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; }
/* Chapter Templates ***************************************** */
/* ChapterSynopsis */
.cs-box {
width: 100%;
border-left: 4px solid #00aeef;
padding: 12px 16px;
margin: 0 0 1.5em 0;
box-sizing: border-box;
}
.cs-abstract-label {
color: #b3b3b3;
font-size: 10px;
text-transform: uppercase;
letter-spacing: 0.05em;
margin-bottom: 8px;
}
.cs-abstract-text {
color: #2b3990;
font-size: 16px;
line-height: 1.8;
}
/* ChapterNav */
.cn-box {
width: 100%;
border: 1px solid #e8c84a;
border-radius: 4px;
background: #fffdf0;
font-family: sans-serif;
font-size: 12px;
overflow: hidden;
box-sizing: border-box;
margin: 0 0 1.5em 0;
}
.cn-report {
display: flex;
align-items: center;
gap: 12px;
padding: 12px 14px;
border-bottom: 1px solid #e8c84a;
background: #fef9d6;
}
.cn-report-thumb img {
width: 48px;
height: auto;
aspect-ratio: 3/4;
border-radius: 2px;
border: 1px solid #c8a820;
display: block;
object-fit: cover;
}
.cn-report-info {
flex: 1;
}
.cn-report-label {
color: #c8a820;
font-size: 9px;
text-transform: uppercase;
letter-spacing: 0.05em;
margin-bottom: 3px;
}
.cn-report-title a {
color: #2b3990;
font-size: 12px;
font-weight: 500;
line-height: 1.4;
text-decoration: none;
}
.cn-report-title a:hover {
color: #00aeef;
}
.cn-nav {
width: 100%;
border-collapse: collapse;
margin: 0;
}
.cn-prev,
.cn-next {
width: 50%;
padding: 10px 14px;
vertical-align: top;
}
.cn-prev {
border-right: 1px solid #e8c84a;
}
.cn-prev:hover,
.cn-next:hover {
background: #fef9d6;
}
.cn-next {
text-align: right;
}
.cn-direction {
color: #c8a820;
font-size: 9px;
text-transform: uppercase;
letter-spacing: 0.05em;
margin-bottom: 3px;
}
.cn-chapter-title a {
color: #2b3990;
font-size: 12px;
font-weight: 500;
line-height: 1.3;
text-decoration: none;
}
.cn-chapter-title a:hover {
color: #00aeef;
}
.cn-chapter-desc {
color: #b3b3b3;
font-size: 11px;
line-height: 1.4;
margin-top: 2px;
}
.cn-empty {
background: #fafafa;
border-color: #e8e8e8;
}
.cn-empty-label {
color: #d0d0d0;
font-size: 10px;
text-transform: uppercase;
letter-spacing: 0.05em;
font-style: italic;
}
.cn-prev.cn-empty {
border-right: 1px solid #e8e8e8;
}
/* ChapterContributors */
.ccon-box {
width: 100%;
border: 1px solid #e0e0e0;
border-left: 4px solid #00aeef;
border-radius: 4px;
background: #ffffff;
font-family: sans-serif;
font-size: 12px;
box-sizing: border-box;
margin: 0 0 1.5em 0;
overflow: hidden;
}
.ccon-header {
color: #b3b3b3;
font-size: 10px;
text-transform: uppercase;
letter-spacing: 0.05em;
padding: 10px 14px 6px;
border-bottom: 1px solid #f0f0f0;
}
.ccon-group {
display: flex;
gap: 12px;
align-items: baseline;
padding: 7px 14px;
border-bottom: 1px solid #f0f0f0;
}
.ccon-group:last-child {
border-bottom: none;
}
.ccon-label {
color: #2b3990;
font-size: 10px;
text-transform: uppercase;
letter-spacing: 0.04em;
font-weight: 500;
min-width: 160px;
flex-shrink: 0;
}
.ccon-names {
color: #030001;
font-size: 12px;
line-height: 1.7;
flex: 1;
}
.ccon-country {
color: #b3b3b3;
font-size: 11px;
}