MediaWiki:Common.css
Jump to navigation
Jump to search
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */
@import url('https://fonts.googleapis.com/css2?family=Open+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: 'Open 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;
}