MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 79: | Line 79: | ||
font-style: normal; | font-style: normal; | ||
font-variant-ligatures: no-common-ligatures; | font-variant-ligatures: no-common-ligatures; | ||
} | |||
.IPA.nolarge { | |||
font-size: 100%; | |||
} | } | ||
Revision as of 13:42, 22 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;
}
/* 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;
}