MediaWiki:Common.css

From ClimateKG
Revision as of 04:36, 10 April 2026 by Design (talk | contribs)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* 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: 10px;
}
.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;
}