MediaWiki:Common.css: Difference between revisions

From Nguhcraft Wiki
Jump to navigation Jump to search
(Add Andika font for tricky IPA)
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* Font that actuall supports IPA */
/* Font that actuall supports IPA */
@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=Charis+SIL:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@font-face {
font-family: Andika;
src: url(https://mc.nguh.org/w/images/8/8b/Andika-Regular.ttf) format("truetype");
}


.ipa {
.ipa {
Line 6: Line 10:
   font-weight: 400;
   font-weight: 400;
   font-style: normal;
   font-style: normal;
   font-feature-settings: "ss13" on;
   font-feature-settings: "ss13";
}
/* Justified text w/ hyphenation. */
.vector-body p {
text-align: justify;
hyphens: auto;
}
}
/* All the conscripts */
/* All the conscripts */
@font-face {
@font-face {
Line 22: Line 30:
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");
}
@font-face {
@font-face {
font-family: Chulhaam;
font-family: Chulhaam;
Line 35: Line 40:
src: url(https://mc.nguh.org/w/images/4/4f/Theurilaa.ttf) format("truetype");
src: url(https://mc.nguh.org/w/images/4/4f/Theurilaa.ttf) format("truetype");
}
}
/** Justified text w/ hyphenation. */
 
.vector-body p {
@font-face{
text-align: justify;
  font-family: 'AH Rokajang Shika';
hyphens: auto;
  src: url("https://cdn.jsdelivr.net/gh/Astralneko/ahrokajang@master/AHRokajangShika.ttf") format('truetype');
}
 
@font-face{
font-family: 'Kozlahu';
src: url("https://mc.nguh.org/w/images/2/2d/Kozlahu.ttf") format('truetype');
}
 
@font-face{
font-family: 'Aparatas';
src: url("https://mc.nguh.org/w/images/4/43/Aparatas.ttf") format('truetype');
}
 
@font-face {
font-family: 'Sq';
src: url("https://mc.nguh.org/w/images/0/08/SqScript.ttf") format('truetype');
}
 
@font-face {
font-family: 'CMC-Currency';
src: url("https://mc.nguh.org/w/images/7/7a/Nahan_Currency.ttf") format("truetype");
}
}


Line 48: Line 73:
.script-nahan {
.script-nahan {
font-family: Nahan;
font-family: Nahan;
font-size: 50%;
font-size: 150%;
}
}


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


Line 66: Line 87:
.script-thl {
.script-thl {
font-family: Theurilaa;
font-family: Theurilaa;
}
.script-rkdg {
font-family: AH Rokajang Shika;
}
.script-koz {
font-family: Kozlahu;
}
.script-sq {
font-family: Sq;
}
.script-aprts{
font-family: Aparatas;
}
.script-nahan-currency {
font-family: 'CMC-Currency';
}
}

Latest revision as of 21:07, 17 January 2025

/* Font that actuall supports IPA */
@import url('https://fonts.googleapis.com/css2?family=Charis+SIL:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@font-face {
	font-family: Andika;
	src: url(https://mc.nguh.org/w/images/8/8b/Andika-Regular.ttf) format("truetype");
}

.ipa {
  font-family: "Andika";
  font-weight: 400;
  font-style: normal;
  font-feature-settings: "ss13";
}
 /* Justified text w/ hyphenation. */
.vector-body p {
	text-align: justify;
	hyphens: auto;
}
/* All the conscripts */
@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: Chulhaam;
	src: url(https://mc.nguh.org/w/images/6/64/Chulhaam_Script.ttf) format("truetype");
}

@font-face {
	font-family: Theurilaa;
	src: url(https://mc.nguh.org/w/images/4/4f/Theurilaa.ttf) format("truetype");
}

@font-face{
   font-family: 'AH Rokajang Shika';
   src: url("https://cdn.jsdelivr.net/gh/Astralneko/ahrokajang@master/AHRokajangShika.ttf") format('truetype');
}

@font-face{
	font-family: 'Kozlahu';
	src: url("https://mc.nguh.org/w/images/2/2d/Kozlahu.ttf") format('truetype');
}

@font-face{
	font-family: 'Aparatas';
	src: url("https://mc.nguh.org/w/images/4/43/Aparatas.ttf") format('truetype');	
}

@font-face {
	font-family: 'Sq';
	src: url("https://mc.nguh.org/w/images/0/08/SqScript.ttf") format('truetype');
}

@font-face {
	font-family: 'CMC-Currency';
	src: url("https://mc.nguh.org/w/images/7/7a/Nahan_Currency.ttf") format("truetype");
}

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

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

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

.script-chulhaam {
	font-family: Chulhaam;
	font-size: 150%;
}

.script-thl {
	font-family: Theurilaa;
}

.script-rkdg {
	font-family: AH Rokajang Shika;
}

.script-koz {
	font-family: Kozlahu;
}

.script-sq {
	font-family: Sq;
}
.script-aprts{
	font-family: Aparatas;
}

.script-nahan-currency {
	font-family: 'CMC-Currency';
}