User:Aoz0ra/common.css

/* Shadow: apply a basic dark mode for the time being */ /* Aoz0ra: And basic high-contrast modes */ /* Aoz0ra: 'Basic'... but already pretty good. There

/* Shadow:  apply a basic dark mode for the time being */
/* Aoz0ra:  And basic high-contrast modes */

/* Aoz0ra:  'Basic'...  but already pretty good.  There are only a few
   small issues -- mainly in the images -- but that is mostly on the browser.
   I might get images to show correctly soon. */

@media screen and (prefers-color-scheme: dark) and (prefers-contrast: no-preference) {
	html {
		filter: invert(1) hue-rotate(180deg) contrast(0.8) brightness(0.9) saturate(0.8);
	}
	img:not(#p-banner img, .mwe-math-mathml-inline img, .mwe-math-mathml-a11y img,
	.mwe-math-fallback-image-inline, .mwe-math-element img), video {
		filter: invert(1) hue-rotate(180deg) contrast(1.25) brightness(1.11111) saturate(1.25);
	}
}
/* section last edited by Penelope */

@media screen and (prefers-color-scheme: dark) and (prefers-contrast: more) {
	html {
		filter: invert(1) hue-rotate(180deg);
	}
	img:not(#p-banner img, .mwe-math-mathml-inline img, .mwe-math-mathml-a11y img,
	.mwe-math-fallback-image-inline, .mwe-math-element img), video {
		filter: invert(1) hue-rotate(180deg);
	}
	body, #mw-wrapper, #mw-content-container {
		background-color: #ddd;
	}
}
/* section last changed by Aoz0ra */

@media screen and (prefers-color-scheme: light) and (prefers-contrast: more) {
	html {
		filter: contrast(1.11111);
	}
	img:not(#p-banner img, .mwe-math-mathml-inline img, .mwe-math-mathml-a11y img,
	.mwe-math-fallback-image-inline, .mwe-math-element img), video {
		filter: contrast(0.9);
	}
	body, #mw-wrapper, #mw-content-container {
		background-color: #aaa;
	}
}


/*** Aoz0ra:  Apply preferred fonts ***/
/* section last changed by Aoz0ra of the system */

h1, h2, h3, h4, h5, h6 {
	font-family: "PhoenixSerif", "Sitka Banner", "Georgia", serif;
	font-style: italic;
}

:not(h1, h2, h3, h4, h5, h6, pre, code, pre *, code *, .mw-editform,
.mw-editform *) {
	font-family: "PhoenixSans10", "FiraGO", "Fira Sans", "Euphemia",
	"Euphemia UCAS", "Segoe UI Variable", "Segoe UI", "Segoe Pro", "Segoe",
	"Frutiger", "Hind", sans-serif;
	font-weight: 100; /* for testing purposes while choosing fonts */
}

pre, pre *, code, code * {
	font-family: monospace;
	line-height: 1.5em;
}
/* Aoz0ra: this fixes the code showing with a different font compared to the
   code editor */



/* ...Languages that use the Latin script */
/* section last edited by Aoz0ra of the system */

/*
:not(h1, h2, h3, h4, h5, h6, pre, code, pre *, code *, .mw-editform,
.mw-editform *):lang(mis) {
	font-family: "PhoenixSans10", "FiraGO", "Fira Sans", "Euphemia",
	"Euphemia UCAS", "Segoe UI Variable", "Segoe UI", "Segoe Pro", "Segoe",
	"Frutiger", "Hind", sans-serif;
}
*/

:not(h1, h2, h3, h4, h5, h6, pre, code, pre *, code *, .mw-editform,
.mw-editform *):lang(ang) {
	font-family: "Junicode", serif;
}

:not(h1, h2, h3, h4, h5, h6, pre, code, pre *, code *, .mw-editform,
.mw-editform *):is(
 :lang(bm),  :lang(bs),  :lang(haw), :lang(hu),  :lang(ine),
 :lang(pl),  :lang(tr),  :lang(yo),  :lang(lkt), :lang(mi),
 :lang(lt),  :lang(lv),  :lang(ro),  :lang(sr),
 :lang(be-Latn), :lang(zh-Latn)
) {
	/*
	 * be    Belarusian   Ŭŭ Žž
	 * bm    Bambara      Ɛɛ Ɲɲ Ɔɔ
	 * bs    Bosnian      Ćć Đđ
	 * haw   Hawaiian     Āā Ēē Īī Ōō Ūū and ʻokina
	 * hu    Hungarian    Őő
	 * ine   other Indo-European; code used for Proto-Indo-European
	 * lkt   Lakota       č ŋ ȟ
	 * lt    Lithuanian   ė ū
	 * lv    Latvian      ņ Āā Ēē Īī Ōō Ūū
	 * mi    Māori        Āā Ēē Īī Ōō Ūū
	 * nv    Navajo       á í į ł ó ʼ; one letter not available pre-composed
	 * pl    Polish       Ąą Ęę Śś
	 * ro    Romanian     ș ă ț
	 * sr    Serbian      ć
	 * tr    Turkish      ğ İi Iı ş
	 * yo    Yoruba       Ẹẹ Ọọ; some letters not available pre-composed
	 * zh    Chinese      ǘ
	 */
	font-family: "PhoenixSans10", "FiraGO", "Fira Sans", "Segoe UI Variable",
	"Segoe UI", "Segoe Pro", "Segoe", "Frutiger", "Hind", sans-serif;
}

:not(h1, h2, h3, h4, h5, h6, pre, code, pre *, code *, .mw-editform,
.mw-editform *):lang(la) {
	/* Latin */
	font-family: "Times New Roman", "FreeSerif", serif;
	word-spacing: -0.1em;
}

:not(h1, h2, h3, h4, h5, h6, pre, code, pre *, code *, .mw-editform,
.mw-editform *):lang(vi) {
	/* Vietnamese - many letters with diacritics */
	font-family: "PhoenixSans10", "FiraGO", "Fira Sans", "Segoe UI Variable",
	"Segoe UI", "Segoe Pro", "Segoe", "Frutiger", sans-serif;
}


/* ...Languages using other scripts; International Phonetic Alphabet */
/* section last changed by Aoz0ra of the system */

:not(h1, h2, h3, h4, h5, h6, pre, code, pre *, code *, .mw-editform,
.mw-editform *):lang(cop) {
	/* Coptic */
	font-family: "Segoe UI Historic", sans-serif;
}

.IPA, .IPA * {
	font-family: "SIL Gentium", "SIL Gentium Basic", "Gentium", "Constructium",
	"Linux Libertine", "Linux Libertine O", "Times New Roman", serif;
}


/* Aoz0ra:  The CSS linter needs to be updated */


/*
Aoz0ra:  I usually prefer humanist typefaces with a touch of calligraphy --
which is why I use such a style for many of my own typefaces.  I double-space
my sentences unless doing so is completely forbidden; even so, I still double-
space sentences in fixed-width fonts.
*/

/*
[[en:User:Aoz0ra/common.css]]
*/

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.