MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Reverted |
Tag: Undo |
||
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'); | |||
/* overall style */ | |||
html, body { | |||
font-family: 'Noto Sans', sans-serif; | |||
} | |||
.mw-body h1, .mw-body-content h1, .mw-body-content h2 { | |||
font-family: 'Noto Serif', serif; | |||
} | |||
/* IPA */ | /* IPA */ |
Revision as of 17:36, 8 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&family=Noto+Serif:wght@400;700&display=swap');
/* overall style */
html, body {
font-family: 'Noto Sans', sans-serif;
}
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {
font-family: 'Noto Serif', serif;
}
/* 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-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;
}