Difference between revisions of "MediaWiki:Common.css"
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=Montserrat:ital,wght@0,100..900;1,100..900&display=swap'); | @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap'); | ||
+ | |||
+ | :root { | ||
+ | --font: montserrat; | ||
+ | } | ||
*, | *, | ||
Line 13: | Line 17: | ||
body { | body { | ||
margin: 0; | margin: 0; | ||
− | font: 16px/1.6 | + | font: 16px/1.6 var(--font)!important; |
text-align: justify; | text-align: justify; | ||
} | } |
Revision as of 14:07, 9 September 2024
/* CSS placed here will be applied to all skins */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
:root {
--font: montserrat;
}
*,
*:before,
*:after {
box-sizing: border-box;
word-break: break-word;
text-wrap: pretty;
transition: all 0.16s ease;
}
html,
body {
margin: 0;
font: 16px/1.6 var(--font)!important;
text-align: justify;
}
img {
max-height: 100%;
max-width: 100%;
object-fit: cover;
}
a,
u,
strike {
text-decoration-thickness: 2px;
text-underline-offset: 3px;
}
a {
font-weight: bold;
}
i,
em {
letter-spacing: .5px;
}