MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 223: | Line 223: | ||
opacity: 0.6; | opacity: 0.6; | ||
} | } | ||
/* 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-title { | |||
color: #2b3990; | |||
font-size: 12px; | |||
} | |||
.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; | |||
} | |||
/* 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 04:57, 10 April 2026
/* Template Styling ***************************************** */
/* 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;
}
/* 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-pills {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.rc-pill {
display: inline-flex;
align-items: center;
gap: 6px;
border-radius: 20px;
border: 1px solid #2b3990;
padding: 5px 12px;
background: #ffffff;
}
.rc-pill-name {
color: #2b3990;
font-size: 12px;
font-weight: 500;
}
.rc-pill-dot {
color: #00aeef;
font-size: 14px;
line-height: 1;
}
.rc-pill-fn {
color: #b3b3b3;
font-size: 11px;
}
/* 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;
}
/* 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-title {
color: #2b3990;
font-size: 12px;
}
.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;
}
/* 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; }