MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
(Style links using the proper CSS variable)
m (Re-format rules with proper indentation. Remove some of the redundant !important overrides)
Line 7: Line 7:


/* Misc styles */
/* Misc styles */
pre { white-space: pre-wrap!important; border-radius: 0px!important; }
pre {
white-space: pre-wrap!important;
border-radius: 0px!important;  
}


.headerSort { font-weight: bold!important; border-radius: 0px!important; background-color: rgb(25, 25, 25) !important; }
.headerSort {
font-weight: bold!important;
border-radius: 0px!important;
background-color: rgb(25, 25, 25) !important;
}


.wikitable { border-radius: 0px!important; }
.wikitable {  
border-radius: 0px!important;  
}


.wikitable td { border-bottom: 1px solid #000!important;
.wikitable td {  
border-right: 1px solid #000!important;}
border-bottom: 1px solid #000!important;
border-right: 1px solid #000!important;
}


tbody tr.row-odd { background-color: rgb(35, 35, 35) !important; }
tbody tr.row-odd {
background-color: rgb(35, 35, 35) !important;  
}


.skin-citizen-dark #ca-edit > a, .skin-citizen-dark #ca-ve-edit > a {
.skin-citizen-dark #ca-edit > a, .skin-citizen-dark #ca-ve-edit > a {
Line 23: Line 36:


.skin-citizen-dark p code, .skin-citizen-dark ul li code {  
.skin-citizen-dark p code, .skin-citizen-dark ul li code {  
border: 1px solid #666!important;  
border: 1px solid #666;  
background-color: rgb(10, 10, 10)!important;  
background-color: rgb(10, 10, 10);  
}
}


p code, ul li code{
p code, ul li code{
padding: 3px!important;
padding: 3px;
padding-left: 10px!important;
padding-left: 10px;
padding-right: 10px!important;
padding-right: 10px;
}
}


li#ca-ve-edit.mw-list-item a, .mw-list-item { border: 0px!important;
li#ca-ve-edit.mw-list-item a, .mw-list-item {
border: 0px!important;
}
}




span.mw-page-title-main { color: rgb(230, 151, 16)!important; }  
span.mw-page-title-main {
color: rgb(230, 151, 16);  
}  


/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
Line 64: Line 80:
}
}


/* Main Page colored infoboxes */
.skin-citizen-dark .bg-greenish {
.skin-citizen-dark .bg-greenish {
background: hsl(141,32%,8%);
background: hsl(141,32%,8%);

Revision as of 18:09, 10 April 2024

/* try changing colors using variables right here vvvv */

.skin-citizen-dark a {
	--color-link: rgb(230, 151, 16);
}


/* Misc styles */
pre {
	white-space: pre-wrap!important;
	border-radius: 0px!important; 
}

.headerSort {
	font-weight: bold!important;
	border-radius: 0px!important;
	background-color: rgb(25, 25, 25) !important;
}

.wikitable { 
	border-radius: 0px!important; 
}

.wikitable td { 
	border-bottom: 1px solid #000!important;
	border-right: 1px solid #000!important;
}

tbody tr.row-odd {
	background-color: rgb(35, 35, 35) !important; 
}

.skin-citizen-dark #ca-edit > a, .skin-citizen-dark #ca-ve-edit > a {
	background-color: rgb(100, 70, 40)!important;
}

.skin-citizen-dark p code, .skin-citizen-dark ul li code { 
	border: 1px solid #666; 
	background-color: rgb(10, 10, 10); 
}

p code, ul li code{
	padding: 3px;
	padding-left: 10px;
	padding-right: 10px;
}

li#ca-ve-edit.mw-list-item a, .mw-list-item {
	border: 0px!important;
}


span.mw-page-title-main {
	color: rgb(230, 151, 16); 
} 

/* CSS placed here will be applied to all skins */
.infobox {
    background: #4c4c4c;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 1em 1em;
    padding: 1em;
    width: 400px;
}
.infobox-title {
    font-size: 2em;
    text-align: center;
}
.infobox-image {
    text-align: center;
}
.infobox th {
    text-align: right;
    vertical-align: top;
    width: 120px;
}
.infobox td {
    vertical-align: top;
}


/* Main Page colored infoboxes */
.skin-citizen-dark .bg-greenish {
	background: hsl(141,32%,8%);
}

.skin-citizen-light .bg-greenish {
	background: #b1ffcc;
}

.skin-citizen-dark .bg-reddish {
	background: hsl(300,32%,8%);
}

.skin-citizen-light .bg-reddish {
	background: #fbc9c9;
}

.skin-citizen-dark .bg-blueish {
	background: hsl(180,32%,10%);
}

.skin-citizen-light .bg-blueish {
	background: #bfffff;
}

.skin-citizen-dark .bg-purplish {
	background: hsl(240,32%,8%);
}

.skin-citizen-light .bg-purplish {
	background: #c7c7ff;	
}