MediaWiki:Common.css: Difference between revisions

From ClimateKG
Jump to navigation Jump to search
No edit summary
No edit summary
Line 97: Line 97:
.report-toc-item:last-child {
.report-toc-item:last-child {
     border-bottom: none;
     border-bottom: none;
}
.report-toc-num {
    color: #01adef;
    font-weight: bold;
    min-width: 24px;
    flex-shrink: 0;
}
}



Revision as of 08:51, 30 March 2026

/* CSS placed here will be applied to all skins */




/* 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-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;
}




/* Chapter header */
.chapter-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1.5em;
    background: #e8f7fd;
    border: 0.5px solid #01adef;
    border-radius: 8px;
}

.chapter-header-cover {
    width: 32px;
    height: 42px;
    border-radius: 3px;
    overflow: hidden;
    flex-shrink: 0;
    background: #364497;
}

.chapter-header-label {
    font-size: 11px;
    color: #0088be;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 3px;
}

.chapter-header-title {
    font-size: 14px;
    font-weight: 500;
    color: #364497;
}

.chapter-header-title a {
    color: #364497;
    text-decoration: none;
}

.chapter-header-title a:hover {
    color: #01adef;
    text-decoration: underline;
}