MediaWiki:Common.css: Difference between revisions

From XionKB
Jump to navigationJump to search
(add music fonts and pala)
m (fix fonts)
Line 7: Line 7:


@font-face {
@font-face {
font-family: 'Palatino Linotype';
font-family: 'Malgun Gothic';
src: url('https://xion.mt/pala.woff') format('woff');
src: url('https://xion.mt/malgunbd.woff') format('woff');
}
 
@font-face {
font-family: 'Segoe UI Symbol';
src: url('https://xion.mt/seguisym.woff') format('woff');
}
}


Line 81: Line 86:
}
}


/* The "flat" in C♭ and "sharp" in C♯ */
/* The "flat" in C♭ and then the "sharp" in C♯ */
._music {
._music {
font-family: 'Palatino Linotype', serif;
font-family: 'Malgun Gothic', 'Segoi UI Symbol', serif;
font-weight: 400;
font-weight: 400;
}
}

Revision as of 17:16, 2 March 2023

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

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

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

@font-face {
	font-family: 'Segoe UI Symbol';
	src: url('https://xion.mt/seguisym.woff') format('woff');
}

/* 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 {
	font-family: 'Bahnschrift', sans-serif;
	font-weight: 200;
	font-size: 150%;
	position: relative;
	top: 0.35em;
}

/* The "flat" in C♭ and then the "sharp" in C♯ */
._music {
	font-family: 'Malgun Gothic', 'Segoi UI Symbol', serif;
	font-weight: 400;
}

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