User:GuoPC/common.css

來自萌娘共享
跳轉至: 導航搜索

注意:在保存之後,您可能需要清除瀏覽器緩存才能看到所作出的變更的影響。

  • Firefox或Safari:按住Shift的同時單擊刷新,或按Ctrl-F5Ctrl-R(Mac為⌘-R
  • Google Chrome:Ctrl-Shift-R(Mac為⌘-Shift-R
  • Internet Explorer:按住Ctrl的同時單擊刷新,或按Ctrl-F5
  • Opera:前往菜單 → 設置(Mac為Opera → Preferences),然後隱私和安全 → 清除瀏覽數據 → 緩存的圖片和文件
/* Specific font for certain characters:
   - Em Dash (2014)
   - Single Quotation Marks (2018, 2019)
   - Double Quotation Marks (201C, 201D)
   - Horizontal Ellipsis (2026) */
@font-face {
	font-family: "SHSans Full-Width Punctuation";
	src: local("Source Han Sans SC");
	unicode-range: U+2014, U+2018, U+2019, U+201C, U+201D, U+2026;
}

/* Customized fonts */
body {font-family: "SHSans Full-Width Punctuation", "IBM Plex Sans", Inter, sans-serif !important;}
.ace_editor, .ace_editor *, pre, code, kbd, samp, tt {font-family: "Sarasa Term SC", monospace !important;}
.diff-context div, .diff-addedline div, .diff-deletedline div, .diffchange, .mw-charinsert-item {font-family: monospace, "MiSans L3";}
sup[class^="markrights"], sup.detailedBlockInfo {font-family: "LXGW WenKai", sans-serif;}

/* Customized edit abbrs, for .unpatrolled, see common.js */
.newpage {color: green;}
.minoredit {color: gray;}
.botedit, .minoredit, .newpage, .unpatrolled {
	display: inline-block;
	transform: scaleX(60%);
}
.mw-enhanced-rc abbr {margin-right: -7px;}

/* Colored selection */
::selection {
	background: #E7BB5E;
	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-ipblock-exempt {color: #6885D7 !important;}
.markrights-manually-confirmed {color: #A598A7 !important;}
.markrights-checkuser::after {content: "核" !important;}
.markrights-flood::after {content: "洪" !important;}
.markrights-scripteditor::after {content: "稿" !important;}

/* Customized mod, based on [[zhmoe:U:鬼影233/moeskin.css]] */
li.mw-moderation-line:not(.mw-moderation-approved) input[type="radio"] {visibility: unset !important;}
#pagehistory li.before input[name='oldid'],
#pagehistory li.after input[name='diff'] {visibility: hidden !important;}
li.mw-moderation-line:not(.mw-moderation-approved) {opacity: 1 !important;}
div[style*="PHN2ZyB4bWxucz0iaHR0cDov"] {content: url("");}
.moderation-notice {display: none;}

/* Other */
h4 {font-size: 1.1em !important;}
pre {tab-size: 4;}
span.comment {font-style: oblique 10deg;}
.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;
}
.mw-tag-markers {font-size: 90%;}