Difference between revisions of "MediaWiki:Common.css"
(Moving CSS.) |
|||
(7 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 */ | ||
+ | @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 .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; | ||
+ | } |
Latest revision as of 14:08, 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 .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;
}