MediaWiki:Citizen.css

/* All CSS here will be loaded for users of the Citizen skin */ /******************************************************  Allow text, tables and images to sit side by side .citizen-table-wrapper { overflow-x: initial; }

/************************************************** * Styling for responsive flex boxes *************************************************/ /* * { box-sizing: border-box; } */

.flex-container { display: flex; flex-direction: row; }

.flex-item { background-color:var(--color-surface-1); border:1px solid var(--border-color-base); color:var(--color-base-emphasized); border-radius: 8px; box-shadow: 0 3px 6px rgba(0,0,0,0.04),0 3px 6px rgba(0,0,0,0.0575); padding: 10px; margin: 5px; flex: 33.3%; box-sizing: border-box; }

/* Responsive layout - makes a one column-layout instead of two-column layout */ @media (max-width: 700px) { .flex-container { flex-direction: column; } }

/********************************************************* * Styling for a responsive image gallery with 4 coloumns *********************************************************/ .row { display: flex; flex-wrap: wrap; padding: 0 5px; }

/* Create four equal columns that sits next to each other */ .column { flex: 23%; max-width: 100%; background-color:var(--color-surface-1); border:1px solid var(--border-color-base); color:var(--color-base-emphasized); border-radius: 8px; box-shadow: 0 3px 6px rgba(0,0,0,0.04),0 3px 6px rgba(0,0,0,0.0575); padding: 5px 10px; margin: 5px; }

.column img { margin-top: 8px; vertical-align: middle; }

/* Responsive layout - makes a two column-layout instead of four columns */ @media (max-width: 800px) { .column { flex: 48%; max-width: 100%; } }

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */ @media (max-width: 600px) { .column { flex: 100%; max-width: 100%; } }

/************************************************************ * citizen-basictable of plain white for clean look general use *******************************************************/ table.citizen-basictable { background-color: var(--color-surface-1); border: 1px solid var(--border-color-base); color: var(--color-base-emphasized); text-align: left; margin: 5px 0; }

table.citizen-basictable > tr > th, table.citizen-basictable > tr > td, table.citizen-basictable > * > tr > th, table.citizen-basictable > * > tr > td { background-color: var(--color-surface-1); /* border: 1px solid var(--border-color-base);*/ padding: 0.2em 0.4em; text-align: left; font-size: 90%; }

table.citizen-basictable > tr > th, table.citizen-basictable > * > tr > th { background-color: var(--color-surface-1); text-align: center; }

table.citizen-basictable > caption { font-weight: bold; }

/******************************************************** * Blockquote styling for Citizen skin *******************************************************/ blockquote { color: var(--color-base--subtle); padding: 8px 32px; margin: 8px 40px; font-style: normal; }

/********************************************************* * Icon/logo after wordmark ********************************************************/ .mw-logo-wordmark { display: flex; align-items: center; gap: var( --space-sm ); }

.mw-logo-wordmark:after { content: ""; width: 1.5em; height: 1.5em; display: block; background-image: url( https://static.wikiforge.net/thegreatwarwikitide/5/5b/Poppy_50px.png ); }