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
(Flipped tab/button colors)
m (tab text tweaks)
Line 65: Line 65:
     background-color: var(--color-primary--active);
     background-color: var(--color-primary--active);
     border-color: var(--color-primary--active);
     border-color: var(--color-primary--active);
    color: rgba(255,255,255,0.87); /* --color-base--emphasized but not! */
}
}
.tabs-label:active, .tabs-label:focus {
.tabs-label:active, .tabs-label:focus {
Line 98: Line 99:
}
}
div.tabdiv > ul > li a {
div.tabdiv > ul > li a {
   color: #FFF;
   color: rgba(255,255,255,0.87);
}
}
li.gallerybox div.thumb {
li.gallerybox div.thumb {

Revision as of 22:38, 17 February 2021

/* All CSS here will be loaded for users of the Citizen skin */
html {
	--width-layout: 1280px;
}
.mw-references-columns {
	margin: 0.8rem 0 0 0;
}
.center {
	width: 100%;
	text-align: center;
}
.news-box {
	border-color: var(--background-color-dp-04); /* #2b2f36 */
	background-color: var(--background-color-dp-01); /* #24262f */
}
.extiw {
	padding-right: 13px;
	background-image: url(/skins/Citizen/resources/skins.citizen.styles/images/external-link-ltr-icon.svg);
	background-position: center right;
	background-repeat: no-repeat;
}
.outcell {
	border: 1px solid var(--background-color-dp-01); /* #23272f; */
}
.infobox {
	background: var(--background-color-dp-01); /* #23272f; */
}
/* Tables */
table {
	display: table;
}
table.wikitable {
	background: var(--background-color-dp-01); /* #23272f; */
	border: 1px solid var(--border-color-base);
}
table.wikitable tr th {
	padding: 5px 10px 5px 10px;
	text-align: center;
	vertical-align: middle;
}
table.wikitable tr td {
	padding: 5px 10px 5px 10px;
	text-align: center;
	vertical-align: middle;
}
/* Fix for displaying gameplay elements for BBDW characters - Too general? */
.mw-body-content a.image {
    display: inline;
}
/* Navbox */
table.navbox {
	background: var(--background-color-dp-01); /* #23272f; */
}
.navbox-title, table.navbox th {
	background: var(--background-color-dp-08);
}
.subpagelist {
	background: var(--background-color-dp-03);
}
.subpagelist a {
	color: var(--color-primary--hover);
}
/* Infobox Tabs */
.tabs-label {
    background-color: var(--color-primary--active);
    border-color: var(--color-primary--active);
    color: rgba(255,255,255,0.87); /* --color-base--emphasized but not! */
}
.tabs-label:active, .tabs-label:focus {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}
.tabs-label:hover {
    background-color: var(--color-primary--hover);
    border-color: var(--color-primary--hover);
}
.tabs-plain > .tabs-label {
	border-color: var(--color-primary--active);
}
.tabs-tabbox > .tabs-input:checked + .tabs-label {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}
.tabs-input-0:checked + .tabs-input-1 + .tabs-label {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}
div.tabdiv > ul > li {
	background-color: var(--color-primary--active);
    border-color: var(--color-primary--active);
}
div.tabdiv > ul > li:hover {
	background-color: var(--color-primary--hover);
    border-color: var(--color-primary--hover);
}
div.tabdiv > ul > li.active {
	background-color: var(--color-primary);
	border-color: var(--color-primary);
}
div.tabdiv > ul > li a {
  color: rgba(255,255,255,0.87);
}
li.gallerybox div.thumb {
	border-color: var(--background-color-dp-24);
	background-color: var(--background-color-framed);
}
#content .gallerybox div.thumb {
	border-color: var(--background-color-dp-24);
	background-color: var(--background-color-framed);
}