MediaWiki:Common.css: Difference between revisions

From Nguhcraft Wiki
Jump to navigation Jump to search
mNo edit summary
(Add Kathyrian script)
Line 13: Line 13:
src: url(https://mc.nguh.org/w/images/f/fe/Cadwg-Regular.ttf) format("truetype");
src: url(https://mc.nguh.org/w/images/f/fe/Cadwg-Regular.ttf) format("truetype");
}
}
 
@font-face {
font-family: Kathyrian;
src: url(https://mc.nguh.org/w/images/3/3d/Kathyrian-script.ttf) format("truetype");
}
/** Justified text w/ hyphenation. */
/** Justified text w/ hyphenation. */
.vector-body p {
.vector-body p {
Line 32: Line 35:
.script-cadwg {
.script-cadwg {
font-family: Cadwg;
font-family: Cadwg;
}
.script-kathyr {
font-family: Kathyrian;
}
}

Revision as of 20:25, 19 October 2024

@import url('https://fonts.googleapis.com/css2?family=Andika:ital,wght@0,400;0,700;1,400;1,700&display=swap');

@font-face {
	font-family: Laevanaak;
	src: url(https://mc.nguh.org/w/images/9/9d/LaenavaakModern-Regular.ttf) format("truetype");
}
@font-face {
	font-family: Nahan;
	src: url(https://mc.nguh.org/w/images/6/60/Nahan-Regular.ttf) format("truetype");
}
@font-face {
	font-family: Cadwg;
	src: url(https://mc.nguh.org/w/images/f/fe/Cadwg-Regular.ttf) format("truetype");
}
@font-face {
	font-family: Kathyrian;
	src: url(https://mc.nguh.org/w/images/3/3d/Kathyrian-script.ttf) format("truetype");
}
/** Justified text w/ hyphenation. */
.vector-body p {
	text-align: justify;
	hyphens: auto;
}

.script-laevanaak {
	font-family: Laevanaak;
	font-size: 150%;
}

.script-nahan {
	font-family: Nahan;
	font-size: 50%;
}

.script-cadwg {
	font-family: Cadwg;
}

.script-kathyr {
	font-family: Kathyrian;
}