MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 24: | Line 24: | ||
} | } | ||
.mw-body-content h1, .mw-body-content h2, .mw-body-content h3, .mw-body-content h4, .mw-body-content h5, .mw-body-content h6 { | .mw-body-content h1, .mw-body h1, .mw-body-content h2, .mw-body h2, .mw-body-content h3, .mw-body h3, .mw-body-content h4, .mw-body h4, .mw-body-content h5, .mw-body h5, .mw-body-content h6, .mw-body h6 { | ||
font-family: 'Roboto', sans-serif !important; | font-family: 'Roboto', sans-serif !important; | ||
} | } | ||
/* Disables Text Select */ | /* Disables Text Select */ | ||
Revision as of 17:00, 5 October 2023
/* CSS placed here will be applied to all skins */
/* Roboto Font */
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: normal;
src: local ("Roboto")
src: url('https://dfi-library.org/images/7/77/Roboto-Regular-webfont.woff');
}
/* Roboto Condensed */
@font-face {
font-family: 'Roboto Condensed';
font-style: normal;
font-weight: normal;
src: local ("Roboto Condensed")
src: url('https://dfi-library.org/images/f/f2/Roboto-Condensed-webfont.woff');
}
body {
font-family: 'Roboto', sans-serif;
}
.mw-body-content h1, .mw-body h1, .mw-body-content h2, .mw-body h2, .mw-body-content h3, .mw-body h3, .mw-body-content h4, .mw-body h4, .mw-body-content h5, .mw-body h5, .mw-body-content h6, .mw-body h6 {
font-family: 'Roboto', sans-serif !important;
}
/* Disables Text Select */
body {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
/* CSS for Infobox */
.infobox {
background: #eee;
border: 1px solid #aaa;
float: right;
margin: 0 0 1em 1em;
padding: 1em;
width: 375px;
}
.infobox-title {
font-size: 1.5em;
text-align: center;
font-weight: 700;
}
.infobox-image {
text-align: center;
}
.infobox th {
text-align: right;
vertical-align: top;
width: 120px;
font-size: .80em;
}
.infobox td {
vertical-align: top;
font-size: .80em;
}
/* Remove tabs */
#ca-talk, #ca-history, #ca-viewsource, #t-print {
display: none !important;
}