用户:GuoPC/common.css
注意:在保存之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。
- Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5或Ctrl-R(Mac为⌘-R)
- Google Chrome:按Ctrl-Shift-R(Mac为⌘-Shift-R)
- Internet Explorer:按住Ctrl的同时单击刷新,或按Ctrl-F5
- Opera:前往菜单 → 设置(Mac为Opera → Preferences),然后隐私和安全 → 清除浏览数据 → 缓存的图片和文件。
/* Typicons imported with We Love Icon Fonts */ @import url("https://weloveiconfonts.com/api/?family=typicons"); /* Yaku Han JP */ @import url("https://cdn.jsdelivr.net/npm/yakuhanjp@3.4.1/dist/css/yakuhanjp.min.css"); /* Customized fonts */ body {font-family: Lato, Arial, sans-serif !important;} 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;} sup[class^="markrights"], sup.detailedBlockInfo {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 */ .newpage {color: green;} .minoredit {color: gray;} .botedit, .minoredit, .newpage, .unpatrolled { display: inline-block; transform: scaleX(60%); } .mw-enhanced-rc abbr {margin-right: -7px;} /* 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-extendedconfirmed {color: #8D8DAA !important;} .markrights-file-maintainer {color: #895737 !important;} .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; }