MediaWiki:Common.css: Difference between revisions
From MiWiki
Content deleted Content added
Miwikibeam (talk | contribs) No edit summary |
Miwikibeam (talk | contribs) blockquote |
||
| Line 13: | Line 13: | ||
font-style: inherit; |
font-style: inherit; |
||
font-variant: small-caps; |
font-variant: small-caps; |
||
} |
|||
blockquote { |
|||
width: fit-content; |
|||
position: relative; |
|||
} |
|||
blockquote::after { |
|||
content: "”"; |
|||
position: absolute; |
|||
right: -0.5em; |
|||
font-size: 2em; |
|||
bottom: -0.5em; |
|||
} |
|||
blockquote::before { |
|||
content: "“"; |
|||
position: absolute; |
|||
left: -0.5em; |
|||
font-size: 2em; |
|||
top: -0.25em; |
|||
} |
} |
||
Revision as of 18:34, 16 October 2025
/* CSS placed here will be applied to all skins */
.mw-body-content {
font-family: Times New Roman;
}
[lang="ja"] {
/*from https://stackoverflow.com/a/14573813*/
font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro",Osaka, "メイリオ", Meiryo, "MS Pゴシック", "MS PGothic", sans-serif;
}
em {
font-style: inherit;
font-variant: small-caps;
}
blockquote {
width: fit-content;
position: relative;
}
blockquote::after {
content: "”";
position: absolute;
right: -0.5em;
font-size: 2em;
bottom: -0.5em;
}
blockquote::before {
content: "“";
position: absolute;
left: -0.5em;
font-size: 2em;
top: -0.25em;
}