MediaWiki:Common.css: Difference between revisions

From Nguhcraft Wiki
Jump to navigation Jump to search
No edit summary
(Added support for Laevanaak script)
Line 1: Line 1:
@import url('https://fonts.googleapis.com/css2?family=Andika:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@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");
}


/** Justified text w/ hyphenation. */
/** Justified text w/ hyphenation. */
Line 5: Line 10:
text-align: justify;
text-align: justify;
hyphens: auto;
hyphens: auto;
}
.script-laevanaak {
font-family: Laevanaak;
font-size: 150%;
}
}

Revision as of 14:29, 19 July 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");
}

/** Justified text w/ hyphenation. */
.vector-body p {
	text-align: justify;
	hyphens: auto;
}

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