MediaWiki:Common.css: Difference between revisions

From Laenkea
Jump to navigation Jump to search
(Undo revision 3155 by Maria (talk))
Tag: Undo
(Updated black link colour to match standard text)
 
(12 intermediate revisions by one other user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* 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&family=Noto+Serif:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');


/* overall style */
/* overall style */
Line 8: Line 8:
}
}


.mw-body h1, .mw-body-content h1, .mw-body-content h2 {
.mw-body dd {
font-family: 'Noto Serif', serif;
margin-bottom: .5em;
}
 
/* black links */
 
table.blacklinks a.new {
color: #202122;
}
 
/* desc */
 
.desc-arrow {
margin-inline: 2px 4px;
cursor: help;
}
 
/* columns */
 
.ul-columns {
background-color: #F8F8FF;
}
 
.ul-columns[data-column-count="2"] ul {
-moz-column-count: 2;
-webkit-column-count: 2;
-ms-column-count: 2;
column-count: 2;
}
 
.ul-columns[data-column-count="3"] ul {
-moz-column-count: 3;
-webkit-column-count: 3;
-ms-column-count: 3;
column-count: 3;
}
 
.ul-columns[data-column-count="4"] ul {
-moz-column-count: 4;
-webkit-column-count: 4;
-ms-column-count: 4;
column-count: 4;
}
 
.ul-columns[data-column-count="5"] ul {
-moz-column-count: 5;
-webkit-column-count: 5;
-ms-column-count: 5;
column-count: 5;
}
 
.ul-columns[data-column-count="6"] ul {
-moz-column-count: 6;
-webkit-column-count: 6;
-ms-column-count: 6;
column-count: 6;
}
 
/* nyms */
 
.nyms .nyms-label {
font-size: 90%;
}
 
/* form of */
 
.form-of {
font-style: italic;
}
 
.form-of .mention {
font-weight: bold;
font-style: normal;
}
}


/* IPA */
/* IPA */
.IPA {
.IPA {
font-family: Gentium,'Gentium Plus',GentiumAlt,'DejaVu Sans','Segoe UI','Lucida Grande','Charis SIL','Doulos SIL','TITUS Cyberbit Basic','Code2000','Lucida Sans Unicode',sans-serif;
font-family: 'DejaVu Sans','Segoe UI','Lucida Grande','Lucida Sans Unicode',sans-serif;
     font-size: 110%;
     font-size: 110%;
     font-style: normal;
     font-style: normal;
     font-variant-ligatures: no-common-ligatures;
     font-variant-ligatures: no-common-ligatures;
}
.IPA.nolarge {
font-size: 100%;
}
}



Latest revision as of 17:36, 27 July 2024

/* 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;
}

.mw-body dd {
	margin-bottom: .5em;
}

/* black links */

table.blacklinks a.new {
	color: #202122;
}

/* desc */

.desc-arrow {
	margin-inline: 2px 4px;
	cursor: help;
}

/* columns */

.ul-columns {
	background-color: #F8F8FF;
}

.ul-columns[data-column-count="2"] ul {
	-moz-column-count: 2;
	-webkit-column-count: 2;
	-ms-column-count: 2;
	column-count: 2;
}

.ul-columns[data-column-count="3"] ul {
	-moz-column-count: 3;
	-webkit-column-count: 3;
	-ms-column-count: 3;
	column-count: 3;
}

.ul-columns[data-column-count="4"] ul {
	-moz-column-count: 4;
	-webkit-column-count: 4;
	-ms-column-count: 4;
	column-count: 4;
}

.ul-columns[data-column-count="5"] ul {
	-moz-column-count: 5;
	-webkit-column-count: 5;
	-ms-column-count: 5;
	column-count: 5;
}

.ul-columns[data-column-count="6"] ul {
	-moz-column-count: 6;
	-webkit-column-count: 6;
	-ms-column-count: 6;
	column-count: 6;
}

/* nyms */

.nyms .nyms-label {
	font-size: 90%;
}

/* 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;
}

.IPA.nolarge {
	font-size: 100%;
}

.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;
}