Jump to content

MediaWiki:Common.css

From ClimateKG
Revision as of 05:27, 19 May 2026 by Laura (talk | contribs)

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.
/* CSS placed here will be applied to all skins */

/* Make images responsive */
img {
    max-width:90%;
    height:auto;
}


/* Table styling  */
table th {
    background-color: #4c8fcc !important;
    color: #ffffff !important;
}

table tr:nth-child(odd) {
    background-color: #fffffff;
}
 
table tr:nth-child(even) {
    background-color: #d7e2f3;
}


/* AR6 Templates ***************************************** */

/* CorpusNavigation */
.ar6-box {
    width: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #f9f9f7;
    font-family: sans-serif;
    padding: 12px 14px;
    box-sizing: border-box;
    margin: 0 0 1.5em 0;
}
.ar6-header {
    color: #b3b3b3;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}
.ar6-labels {
    display: grid;
    grid-template-columns: 3fr 21px 3fr 21px 1fr;
    margin-bottom: 6px;
}
.ar6-group-label {
    color: #b3b3b3;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-align: center;
}
.ar6-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 21px 1fr 1fr 1fr 21px 1fr;
    align-items: end;
}
.ar6-cover {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 0 3px;
}
.ar6-cover img {
    width: 100%;
    height: auto;
    aspect-ratio: 3/4;
    border: 1px solid #d0d0d0;
    border-radius: 2px;
    display: block;
    object-fit: cover;
}
.ar6-cover:hover img {
    border-color: #00aeef;
}
.ar6-label {
    color: #b3b3b3;
    font-size: 10px;
    font-weight: 500;
    text-align: center;
}
.ar6-cover:hover .ar6-label {
    color: #2b3990;
}
.ar6-divider-col {
    width: 1px;
    background: #e0e0e0;
    align-self: stretch;
    margin: 0 10px;
}
/* Active state — dim all covers, then highlight the active one */
.ar6-active-syr .ar6-cover,
.ar6-active-wgi .ar6-cover,
.ar6-active-wgii .ar6-cover,
.ar6-active-wgiii .ar6-cover,
.ar6-active-sr15 .ar6-cover,
.ar6-active-srccl .ar6-cover,
.ar6-active-srocc .ar6-cover {
    opacity: 0.4;
    transition: opacity 0.15s;
}
.ar6-active-syr .ar6-cover:hover,
.ar6-active-wgi .ar6-cover:hover,
.ar6-active-wgii .ar6-cover:hover,
.ar6-active-wgiii .ar6-cover:hover,
.ar6-active-sr15 .ar6-cover:hover,
.ar6-active-srccl .ar6-cover:hover,
.ar6-active-srocc .ar6-cover:hover {
    opacity: 1;
}
.ar6-active-syr .ar6-syr,
.ar6-active-wgi .ar6-wgi,
.ar6-active-wgii .ar6-wgii,
.ar6-active-wgiii .ar6-wgiii,
.ar6-active-sr15 .ar6-sr15,
.ar6-active-srccl .ar6-srccl,
.ar6-active-srocc .ar6-srocc {
    opacity: 1;
}
.ar6-active-syr .ar6-syr img,
.ar6-active-wgi .ar6-wgi img,
.ar6-active-wgii .ar6-wgii img,
.ar6-active-wgiii .ar6-wgiii img,
.ar6-active-sr15 .ar6-sr15 img,
.ar6-active-srccl .ar6-srccl img,
.ar6-active-srocc .ar6-srocc img {
    border: 2px solid #00aeef;
    border-radius: 3px;
}
.ar6-active-syr .ar6-syr .ar6-label,
.ar6-active-wgi .ar6-wgi .ar6-label,
.ar6-active-wgii .ar6-wgii .ar6-label,
.ar6-active-wgiii .ar6-wgiii .ar6-label,
.ar6-active-sr15 .ar6-sr15 .ar6-label,
.ar6-active-srccl .ar6-srccl .ar6-label,
.ar6-active-srocc .ar6-srocc .ar6-label {
    color: #2b3990;
}
/* When active=none or parameter omitted — no dimming */
.ar6-active-none .ar6-cover {
    opacity: 1;
}

/* 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-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    padding-right: 12px;
}
.rtoc-entry-title {
    color: #2b3990;
    font-size: 12px;
}
.rtoc-entry-subtitle {
    color: #b3b3b3;
    font-size: 11px;
    line-height: 1.4;
}
.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;
}
.rtoc-oos {
    padding: 7px 14px;
    font-size: 11px;
    font-style: italic;
    color: #888888;
}

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



/* Design Styling ***************************************** */

/* Glossary styling for MediaWiki */
.glossary-letter-section {
  border-left: 5px solid #2b3990;
  padding-left: 16px;
  margin: 0 0 24px 0;
}
.glossary-letter-section h2 {
  font-size: 18px;
  font-weight: 500;
  color: #2b3990;
  margin: 0 0 16px 0;
  letter-spacing: 1px;
}
.glossary-entry {
  background: #eff6fc;
  border: 0.5px solid #d3d1c7;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 12px;
}
.glossary-entry h3 {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 500;
}
.glossary-term {
  color: #1600ff;
  font-weight: 500;
}
.glossary-working-groups,
.glossary-longer-term,
.glossary-definition {
  font-size: 13px;
  line-height: 1.6;
  margin: 6px 0;
  color: #030001;
}
.glossary-working-groups {
  color: #808080;
}
.glossary-working-groups strong,
.glossary-longer-term strong,
.glossary-definition strong {
  color: #2b3990;
  font-weight: 500;
}

/* Acronyms list styling for MediaWiki */

.acronyms-letter-section {
  border-left: 5px solid #00aeef;
  padding-left: 16px;
  margin: 0 0 24px 0;
}

.acronyms-letter-section h2 {
  font-size: 13px;
  font-weight: 500;
  color: #2b3990;
  margin: 0 0 12px 0;
  letter-spacing: 1px;
}

.acronyms-entry {
  background: #ffffff;
  border: 0.5px solid #d3d1c7;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 8px;
}

.acronyms-entry h3 {
  margin: 0 0 8px 0;
  font-size: 15px;
  font-weight: 500;
}

.acronyms-term {
  color: #1600ff;
  font-weight: 500;
  font-family: monospace;
}

.acronyms-description {
  font-size: 13px;
  line-height: 1.5;
  margin: 4px 0;
  color: #030001;
}

.acronyms-report {
  font-size: 11px;
  line-height: 1.4;
  margin: 6px 0 0 0;
  color: #b3b3b3;
}

.acronyms-description strong,
.acronyms-report strong {
  color: #00aeef;
  font-weight: 500;
}

.acronyms-report strong {
  color: #b3b3b3;
}