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", "Clear Sans", Inter, sans-serif !important;}
.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;}

/* Customized edit abbrs */
.newpage {color: green;}
.minoredit {color: gray;}
.botedit, .minoredit, .newpage {
	display: inline-block;
	margin-right: -7px;
	transform: scaleX(60%);
}

/* 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;}

/* Other */
h4 {font-size: 1.1em !important;}
span.comment {font-style: oblique 6deg;}
.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%;}