MediaWiki:Common.css: Difference between revisions
From MiWiki
Content deleted Content added
Miwikibeam (talk | contribs) blockquote |
Miwikibeam (talk | contribs) Added <a> style |
||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ |
/* CSS placed here will be applied to all skins */ |
||
:root { |
|||
--article-color: #000000; |
|||
} |
|||
.mw-body-content { |
.mw-body-content { |
||
font-family: Times New Roman; |
font-family: Times New Roman; |
||
} |
} |
||
.mw-body-content a, |
|||
.mw-body-content a:visited { |
|||
color: var(--article-color); |
|||
text-decoration: underline; |
|||
} |
|||
/*Hovering should still produce a color change,*/ |
|||
/*so I will not change that yet.*/ |
|||
/*If we decide to override the hover color,*/ |
|||
/*we may wish to preserve the distinction between :hover and :visited:hover*/ |
|||
[lang="ja"] { |
[lang="ja"] { |
||
Revision as of 16:58, 20 October 2025
/* CSS placed here will be applied to all skins */
:root {
--article-color: #000000;
}
.mw-body-content {
font-family: Times New Roman;
}
.mw-body-content a,
.mw-body-content a:visited {
color: var(--article-color);
text-decoration: underline;
}
/*Hovering should still produce a color change,*/
/*so I will not change that yet.*/
/*If we decide to override the hover color,*/
/*we may wish to preserve the distinction between :hover and :visited:hover*/
[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;
}