Difference between revisions of "MediaWiki:Common.css"

From Beasts of Bermuda
Jump to: navigation, search
 
(3 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');
 
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
 +
 +
:root {
 +
  --font: montserrat;
 +
}
  
 
*,
 
*,
Line 8: Line 12:
 
     word-break: break-word;
 
     word-break: break-word;
 
     text-wrap: pretty;
 
     text-wrap: pretty;
     transition: all 0.16s ease;
+
     transition: all .16s ease;
 
}
 
}
 
html,
 
html,
 
body {
 
body {
 
     margin: 0;
 
     margin: 0;
     font: 16px/1.6 montserrat!important;
+
     font: 16px/1.6 var(--font)!important;
 
     text-align: justify;
 
     text-align: justify;
 
}
 
}
Line 28: Line 32:
 
}
 
}
 
a {
 
a {
    color: var(--col-c1);
 
 
     font-weight: bold;
 
     font-weight: bold;
 
}
 
}
 
i,
 
i,
 
em {
 
em {
     letter-spacing: 1px;
+
     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;
}