MediaWiki:Common.css: Difference between revisions

From ClimateKG
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
/* ReportHeader — style C: Minimal */
/* ReportHeader — banner style D: Dark */
.rh-box {
.rh-banner {
    float: right;
     width: 100%;
    clear: right;
     border: 1px solid #030001;
    margin: 0 0 1em 1.5em;
     width: 220px;
     border: 1px solid #e0e0e0;
    border-left: 4px solid #00aeef;
     border-radius: 4px;
     border-radius: 4px;
     overflow: hidden;
     overflow: hidden;
     background: #ffffff;
     background: #030001;
    font-family: sans-serif;
     font-size: 12px;
     font-size: 12px;
     font-family: sans-serif;
    margin: 0 0 1.5em 0;
}
.rh-banner-top {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid #1a1a1a;
}
.rh-banner-img {
    width: 160px;
    min-width: 160px;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-right: 1px solid #2a2a2a;
}
.rh-banner-img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 2px;
}
.rh-banner-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.rh-banner-titles {
    padding: 12px 14px 8px;
}
.rh-banner-tag {
    color: #feff03;
     font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}
}
.rh-title {
.rh-banner-title {
     color: #030001;
     color: #ffffff;
     font-size: 14px;
     font-size: 14px;
     font-weight: 500;
     font-weight: 500;
     padding: 10px 12px 2px;
     line-height: 1.35;
     line-height: 1.4;
     margin-bottom: 3px;
}
}
.rh-subtitle {
.rh-banner-subtitle {
     color: #2b3990;
     color: #00aeef;
     font-size: 12px;
     font-size: 12px;
     font-weight: 500;
     font-weight: 500;
    padding: 0 12px 6px;
     line-height: 1.4;
     line-height: 1.4;
}
}
.rh-sub {
.rh-banner-meta {
     color: #b3b3b3;
     display: flex;
     font-size: 10px;
     border-top: 1px solid #1a1a1a;
    padding: 0 12px 8px;
     background: #0f0f0f;
    text-transform: uppercase;
    letter-spacing: 0.05em;
     border-bottom: 1px solid #f0f0f0;
}
}
.rh-image {
.rh-banner-field {
    padding: 10px 12px;
     flex: 1;
    border-bottom: 1px solid #f0f0f0;
     padding: 6px 14px;
}
     border-right: 1px solid #1a1a1a;
.rh-image img {
     width: 100%;
     height: auto;
    display: block;
     border-radius: 2px;
}
}
.rh-row {
.rh-banner-field:last-child {
    display: flex;
     border-right: none;
    padding: 5px 12px;
     border-top: 1px solid #f5f5f5;
    align-items: baseline;
    gap: 6px;
}
}
.rh-lbl {
.rh-banner-lbl {
    min-width: 68px;
     color: #b3b3b3;
     color: #b3b3b3;
     font-size: 10px;
     font-size: 10px;
     text-transform: uppercase;
     text-transform: uppercase;
     letter-spacing: 0.04em;
     letter-spacing: 0.04em;
     flex-shrink: 0;
     display: block;
    margin-bottom: 2px;
}
}
.rh-val {
.rh-banner-val {
     color: #030001;
     color: #ffffff;
     flex: 1;
     font-size: 12px;
     word-break: break-all;
     word-break: break-all;
    font-size: 12px;
}
}
.rh-val a {
.rh-banner-val a {
     color: #00aeef;
     color: #00aeef;
     text-decoration: none;
     text-decoration: none;
}
}
.rh-val a:hover {
.rh-banner-val a:hover {
     text-decoration: underline;
     text-decoration: underline;
}
}
.rh-abstract {
.rh-banner-abstract {
     padding: 8px 12px 10px;
     padding: 8px 14px 10px;
     border-top: 1px solid #f0f0f0;
    background: #111111;
    background: #f9f9f9;
     border-top: 1px solid #1a1a1a;
}
}
.rh-abstract .rh-lbl {
.rh-banner-abstract .rh-banner-lbl {
    display: block;
     margin-bottom: 3px;
     margin-bottom: 4px;
}
}
.rh-abstract-text {
.rh-banner-abstract-text {
     color: #030001;
     color: #cccccc;
     font-size: 11px;
     font-size: 11px;
     line-height: 1.6;
     line-height: 1.6;
}
}

Revision as of 03:36, 10 April 2026

/* ReportHeader — banner style D: Dark */
.rh-banner {
    width: 100%;
    border: 1px solid #030001;
    border-radius: 4px;
    overflow: hidden;
    background: #030001;
    font-family: sans-serif;
    font-size: 12px;
    margin: 0 0 1.5em 0;
}
.rh-banner-top {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid #1a1a1a;
}
.rh-banner-img {
    width: 160px;
    min-width: 160px;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-right: 1px solid #2a2a2a;
}
.rh-banner-img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 2px;
}
.rh-banner-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.rh-banner-titles {
    padding: 12px 14px 8px;
}
.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;
}
.rh-banner-meta {
    display: flex;
    border-top: 1px solid #1a1a1a;
    background: #0f0f0f;
}
.rh-banner-field {
    flex: 1;
    padding: 6px 14px;
    border-right: 1px solid #1a1a1a;
}
.rh-banner-field:last-child {
    border-right: none;
}
.rh-banner-lbl {
    color: #b3b3b3;
    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;
}
.rh-banner-abstract {
    padding: 8px 14px 10px;
    background: #111111;
    border-top: 1px solid #1a1a1a;
}
.rh-banner-abstract .rh-banner-lbl {
    margin-bottom: 3px;
}
.rh-banner-abstract-text {
    color: #cccccc;
    font-size: 11px;
    line-height: 1.6;
}