MediaWiki:Citizen.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 1: Line 1:
/* All CSS here will be loaded for users of the Citizen skin */
/* All CSS here will be loaded for users of the Citizen skin */
/* Full site CSS */
:root {
:root {
--color-primary__h: 41;
--color-primary__h: 41;
Line 5: Line 6:
--color-primary__l: 47%;
--color-primary__l: 47%;
     --width-layout: 1280px;
     --width-layout: 1280px;
}
/* --- INFOBOXES --- */
/* infobox background (standard & portable) */
.infobox, .portable-infobox {
    background-color: var(--color-surface-2);
    border: 1px solid var(--border-color-base);
    border-radius: 8px;
    padding: 4px;
    color: var(--color-base);
}
/* infobox title (standard & portable) */
.infobox .infobox-above, .infobox .infobox-title, .infobox caption, .pi-title {
    background: none !important;
    font-size: 20px !important;
    font-weight: bold;
    text-align: center;
    padding-top: 4px;
    padding-bottom: 8px;
}
/* infobox images (standard & portable) */
.infobox-image a, .pi-image a {
    border-radius: 6px;
}
.infobox th {
  color: var(--color-base--emphasized)
}
/* remove border on portable infobox images and other stuff */
.pi-group {
    border: none;
}
/* add spacing below images on portable infoboxes */
.pi-group .pi-image {
    padding-bottom: 5px;
}
}

Revision as of 17:59, 7 June 2023

/* All CSS here will be loaded for users of the Citizen skin */
/* Full site CSS */
:root {
	--color-primary__h: 41;
	--color-primary__s: 86%;
	--color-primary__l: 47%;
    --width-layout: 1280px;
}

/* --- INFOBOXES --- */

/* infobox background (standard & portable) */
.infobox, .portable-infobox {
    background-color: var(--color-surface-2);
    border: 1px solid var(--border-color-base);
    border-radius: 8px;
    padding: 4px;
    color: var(--color-base);
}

/* infobox title (standard & portable) */
.infobox .infobox-above, .infobox .infobox-title, .infobox caption, .pi-title {
    background: none !important;
    font-size: 20px !important;
    font-weight: bold;
    text-align: center;
    padding-top: 4px;
    padding-bottom: 8px;
}

/* infobox images (standard & portable) */
.infobox-image a, .pi-image a {
    border-radius: 6px;
}

.infobox th {
   color: var(--color-base--emphasized)
}

/* remove border on portable infobox images and other stuff */
.pi-group {
    border: none;
}

/* add spacing below images on portable infoboxes */
.pi-group .pi-image {
    padding-bottom: 5px;
}