MediaWiki:Common.css: Difference between revisions

From XionKB
Jump to navigationJump to search
(add bots to styling)
m (change star to use Arial)
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:ital,wght@0,600;1,600&display=swap");
@font-face {
@import url("https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,400;0,700;0,900;1,400;1,700&display=swap");
font-family: 'Arial';
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
src: url('https://xion.mt/arial.woff') format('woff');
@import url('https://fonts.googleapis.com/css2?family=Martel:wght@700&display=swap');
}


/* Webmasters */
/* Webmasters */
Line 21: Line 21:
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 42: Line 41:
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 63: Line 61:
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 72: Line 69:
/* The "star" in C*, F*, A*, ... */
/* The "star" in C*, F*, A*, ... */
._star {
._star {
font-family: 'Martel', sans-serif;
font-family: 'Arial', sans-serif;
font-weight: 700;
font-weight: 700;
position: relative;
position: relative;

Revision as of 19:07, 24 February 2023

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

@font-face {
	font-family: 'Arial';
	src: url('https://xion.mt/arial.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-with-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: 'Arial', sans-serif;
	font-weight: 700;
	position: relative;
	top: 0.3em;
}

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

/* Make examples stand out */
.example {
	font-family: Roboto, sans-serif;
	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;
}