MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 7: | Line 7: | ||
border-radius: 8px; | border-radius: 8px; | ||
padding: 1rem 1.25rem; | padding: 1rem 1.25rem; | ||
} | } | ||
#vector-toc . | #vector-toc .vector-toc-title { | ||
font-size: 15px; | font-size: 15px; | ||
font-weight: bold; | font-weight: bold; | ||
| Line 21: | Line 18: | ||
} | } | ||
#vector-toc | #vector-toc .vector-toc-list { | ||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
| Line 27: | Line 24: | ||
} | } | ||
#vector-toc | #vector-toc .vector-toc-list-item { | ||
padding: 4px 0; | padding: 4px 0; | ||
border-bottom: 0.5px solid #d1e8f5; | border-bottom: 0.5px solid #d1e8f5; | ||
| Line 33: | Line 30: | ||
} | } | ||
#vector-toc | #vector-toc .vector-toc-list-item:last-child { | ||
border-bottom: none; | border-bottom: none; | ||
} | } | ||
| Line 47: | Line 44: | ||
} | } | ||
#vector-toc . | #vector-toc .vector-toc-numb { | ||
color: #01adef; | color: #01adef; | ||
font-weight: bold; | font-weight: bold; | ||
| Line 53: | Line 50: | ||
} | } | ||
#vector-toc | #vector-toc .vector-toc-list-item-child { | ||
padding-left: 1em; | padding-left: 1em; | ||
border-bottom: none; | border-bottom: none; | ||
| Line 59: | Line 56: | ||
} | } | ||
#vector-toc | #vector-toc .vector-toc-list-item-child .vector-toc-numb { | ||
color: #0088be; | color: #0088be; | ||
font-weight: normal; | font-weight: normal; | ||
} | |||
#vector-toc .vector-toc-link.vector-toc-link--active { | |||
color: #364497; | |||
font-weight: bold; | |||
} | } | ||
Revision as of 08:05, 30 March 2026
/* CSS placed here will be applied to all skins */
/* Table of contents */
#vector-toc {
background: #e8f7fd;
border: 0.5px solid #01adef;
border-radius: 8px;
padding: 1rem 1.25rem;
}
#vector-toc .vector-toc-title {
font-size: 15px;
font-weight: bold;
color: #364497;
margin-bottom: 8px;
padding-bottom: 8px;
border-bottom: 0.5px solid #01adef;
}
#vector-toc .vector-toc-list {
margin: 0;
padding: 0;
list-style: none;
}
#vector-toc .vector-toc-list-item {
padding: 4px 0;
border-bottom: 0.5px solid #d1e8f5;
font-size: 13px;
}
#vector-toc .vector-toc-list-item:last-child {
border-bottom: none;
}
#vector-toc a {
color: #0088be;
text-decoration: none;
}
#vector-toc a:hover {
color: #364497;
text-decoration: underline;
}
#vector-toc .vector-toc-numb {
color: #01adef;
font-weight: bold;
margin-right: 6px;
}
#vector-toc .vector-toc-list-item-child {
padding-left: 1em;
border-bottom: none;
font-size: 12px;
}
#vector-toc .vector-toc-list-item-child .vector-toc-numb {
color: #0088be;
font-weight: normal;
}
#vector-toc .vector-toc-link.vector-toc-link--active {
color: #364497;
font-weight: bold;
}
/* Report header */
.report-header {
background-color: #e8f7fd;
border: 0.5px solid #01adef;
border-radius: 8px;
padding: 1rem 1.25rem;
margin-bottom: 1.5em;
}
.report-header-top {
display: flex;
gap: 12px;
align-items: flex-start;
margin-bottom: 12px;
flex-direction: row-reverse;
}
.report-header-cover {
background: #185FA5;
width: 104px;
height: 136px;
border-radius: 4px;
flex-shrink: 0;
overflow: hidden;
}
.report-header-titleblock {
flex: 1;
}
.report-header-title {
font-size: 15px;
font-weight: bold;
color: #364497;
margin-bottom: 4px;
line-height: 1.4;
}
.report-header-authors {
font-size: 12px;
color: #0088be;
margin-bottom: 6px;
}
.report-header-meta {
font-size: 13px;
color: #0088be;
margin-bottom: 4px;
}
.report-header-keywords {
font-size: 13px;
color: #b03382;
margin-bottom: 8px;
}
.report-header-abstract {
border-top: 0.5px solid #01adef;
padding-top: 10px;
font-size: 13px;
color: #0088be;
line-height: 1.6;
}
/* Report TOC */
.report-toc {
background-color: #e8f7fd;
border: 0.5px solid #01adef;
border-radius: 8px;
padding: 1rem 1.25rem;
margin-bottom: 1.5em;
}
.report-toc-title {
font-size: 15px;
font-weight: bold;
color: #364497;
margin-bottom: 12px;
padding-bottom: 8px;
border-bottom: 0.5px solid #01adef;
}
.report-toc-item {
display: flex;
align-items: baseline;
justify-content: space-between;
padding: 6px 0;
border-bottom: 0.5px solid #d1e8f5;
font-size: 13px;
}
.report-toc-item:last-child {
border-bottom: none;
}
.report-toc-num {
color: #01adef;
font-weight: bold;
min-width: 24px;
flex-shrink: 0;
}
.report-toc-link {
flex: 1;
padding: 0 8px;
}
.report-toc-link a {
color: #0088be;
text-decoration: none;
}
.report-toc-link a:hover {
color: #364497;
text-decoration: underline;
}
.report-toc-time {
color: #b03382;
font-size: 12px;
flex-shrink: 0;
white-space: nowrap;
}
/* Contributors */
.report-contributors {
background: #e8f7fd;
border: 0.5px solid #01adef;
border-radius: 8px;
padding: 1rem 1.25rem;
margin-bottom: 1.5em;
}
.report-contributors-title {
font-size: 15px;
font-weight: bold;
color: #364497;
margin-bottom: 12px;
padding-bottom: 8px;
border-bottom: 0.5px solid #01adef;
}
.report-contributors-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 0;
}
.report-contributors-row {
display: flex;
align-items: center;
gap: 12px;
padding: 6px 0;
border-bottom: 0.5px solid #d1e8f5;
}
.report-contributors-row:last-child {
border-bottom: none;
}
.report-contributors-avatar {
width: 36px;
height: 36px;
border-radius: 50%;
background: #364497;
color: #B5D4F4;
display: flex;
align-items: center;
justify-content: center;
font-size: 12px;
font-weight: bold;
flex-shrink: 0;
}
.report-contributors-name {
font-size: 13px;
font-weight: bold;
color: #0088be;
}
.report-contributors-position {
font-size: 12px;
color: #6b7280;
}
/* Citation */
.report-citation {
background: #f8f9fa;
border: 0.5px solid #d1d5db;
border-radius: 8px;
padding: 1rem 1.25rem;
margin-bottom: 1.5em;
}
.report-citation-title {
font-size: 12px;
color: #6b7280;
text-transform: uppercase;
letter-spacing: 0.06em;
margin-bottom: 10px;
}
.report-citation-text {
font-size: 13px;
color: #364497;
line-height: 1.7;
font-family: Georgia, serif;
}
.report-citation-doi {
font-size: 12px;
color: #0088be;
margin-top: 6px;
}
.report-citation-doi a {
color: #0088be;
text-decoration: none;
}
.report-citation-doi a:hover {
color: #364497;
text-decoration: underline;
}
/* Breadcrumbs */
#mw-content-subtitle {
font-size: 13px;
color: #6b7280;
margin-bottom: 0.5em;
line-height: 1.6;
border-bottom: 0.5px solid #d1d5db;
padding-bottom: 0.5em;
}
#mw-content-subtitle a {
color: #0088be;
text-decoration: none;
padding: 2px 0;
}
#mw-content-subtitle a:hover {
color: #364497;
text-decoration: underline;
}
#mw-content-subtitle li::before {
content: "›";
margin: 0 6px;
color: #b0b7c3;
font-weight: normal;
}
#mw-content-subtitle li:first-child::before {
content: none;
}
/* Report video */
.report-video {
float: left;
width: 45%;
margin: 0 1.5em 1em 0;
background: #e8f7fd;
border: 0.5px solid #01adef;
border-radius: 8px;
padding: 1rem 1.25rem;
box-sizing: border-box;
}
.report-video-title {
font-size: 15px;
font-weight: bold;
color: #364497;
margin-bottom: 8px;
padding-bottom: 8px;
border-bottom: 0.5px solid #01adef;
}
.report-video-caption {
font-size: 12px;
color: #0088be;
margin-top: 8px;
line-height: 1.5;
}
.report-video-wrapper {
position: relative;
padding-bottom: 56.25%;
height: 0;
overflow: hidden;
border-radius: 4px;
}
.report-video-wrapper iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: none;
}