MediaWiki:Monobook.css: Difference between revisions

From XionKB
Jump to navigationJump to search
m (fix left-border on sidebar boxes)
(move fonts into common)
Line 1: Line 1:
/* All CSS here will be loaded for users of the MonoBook skin */
/* All CSS here will be loaded for users of the MonoBook skin */
@font-face {
font-family: 'Verdana';
src: url('https://xion.mt/verdana.woff') format('woff');
}
@font-face {
font-family: 'Verdana';
src: url('https://xion.mt/verdanab.woff') format('woff');
font-weight: bold;
}
@font-face {
font-family: 'Verdana';
src: url('https://xion.mt/verdanai.woff') format('woff');
font-style: italic;
}
@font-face {
font-family: 'Verdana';
src: url('https://xion.mt/verdanaz.woff') format('woff');
font-style: italic;
font-weight: bold;
}
@font-face {
font-family: 'Source Sans Pro';
src: url('https://xion.mt/sourcesanspro.woff') format('woff');
}
@font-face {
font-family: 'Source Sans Pro';
src: url('https://xion.mt/sourcesansprob.woff') format('woff');
font-weight: bold;
}
@font-face {
font-family: 'Source Sans Pro';
src: url('https://xion.mt/sourcesansproi.woff') format('woff');
font-style: italic;
}
@font-face {
font-family: 'Source Sans Pro';
src: url('https://xion.mt/sourcesansproz.woff') format('woff');
font-style: italic;
font-weight: bold;
}
@font-face {
font-family: 'Source Code Pro';
src: url('https://xion.mt/scpro.woff') format('woff');
}
@font-face {
font-family: 'Source Code Pro';
src: url('https://xion.mt/scprob.woff') format('woff');
font-weight: bold;
}
@font-face {
font-family: 'Source Code Pro';
src: url('https://xion.mt/scproi.woff') format('woff');
font-style: italic;
}
@font-face {
font-family: 'Source Code Pro';
src: url('https://xion.mt/scproz.woff') format('woff');
font-style: italic;
font-weight: bold;
}
@font-face {
font-family: 'Source Han Mono';
src: url('https://xion.mt/sourcehanmono.woff') format('woff');
}
@font-face {
font-family: 'Source Han Mono';
src: url('https://xion.mt/sourcehanmonob.woff') format('woff');
font-weight: bold;
}


body {
body {
Line 89: Line 6:
background-repeat: repeat;
background-repeat: repeat;
background-attachment: fixed;
background-attachment: fixed;
font-family: 'Verdana', 'Source Han Sans', sans-serif;
}
}


Line 162: Line 78:
border-color: rgb(170, 170, 170);
border-color: rgb(170, 170, 170);
border-color: rgba(170, 170, 170, 0.5);
border-color: rgba(170, 170, 170, 0.5);
font-family: 'Source Code Pro', 'Source Han Mono', monospace;
}
}


Line 174: Line 89:


code.example {
code.example {
font-family: Roboto, sans-serif;
background-color: rgb(248, 249, 250);
background-color: rgb(248, 249, 250);
background-color: rgba(248, 249, 250, 0.5);
background-color: rgba(248, 249, 250, 0.5);

Revision as of 15:54, 3 March 2023

/* All CSS here will be loaded for users of the MonoBook skin */

body {
	background-image: url('https://cdn2.arqadium.com/f/0685726afd3749fd8f025dcacaee5395/unknown.jpg');
	background-position: center;
	background-repeat: repeat;
	background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
	border-color: rgb(170, 170, 170);
	border-color: rgba(170, 170, 170, 0.667);
}

#p-cactions li {
	border: 1px solid rgb(170, 170, 170);
	border: 1px solid rgba(170, 170, 170, 0.667);
	background-color: rgb(255, 255, 255);
	background-color: rgba(255, 255, 255, 0.667);
	border-top-left-radius: 0.35rem;
	border-top-right-radius: 0.35rem;
}

#p-cactions li.selected a, #p-cactions li a {
	background-color: transparent !important;
}

#p-cactions li a {
	background-color: transparent !important;
}

#p-cactions li.selected {
	border-color: rgb(250, 189, 35);
	border-color: rgba(250, 189, 35, 0.667);
	background-color: rgb(255, 255, 255);
	background-color: rgba(255, 255, 255, 0.667);
}

#p-cactions li a:hover {
	background-color: rgb(255, 255, 255);
	background-color: rgba(255, 255, 255, 0.667);
}

.mw-body {
	background-color: rgb(255, 255, 255);
	background-color: rgba(255, 255, 255, 0.667);
	border-color: rgb(170, 170, 170);
	border-color: rgba(170, 170, 170, 0.667);
	border-top-left-radius: 0.5rem;
	border-bottom-left-radius: 0.5rem;
	border-right: none;
}

.pBody {
	background-color: rgb(255, 255, 255);
	background-color: rgba(255, 255, 255, 0.667);
	border-color: rgb(170, 170, 170);
	border-color: rgba(170, 170, 170, 0.667);
	border-top-right-radius: 0.5rem;
	border-bottom-right-radius: 0.5rem;
	border-left: none;
}

body:not(.skin--responsive) .pBody {
	border-left: none;
}

#footer {
	background-color: rgb(255, 255, 255);
	background-color: rgba(255, 255, 255, 0.667);
	border-color: rgb(250, 189, 25);
	border-color: rgba(250, 189, 25, 0.667);
}

pre, .mw-code, code {
	background-color: rgb(248, 249, 250);
	background-color: rgba(248, 249, 250, 0.5);
	border-color: rgb(170, 170, 170);
	border-color: rgba(170, 170, 170, 0.5);
}

pre, .mw-code {
	border-radius: 0.75rem;
}

code {
	border-radius: 0.2rem;
}

code.example {
	background-color: rgb(248, 249, 250);
	background-color: rgba(248, 249, 250, 0.5);
	border-color: rgb(170, 170, 170);
	border-color: rgba(170, 170, 170, 0.5);
	border-radius: 0.2rem;
}

.wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td {
	background-color: transparent;
	border-color: rgb(162, 169, 177);
	border-color: rgba(162, 169, 177, 0.5);
}

.wikitable {
	background-color: rgb(248, 249, 250);
	background-color: rgba(248, 249, 250, 0.5);
}

.wikitable, .wikitable > tbody, .wikitable > tbody > tr {
	border-color: rgb(162, 169, 177);
	border-color: rgba(162, 169, 177, 0.5);
}

.mw-highlight {
	background-color: transparent;
}