MediaWiki:Common.css: Difference between revisions

From XionKB
Jump to navigationJump to search
m (try corbel)
m (update roundy styles)
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
@import url('https://fonts.googleapis.com/css2?family=Vollkorn:wght@700');
@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-face {
font-family: 'Arial';
font-family: 'Source Code Pro';
src: url('https://xion.mt/arial.woff') format('woff');
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, tt, .mw-editfont-monospace {
font-family: 'Source Code Pro', 'Source Han Mono', monospace;
}
 
/* Xion Megatrends faculty */
span.history-user[href="/User:Alexander"]:before,
div.mw-body[href="/User:Alexander"]:before,
div.mw-warning-with-logexcerpt[href="/User:Alexander"]:before,
a.mw-userlink[href="/User:Alexander"]:before {
content: 'χ';
padding-right: 0.25em;
font-family: 'Vollkorn', serif;
font-style: normal;
font-weight: bold;
color: rgb(96, 96, 96);
text-shadow: 0.07em 0.07em 0.05em rgba(0,0,0,0.75);
}
}


Line 21: Line 123:
content: 'ξ';
content: 'ξ';
padding-left: 0.25em;
padding-left: 0.25em;
font-family: 'Vollkorn', serif;
font-style: normal;
font-style: normal;
font-weight: bold;
font-weight: bold;
Line 41: Line 144:
content: 'α';
content: 'α';
padding-left: 0.25em;
padding-left: 0.25em;
font-family: 'Vollkorn', serif;
font-style: normal;
font-style: normal;
font-weight: bold;
font-weight: bold;
Line 50: Line 154:
span.history-user[href="/User:MediaWiki_default"],
span.history-user[href="/User:MediaWiki_default"],
div.mw-body[href="/User:MediaWiki_default"],
div.mw-body[href="/User:MediaWiki_default"],
div.mw-warning-with-logexcerpt[href="/User:MediaWiki_default"],
div.mw-warning-w7ith-logexcerpt[href="/User:MediaWiki_default"],
a.mw-userlink[href="/User:MediaWiki_default"] {
a.mw-userlink[href="/User:MediaWiki_default"] {
font-style: italic;
font-style: italic;
Line 61: Line 165:
content: 'π';
content: 'π';
padding-left: 0.25em;
padding-left: 0.25em;
font-family: 'Vollkorn', serif;
font-style: normal;
font-style: normal;
font-weight: bold;
font-weight: bold;
Line 68: Line 173:


/* The "star" in C*, F*, A*, ... */
/* The "star" in C*, F*, A*, ... */
._star {
._star {}
font-family: 'Corbel', sans-serif;
 
font-weight: 700;
/* The "flat" in C♭ and then the "sharp" in C♯ */
font-size: 125%;
._music {}
position: relative;
top: 0.3em;
}


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


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


Line 110: Line 209:
span.sig > a:hover {
span.sig > a:hover {
text-decoration: none;
text-decoration: none;
}
div.thumbinner {
min-width: 100px;
}
}

Latest revision as of 05:17, 14 April 2024

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

@import url('https://fonts.googleapis.com/css2?family=Vollkorn:wght@700');

@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, tt, .mw-editfont-monospace {
	font-family: 'Source Code Pro', 'Source Han Mono', monospace;
}

/* Xion Megatrends faculty */
span.history-user[href="/User:Alexander"]:before,
div.mw-body[href="/User:Alexander"]:before,
div.mw-warning-with-logexcerpt[href="/User:Alexander"]:before,
a.mw-userlink[href="/User:Alexander"]:before {
	content: 'χ';
	padding-right: 0.25em;
	font-family: 'Vollkorn', serif;
	font-style: normal;
	font-weight: bold;
	color: rgb(96, 96, 96);
	text-shadow: 0.07em 0.07em 0.05em rgba(0,0,0,0.75);
}

/* 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-family: 'Vollkorn', serif;
	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-family: 'Vollkorn', serif;
	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-family: 'Vollkorn', serif;
	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: 1px 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-radius: 5px 5px 10px 10px;
}

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;
}

div.thumbinner {
	min-width: 100px;
}