LLWiki正在建设中,欢迎加入我们

User:GuoPC/common.css

来自LLWiki
跳转到导航 跳转到搜索

注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的更改的影响。

  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5Ctrl-R(Mac为⌘-R
  • Google Chrome:Ctrl-Shift-R(Mac为⌘-Shift-R
  • Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
/* 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;
}
@font-face {
	font-family: "SHSerif Full-Width Quotation";
	src: local("Source Han Serif 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;}
span[lang="ja"] {font-family: YakuHanJP, "Kozuka Gothic Pro", sans-serif;}
span[lang="zh-Hant"], span[lang="zh-TW"] {font-family: "Taipei Sans TC Beta", sans-serif;}
span[lang="zh-HK"] {font-family: "Chiron Sans HK Pro VF", sans-serif;}
.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;}
.mw-diff-movedpara-left, .mw-diff-movedpara-right {
	font-family: "Segoe UI Symbol";
	font-weight: normal;
}
.Wikiplus-Banner {font-family: sans-serif !important;}

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

/* Colored selection */
::selection {
	background: #FF99D1;
	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,
.cdx-message,
.mw-body, .mw-changeslist-legend,
.template-documentation, .toccolours,
#catlinks, #toc {border-radius: 2px;}
#pxruler_toggle {border-radius: 0 2px 2px 0;}

/* Colored QuickEdit */
#Wikiplus-Edit-TopBtn span a, #Wikiplus-Settings-Intro a, #wphl-settings a, 
.Wikiplus-Edit-EveryWhereBtn, .Wikiplus-Edit-SectionBtn, 
div.vectorTabs li a.Wikiplus-Edit-SectionBtn {color: #40C040;}

/* Wikiplus */
.Wikiplus-InterBox .wikiEditor-ui-clear {margin: 5px;}
#Wikiplus-Quickedit-Summary-Input {font-family: inherit;}
#Wikiplus-Quickedit-Preview-Submit, #Wikiplus-Quickedit-Submit {
	background: #FFF;
	border: none;
	border-radius: 2px;
	box-shadow: 0 1px 2px #aaa;
	font-family: inherit;
	margin: 5px 5px 0 5px;
	padding: 2px 10px;
	transition: all .2s ease-out;
}
.Wikiplus-Btn {
	border-radius: 2px;
	margin: 5px 10px 10px 0 !important;
	padding: .4em 1em !important;
	transition: all .2s ease-out;
}
#Wikiplus-Quickedit-Preview-Submit:hover, #Wikiplus-Quickedit-Submit:hover,
.Wikiplus-Btn:hover {background: #F4F4F4;}
.wphl-lint-subpanel {
	display: inline-flex;
	align-items: center;
}
.wphl-lint-count {width: auto !important;}

/* Other */
h4 {font-size: 1.1em !important;}
span.comment {font-style: oblique 6deg;}
.diff-addedline, .diff-deletedline, .diff-context {vertical-align: middle;}
.hljs-color {line-height: 1.15rem;}
.mainpage-flex tr {transition: background-color .2s ease-in;}
.mainpage-flex tr:hover {
	background-color: #FFF1F8 !important;
	transition: background-color .2s ease-in;
}
.mw-editTools, .oo-ui-labelElement-label {font-size: 0.9em;}
.mw-tag-markers {font-size: 90%;}
.tracklist.wikitable tr {transition: background-color .2s ease-in;}
.tracklist tr:nth-child(2n) {background-color: #f8f8f8;}
.tracklist.wikitable tr:hover {
	background-color: #FFF1F8;
	transition: background-color .2s ease-in;
}