Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Citizen.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 93: Line 93:
     color: var(--color-base);
     color: var(--color-base);
     background: var(--color-surface-0);
     background: var(--color-surface-0);
     border: 1px solid #c8ccd1;
     border: 1px solid var(--border-color-base);
     border-radius: var(--border-radius--medium);
     border-radius: var(--border-radius--medium);
}
}

Revision as of 19:57, 21 November 2023

.infobox {
  margin-bottom: var( --space-md );
  background: var( --color-surface-2 );
  border-radius: var( --border-radius--medium );
  display: table;
  min-width: 25em;
  max-width: 30em;
  border-collapse: collapse;
  float: right;
  clear: right;
  margin: 2em;
  margin-right: 0;
  margin-top: 0;
  overflow: hidden;
}

.infobox tbody tr {
  border-top: 1px solid var(--border-color-base);
}
.infobox tbody tr:nth-child(1) { border: none; }
.infobox tbody tr * {
  vertical-align: middle;
  padding: var(--space-sm) 0;
}
.infobox tbody tr .infobox-heading {
  text-align: center;
  padding-left: 1em;
  padding-right: 1em;
  background: var(--color-primary--hover);
  color: white;
}
.infobox tbody tr th {
  width: 40%;
  text-align: left;
  padding-left: 1em;
}

.infobox tbody tr td {
  width: 60%;
  padding-right: 1em;
}


.frontpage-container-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 0.25em;
}
.frontpage-container-row .frontpage-container-column {
  flex: 1;
  background: var( --color-surface-2 );
  border-radius: var( --border-radius--medium );
  border: 1px solid var(--border-color-base);
  overflow: hidden;
  margin: 0.5em;
  padding: 0;
}
.frontpage-container-row .frontpage-container-column h2 {
margin: 0;
font-size: 1em;
}
.frontpage-container-row * {
  padding: 0.5em;
}
.frontpage-container-heading {
  text-align: left;
  margin: 0;
  padding-left: 1em;
  padding-right: 1em;
  border-bottom: 1px solid var(--border-color-base);
  color: white;
  padding: var(--space-sm)
}
.frontpage-container-content {
  margin: var(--space-sm)
}
.container-row-links-grid .frontpage-container-column {
    text-align: center;
}
.page-Main_Page header.mw-body-header {
    display: none;
}

.container-row-links-grid .frontpage-container-column p {
  padding: 0;
}
.frontpage-title {
    margin: 0.5em;
}

.editOptions {
    color: var(--color-base);
    background: var(--color-surface-0);
    border: 1px solid var(--border-color-base);
    border-radius: var(--border-radius--medium);
}