MediaWiki:Common.css: Difference between revisions
From Haven Homes
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* latin-ext */ | /* Merriweather latin-ext */ | ||
@font-face { | @font-face { | ||
font-family: 'Merriweather'; | font-family: 'Merriweather'; | ||
Line 9: | Line 9: | ||
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; | unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; | ||
} | } | ||
/* latin */ | /* Merriweather latin */ | ||
@font-face { | @font-face { | ||
font-family: 'Merriweather'; | font-family: 'Merriweather'; | ||
Line 17: | Line 17: | ||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; | unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; | ||
} | } | ||
/* Lato latin-ext */ | |||
@font-face { | |||
font-family: 'Lato'; | |||
font-style: normal; | |||
font-weight: 400; | |||
src: url(https://fonts.gstatic.com/s/lato/v23/S6uyw4BMUTPHjxAwXjeu.woff2) format('woff2'); | |||
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; | |||
} | |||
/* Lato latin */ | |||
@font-face { | |||
font-family: 'Lato'; | |||
font-style: normal; | |||
font-weight: 400; | |||
src: url(https://fonts.gstatic.com/s/lato/v23/S6uyw4BMUTPHjx4wXg.woff2) format('woff2'); | |||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; | |||
} | |||
body {font-family:Merriweather;} | body {font-family:Merriweather;} | ||
body {font-family:Lato;} | |||
/* #toc {float:right;margin:0 0 1em 1em;position:fixed;top:150px;right:10px;}; */ | /* #toc {float:right;margin:0 0 1em 1em;position:fixed;top:150px;right:10px;}; */ |
Revision as of 04:58, 5 September 2022
/* CSS placed here will be applied to all skins */ /* Merriweather latin-ext */ @font-face { font-family: 'Merriweather'; font-style: normal; font-weight: 400; src: url(https://fonts.gstatic.com/s/merriweather/v30/u-440qyriQwlOrhSvowK_l5-ciZMZ-Y.woff2) format('woff2'); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; } /* Merriweather latin */ @font-face { font-family: 'Merriweather'; font-style: normal; font-weight: 400; src: url(https://fonts.gstatic.com/s/merriweather/v30/u-440qyriQwlOrhSvowK_l5-fCZM.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; } /* Lato latin-ext */ @font-face { font-family: 'Lato'; font-style: normal; font-weight: 400; src: url(https://fonts.gstatic.com/s/lato/v23/S6uyw4BMUTPHjxAwXjeu.woff2) format('woff2'); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; } /* Lato latin */ @font-face { font-family: 'Lato'; font-style: normal; font-weight: 400; src: url(https://fonts.gstatic.com/s/lato/v23/S6uyw4BMUTPHjx4wXg.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; } body {font-family:Merriweather;} body {font-family:Lato;} /* #toc {float:right;margin:0 0 1em 1em;position:fixed;top:150px;right:10px;}; */ li {margin-bottom: 0.3em;} #toc {float:right;margin:0 0 1em 1em;} ul + p {margin-top:1em;} ul + h2, ul + h3, ul + h4 {margin-top:1em;} .tocnumber {display:none !important;} .toc ul ul {margin-left:1.25em !important;} /* .content h4, .content h4 ~ p, .content h4 ~ ul {margin-left:40px;} .content h3, .content h3 ~ p, .content h3 ~ ul {margin-left:20px;} */ /* indent text below main headers on wide screens */ @media only screen and (min-width: 1024px) { .content h3, .content h4, .content h5, .content p {margin-left:20px;} .content ul {margin-left:3em;} }