MediaWiki:Common.css: Difference between revisions

From Laenkea
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
html, body {
html, body {
font-family: 'Noto Sans', sans-serif;
font-family: 'Noto Sans', sans-serif;
}
/* nyms */
.nyms .nyms-label {
font-size: smaller;
}
}



Revision as of 11:37, 11 August 2023

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

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

/* overall style */
html, body {
	font-family: 'Noto Sans', sans-serif;
}

/* nyms */

.nyms .nyms-label {
	font-size: smaller;
}

/* form of */

.form-of {
	font-style: italic;
}

.form-of .mention {
	font-weight: bold;
	font-style: normal;
}

/* IPA */
.IPA {
	font-family: 'DejaVu Sans','Segoe UI','Lucida Grande','Lucida Sans Unicode',sans-serif;
    font-size: 110%;
    font-style: normal;
    font-variant-ligatures: no-common-ligatures;
}

.gender, .number, .noun-class {
	font-style: italic;
}

/* Module:infobox */

.infobox {
	float: right;
	clear: right;
	margin: 0.5em 0 0.5em 1em;
	padding: 0.2em;
	font-size: 88%;
	border: 1px solid #a2a9b1;
	border-spacing: 3px;
	background-color: #f8f9fa;
	border-collapse: collapse;
	color: black;
	width: 22em;
	line-height: 1.2em;
	text-align: left;
}

.infobox td,
.infobox th {
	padding: 0 0.6em 0.2em 0.6em;
}

th.infobox-title {
	font-size: 125%;
	text-align: center;
	line-height: 1.3em;
	padding: 0.4em 0.6em 0.4em 0.6em;
}

td.infobox-image {
	text-align: center;
	padding: 0.4em 0.6em 0.4em 0.6em;
	border-top: 1px solid #a2a9b1;
}

.infobox-section-toprow {
	border-top: 1px solid #a2a9b1;
}

.infobox-section-toprow td,
.infobox-section-toprow th {
	padding: 0.4em 0.6em 0.2em 0.6em;
}