MediaWiki:Common.css: Difference between revisions

From XionKB
Jump to navigationJump to search
(use Neoverdana! :))
m (add editor to use source code pro)
Line 88: Line 88:
}
}


pre, .mw-code, code {
pre, .mw-code, code, .mw-editfont-monospace {
font-family: 'Source Code Pro', 'Source Han Mono', monospace;
font-family: 'Source Code Pro', 'Source Han Mono', monospace;
}
}

Revision as of 19:27, 7 March 2023

/* CSS placed here will be applied to all skins */

@font-face {
	font-family: 'Neoverdana';
	src: url('https://xion.mt/nverdan.woff') format('woff');
}

@font-face {
	font-family: 'Neoverdana';
	src: url('https://xion.mt/nverdanb.woff') format('woff');
	font-weight: bold;
}

@font-face {
	font-family: 'Neoverdana';
	src: url('https://xion.mt/nverdani.woff') format('woff');
	font-style: italic;
}

@font-face {
	font-family: 'Neoverdana';
	src: url('https://xion.mt/nverdanz.woff') format('woff');
	font-weight: bold;
	font-style: italic;
}

@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 {
	font-family: 'Neoverdana', 'Source Sans Pro', 'Source Han Sans', sans-serif;
}

pre, .mw-code, code, .mw-editfont-monospace {
	font-family: 'Source Code Pro', 'Source Han Mono', monospace;
}

/* Webmasters */
span.history-user[href="/User:Alexander"],
div.mw-body[href="/User:Alexander"],
div.mw-warning-with-logexcerpt[href="/User:Alexander"],
a.mw-userlink[href="/User:Alexander"] {
	font-style: italic;
	font-weight: bold;
}

span.history-user[href="/User:Alexander"]:after,
div.mw-body[href="/User:Alexander"]:after,
div.mw-warning-with-logexcerpt[href="/User:Alexander"]:after,
a.mw-userlink[href="/User:Alexander"]:after {
	content: 'ξ';
	padding-left: 0.25em;
	font-style: normal;
	font-weight: bold;
	color: rgb(230, 118, 53);
	text-shadow: 0.07em 0.07em 0.05em rgba(0,0,0,0.75);
}

/* Administrators */
span.history-user[href="/User:Rune"],
div.mw-body[href="/User:Rune"],
div.mw-warning-with-logexcerpt[href="/User:Rune"],
a.mw-userlink[href="/User:Rune"] {
	font-style: italic;
}

span.history-user[href="/User:Rune"]:after,
div.mw-body[href="/User:Rune"]:after,
div.mw-warning-with-logexcerpt[href="/User:Rune"]:after,
a.mw-userlink[href="/User:Rune"]:after {
	content: 'α';
	padding-left: 0.25em;
	font-style: normal;
	font-weight: bold;
	color: rgb(181, 48, 36);
	text-shadow: 0.07em 0.07em 0.05em rgba(0,0,0,0.75);
}

/* Bots */
span.history-user[href="/User:MediaWiki_default"],
div.mw-body[href="/User:MediaWiki_default"],
div.mw-warning-w7ith-logexcerpt[href="/User:MediaWiki_default"],
a.mw-userlink[href="/User:MediaWiki_default"] {
	font-style: italic;
}

span.history-user[href="/User:MediaWiki_default"]:after,
div.mw-body[href="/User:MediaWiki_default"]:after,
div.mw-warning-with-logexcerpt[href="/User:MediaWiki_default"]:after,
a.mw-userlink[href="/User:MediaWiki_default"]:after {
	content: 'π';
	padding-left: 0.25em;
	font-style: normal;
	font-weight: bold;
	color: rgb(37, 62, 154);
	text-shadow: 0.07em 0.07em 0.05em rgba(0,0,0,0.75);
}

/* The "star" in C*, F*, A*, ... */
._star {}

/* The "flat" in C♭ and then the "sharp" in C♯ */
._music {}

/* Make hidden explanatory text noticeable */
.abbr {
	border-bottom: 0.05rem dotted #000;
	cursor: pointer;
}

/* Make examples stand out */
.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;
}

.roundy {
	border-top-left-radius:0.35em;
	border-top-right-radius:0.35em;
	border-bottom-left-radius:0.7em;
	border-bottom-right-radius:0.7em;
}

hr {
	margin-top: 1em;
	margin-bottom: 1em;
}

.mw-wiki-logo {
	background-size: 155px;
}

span.sig > a, span.sig > a:link, span.sig > a:visited, span.sig > a:active,
span.sig > a:hover {
	text-decoration: none;
}