“用户:GuoPC/common.css”的版本间的差异
< 用户:GuoPC
(CSS for all skins) |
(Update) |
||
第1行: | 第1行: | ||
+ | /* Typicons imported with We Love Icon Fonts */ | ||
+ | @import url("https://weloveiconfonts.com/api/?family=typicons"); | ||
+ | |||
/* Customized fonts */ | /* Customized fonts */ | ||
+ | span[lang="ja"] {font-family: YakuHanJP, "Kozuka Gothic Pro", sans-serif;} | ||
.diff-context div, .diff-addedline div, .diff-deletedline div, .diffchange, .mw-charinsert-item {font-family: monospace;} | .diff-context div, .diff-addedline div, .diff-deletedline div, .diffchange, .mw-charinsert-item {font-family: monospace;} | ||
+ | .mw-userlink ~ sup, .userlink sup {font-family: "LXGW WenKai", sans-serif;} | ||
+ | |||
+ | /* Colored special links and more */ | ||
+ | /* There are 5 situations as follows: | ||
+ | 1. Basic links only ([[Link]]); | ||
+ | 2. Links are under toggled-on heimus ({{Heimu|[[Link]]}} - toggled on); | ||
+ | 3. Links contain toggled-on heimus ([[Link|{{Heimu}}]] - toggled on); | ||
+ | 4. Links are under heimus ({{Heimu|[[Link]]}}); | ||
+ | 5. Links contain heimus ([[Link|{{Heimu}}]]) */ | ||
+ | /* - Preparation: Keep visually hidden under heimus */ | ||
+ | span.heimu a.mw-redirect, span.heimu a.mw-redirect:visited, | ||
+ | span.heimu a.mw-disambig, span.heimu a.mw-disambig:visited, | ||
+ | span.heimu a.extiw, span.heimu a.extiw:visited { | ||
+ | transition: color .13s linear; | ||
+ | color: #252525; | ||
+ | text-shadow: none; | ||
+ | } | ||
+ | /* - Redirections */ | ||
+ | a.mw-redirect, | ||
+ | body.heimu_toggle_on span.heimu a.mw-redirect, | ||
+ | body.heimu_toggle_on a.mw-redirect span.heimu, | ||
+ | span.heimu:hover a.mw-redirect, | ||
+ | a.mw-redirect:hover span.heimu {color: #B0D;} | ||
+ | /* - Redirections - visited */ | ||
+ | a.mw-redirect:visited, | ||
+ | body.heimu_toggle_on span.heimu a.mw-redirect:visited, | ||
+ | body.heimu_toggle_on a.mw-redirect:visited span.heimu, | ||
+ | span.heimu:hover a.mw-redirect:visited, | ||
+ | a.mw-redirect:visited:hover span.heimu {color: #9A00B6;} | ||
+ | /* - Redirections - mark: A FLAG */ | ||
+ | a.mw-redirect::after { | ||
+ | content: '{'; | ||
+ | display: inline-block; | ||
+ | font-family: Typicons; | ||
+ | font-style: normal; | ||
+ | font-variant: super; | ||
+ | font-weight: normal; | ||
+ | margin: 0 -.2em; | ||
+ | } | ||
+ | /* - Disambiguations */ | ||
+ | a.mw-disambig, | ||
+ | body.heimu_toggle_on span.heimu a.mw-disambig, | ||
+ | body.heimu_toggle_on a.mw-disambig span.heimu, | ||
+ | span.heimu:hover a.mw-disambig, | ||
+ | a.mw-disambig:hover span.heimu {color: #D27138;} | ||
+ | /* - Disambiguations - visited */ | ||
+ | a.mw-disambig:visited, | ||
+ | body.heimu_toggle_on span.heimu a.mw-disambig:visited, | ||
+ | body.heimu_toggle_on a.mw-disambig:visited span.heimu, | ||
+ | span.heimu:hover a.mw-disambig:visited, | ||
+ | a.mw-disambig:visited:hover span.heimu {color: #AF5A28;} | ||
+ | /* - Disambiguations - mark: A DIRECTION SIGN */ | ||
+ | a.mw-disambig::after { | ||
+ | content: 'r'; | ||
+ | display: inline-block; | ||
+ | font-family: Typicons; | ||
+ | font-style: normal; | ||
+ | font-variant: super; | ||
+ | font-weight: normal; | ||
+ | text-transform: none; | ||
+ | margin: 0 -.2em; | ||
+ | } | ||
+ | /* - For links are both redirections and disambiguations, I call them "REDIR-DISAM links" */ | ||
+ | a.mw-redirect.mw-disambig::after { | ||
+ | content: 'r{'; | ||
+ | display: inline-block; | ||
+ | font-family: Typicons; | ||
+ | font-style: normal; | ||
+ | font-variant: super; | ||
+ | font-weight: normal; | ||
+ | text-transform: none; | ||
+ | margin: 0 -.2em; | ||
+ | } | ||
+ | /* - Interwiki links, not Moegirl ones - visited */ | ||
+ | a.extiw:not([href*=".moegirl.org.cn"]):visited, | ||
+ | body.heimu_toggle_on span.heimu a.extiw:not([href*=".moegirl.org.cn"]):visited, | ||
+ | body.heimu_toggle_on a.extiw:not([href*=".moegirl.org.cn"]):visited span.heimu, | ||
+ | span.heimu:hover a.extiw:not([href*=".moegirl.org.cn"]):visited, | ||
+ | a.extiw:not([href*=".moegirl.org.cn"]):visited:hover span.heimu {color: #00886A;} | ||
+ | /* - Interwiki links - mark: A GLOBE */ | ||
+ | a.extiw:not([href*=".moegirl.org.cn"])::after { | ||
+ | content: 'a'; | ||
+ | display: inline-block; | ||
+ | font-family: Typicons; | ||
+ | font-style: normal; | ||
+ | font-variant: super; | ||
+ | font-weight: normal; | ||
+ | text-transform: none; | ||
+ | margin: 0 -.2em; | ||
+ | } | ||
+ | /* - Moegirl links */ | ||
+ | a.extiw[href*=".moegirl.org.cn"], | ||
+ | body.heimu_toggle_on span.heimu a.extiw[href*=".moegirl.org.cn"], | ||
+ | body.heimu_toggle_on a.extiw[href*=".moegirl.org.cn"] span.heimu, | ||
+ | span.heimu:hover a.extiw[href*=".moegirl.org.cn"], | ||
+ | a.extiw[href*=".moegirl.org.cn"]:hover span.heimu {color: #E7BB5E;} | ||
+ | /* - Moegirl links - visited */ | ||
+ | a.extiw[href*=".moegirl.org.cn"]:visited, | ||
+ | body.heimu_toggle_on span.heimu a.extiw[href*=".moegirl.org.cn"]:visited, | ||
+ | body.heimu_toggle_on a.extiw[href*=".moegirl.org.cn"]:visited span.heimu, | ||
+ | span.heimu:hover a.extiw[href*=".moegirl.org.cn"]:visited, | ||
+ | a.extiw[href*=".moegirl.org.cn"]:visited:hover span.heimu {color: #D79C20;} | ||
+ | /* - Moegirl links - mark: A HEART */ | ||
+ | a.extiw[href*=".moegirl.org.cn"]::after { | ||
+ | content: ';'; | ||
+ | display: inline-block; | ||
+ | font-family: Typicons; | ||
+ | font-style: normal; | ||
+ | font-variant: super; | ||
+ | font-weight: normal; | ||
+ | margin: 0 -.2em; | ||
+ | } | ||
− | /* | + | /* Customized edit abbrs, for .unpatrolled, see vector.js */ |
.newpage {color: green;} | .newpage {color: green;} | ||
.minoredit {color: gray;} | .minoredit {color: gray;} | ||
− | .botedit, .minoredit, .newpage { | + | .botedit, .minoredit, .newpage, .unpatrolled { |
display: inline-block; | display: inline-block; | ||
− | + | margin-right: -7px; | |
− | margin-right: - | + | transform: scaleX(60%); |
− | transform: scaleX( | ||
} | } | ||
第38行: | 第153行: | ||
/* Customized usergroups */ | /* Customized usergroups */ | ||
+ | .markrights-checkuser::after {content: "核" !important;} | ||
+ | .markrights-flood::after {content: "洪" !important;} | ||
.markrights-scripteditor::after {content: "稿" !important;} | .markrights-scripteditor::after {content: "稿" !important;} | ||
− | |||
/* Other */ | /* Other */ | ||
h4 {font-size: 1.1em !important;} | h4 {font-size: 1.1em !important;} | ||
+ | .common-box, .CtxtMenu_Menu, .mw-notification, .navpopup {box-shadow: 0 0 .5rem #0002 !important;} | ||
.diff-addedline, .diff-deletedline, .diff-context {vertical-align: middle;} | .diff-addedline, .diff-deletedline, .diff-context {vertical-align: middle;} | ||
− | . | + | .oo-ui-labelElement-label, .mw-editTools {font-size: 0.9em;} |
+ | .infoBoxContent { | ||
+ | background: #FBFBFBBB; | ||
+ | border: none; | ||
+ | } |
2022年12月22日 (四) 10:50的版本
/* Typicons imported with We Love Icon Fonts */ @import url("https://weloveiconfonts.com/api/?family=typicons"); /* Customized fonts */ span[lang="ja"] {font-family: YakuHanJP, "Kozuka Gothic Pro", sans-serif;} .diff-context div, .diff-addedline div, .diff-deletedline div, .diffchange, .mw-charinsert-item {font-family: monospace;} .mw-userlink ~ sup, .userlink sup {font-family: "LXGW WenKai", sans-serif;} /* Colored special links and more */ /* There are 5 situations as follows: 1. Basic links only ([[Link]]); 2. Links are under toggled-on heimus ({{Heimu|[[Link]]}} - toggled on); 3. Links contain toggled-on heimus ([[Link|{{Heimu}}]] - toggled on); 4. Links are under heimus ({{Heimu|[[Link]]}}); 5. Links contain heimus ([[Link|{{Heimu}}]]) */ /* - Preparation: Keep visually hidden under heimus */ span.heimu a.mw-redirect, span.heimu a.mw-redirect:visited, span.heimu a.mw-disambig, span.heimu a.mw-disambig:visited, span.heimu a.extiw, span.heimu a.extiw:visited { transition: color .13s linear; color: #252525; text-shadow: none; } /* - Redirections */ a.mw-redirect, body.heimu_toggle_on span.heimu a.mw-redirect, body.heimu_toggle_on a.mw-redirect span.heimu, span.heimu:hover a.mw-redirect, a.mw-redirect:hover span.heimu {color: #B0D;} /* - Redirections - visited */ a.mw-redirect:visited, body.heimu_toggle_on span.heimu a.mw-redirect:visited, body.heimu_toggle_on a.mw-redirect:visited span.heimu, span.heimu:hover a.mw-redirect:visited, a.mw-redirect:visited:hover span.heimu {color: #9A00B6;} /* - Redirections - mark: A FLAG */ a.mw-redirect::after { content: '{'; display: inline-block; font-family: Typicons; font-style: normal; font-variant: super; font-weight: normal; margin: 0 -.2em; } /* - Disambiguations */ a.mw-disambig, body.heimu_toggle_on span.heimu a.mw-disambig, body.heimu_toggle_on a.mw-disambig span.heimu, span.heimu:hover a.mw-disambig, a.mw-disambig:hover span.heimu {color: #D27138;} /* - Disambiguations - visited */ a.mw-disambig:visited, body.heimu_toggle_on span.heimu a.mw-disambig:visited, body.heimu_toggle_on a.mw-disambig:visited span.heimu, span.heimu:hover a.mw-disambig:visited, a.mw-disambig:visited:hover span.heimu {color: #AF5A28;} /* - Disambiguations - mark: A DIRECTION SIGN */ a.mw-disambig::after { content: 'r'; display: inline-block; font-family: Typicons; font-style: normal; font-variant: super; font-weight: normal; text-transform: none; margin: 0 -.2em; } /* - For links are both redirections and disambiguations, I call them "REDIR-DISAM links" */ a.mw-redirect.mw-disambig::after { content: 'r{'; display: inline-block; font-family: Typicons; font-style: normal; font-variant: super; font-weight: normal; text-transform: none; margin: 0 -.2em; } /* - Interwiki links, not Moegirl ones - visited */ a.extiw:not([href*=".moegirl.org.cn"]):visited, body.heimu_toggle_on span.heimu a.extiw:not([href*=".moegirl.org.cn"]):visited, body.heimu_toggle_on a.extiw:not([href*=".moegirl.org.cn"]):visited span.heimu, span.heimu:hover a.extiw:not([href*=".moegirl.org.cn"]):visited, a.extiw:not([href*=".moegirl.org.cn"]):visited:hover span.heimu {color: #00886A;} /* - Interwiki links - mark: A GLOBE */ a.extiw:not([href*=".moegirl.org.cn"])::after { content: 'a'; display: inline-block; font-family: Typicons; font-style: normal; font-variant: super; font-weight: normal; text-transform: none; margin: 0 -.2em; } /* - Moegirl links */ a.extiw[href*=".moegirl.org.cn"], body.heimu_toggle_on span.heimu a.extiw[href*=".moegirl.org.cn"], body.heimu_toggle_on a.extiw[href*=".moegirl.org.cn"] span.heimu, span.heimu:hover a.extiw[href*=".moegirl.org.cn"], a.extiw[href*=".moegirl.org.cn"]:hover span.heimu {color: #E7BB5E;} /* - Moegirl links - visited */ a.extiw[href*=".moegirl.org.cn"]:visited, body.heimu_toggle_on span.heimu a.extiw[href*=".moegirl.org.cn"]:visited, body.heimu_toggle_on a.extiw[href*=".moegirl.org.cn"]:visited span.heimu, span.heimu:hover a.extiw[href*=".moegirl.org.cn"]:visited, a.extiw[href*=".moegirl.org.cn"]:visited:hover span.heimu {color: #D79C20;} /* - Moegirl links - mark: A HEART */ a.extiw[href*=".moegirl.org.cn"]::after { content: ';'; display: inline-block; font-family: Typicons; font-style: normal; font-variant: super; font-weight: normal; margin: 0 -.2em; } /* Customized edit abbrs, for .unpatrolled, see vector.js */ .newpage {color: green;} .minoredit {color: gray;} .botedit, .minoredit, .newpage, .unpatrolled { display: inline-block; margin-right: -7px; transform: scaleX(60%); } /* Colored selections */ ::selection { background: #0174F9; color: #FFF; } .diff-context ::selection { background: #6C7A96; color: #FFF; } .diff-deletedline ::selection { background: #FFBF13; color: #FFF; } .diff-addedline ::selection { background: #0688FF; color: #FFF; } /* Become rounded */ code, fieldset, pre, .mw-body, .mw-warning-with-logexcerpt, .navbox, .navpopup, .template-documentation, #catlinks, #mw-changeslist-legend, #toc {border-radius: 2px;} #bottomRightCorner div {border-radius: 2px 0 0 2px;} .editOptions {border-radius: 0 0 2px 2px;} /* Customized usergroups */ .markrights-checkuser::after {content: "核" !important;} .markrights-flood::after {content: "洪" !important;} .markrights-scripteditor::after {content: "稿" !important;} /* Other */ h4 {font-size: 1.1em !important;} .common-box, .CtxtMenu_Menu, .mw-notification, .navpopup {box-shadow: 0 0 .5rem #0002 !important;} .diff-addedline, .diff-deletedline, .diff-context {vertical-align: middle;} .oo-ui-labelElement-label, .mw-editTools {font-size: 0.9em;} .infoBoxContent { background: #FBFBFBBB; border: none; }