MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (29 intermediate revisions by the same 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 */ | ||
/* 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 Condensed', sans-serif !important; | |||
font-weight: 600; | |||
} | |||
/* Disables Text Select */ | |||
body { | |||
-webkit-user-select: none; | |||
-moz-user-select: none; | |||
-ms-user-select: none; | |||
user-select: none; | |||
} | |||
/* CSS for Infobox */ | /* CSS for Infobox */ | ||
| Line 10: | Line 46: | ||
margin: 0 0 1em 1em; | margin: 0 0 1em 1em; | ||
padding: 1em; | padding: 1em; | ||
width: | width: 375px; | ||
} | } | ||
.infobox-title { | .infobox-title { | ||
font-size: | font-size: 1.5em; | ||
text-align: center; | text-align: center; | ||
font-weight: 700; | |||
} | } | ||
.infobox-image { | .infobox-image { | ||
| Line 23: | Line 60: | ||
vertical-align: top; | vertical-align: top; | ||
width: 120px; | width: 120px; | ||
font-size: .80em; | |||
} | } | ||
.infobox td { | .infobox td { | ||
vertical-align: top; | vertical-align: top; | ||
font-size: .80em; | |||
} | |||
/* Remove tabs */ | |||
#ca-talk, #ca-history, #ca-viewsource, #t-print { | |||
display: none !important; | |||
} | } | ||
Latest revision as of 17:41, 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 Condensed', sans-serif !important;
font-weight: 600;
}
/* 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;
}