-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvector-2022.css
More file actions
230 lines (216 loc) · 10.4 KB
/
vector-2022.css
File metadata and controls
230 lines (216 loc) · 10.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
:root {
--theme-header-height: 0;
}
@media (min-width: 1120px) {
:root {
--theme-header-height: 50px;
}
}
/* 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: "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 */
h1#firstHeading span[lang="ja"] {font-family: YakuHanMP, "Source Serif 4", "Kozuka Mincho Pro", "Source Han Serif", serif !important;}
h1#firstHeading span[lang="ko"] {font-family: "Source Serif 4", "Source Han Serif", serif !important;}
h1#firstHeading span[lang="ru"], h1#firstHeading span[lang="el"] {font-family: "Source Serif 4", serif !important;}
h1#firstHeading[lang="zh-TW"] {font-family: "SHSerif Full-Width Quotation", "Source Serif 4", "Source Han Serif", serif !important;}
h1#firstHeading[lang="zh-HK"] {font-family: "Chiron Sung HK VF", serif !important;}
h1#firstHeading[lang="en"] {font-family: "Source Serif 4", "Source Han Serif SC", serif !important;}
h1#firstHeading {font-family: "SHSerif Full-Width Quotation", "Source Serif 4", serif !important;}
.mw-body-content h2 {font-family: "SHSerif Full-Width Quotation", "Source Serif 4", serif !important;}
.mw-body-content h2 span[lang="ja"] {font-family: YakuHanMP, "Source Serif 4", "Kozuka Mincho Pro", "Source Han Serif", serif !important;}
.mw-body-content h2 span[lang="zh-TW"] {font-family: "SHSerif Full-Width Quotation", "Source Serif 4", "Source Han Serif", serif !important;}
.ext-discussiontools-visualenhancements-enabled .ext-discussiontools-init-section.mw-heading2 h2,
.ext-discussiontools-visualenhancements-enabled .ext-discussiontools-init-section h2 {font-family: "SHSerif Full-Width Quotation", "Source Serif 4", serif !important;}
.vector-sticky-header-context-bar-primary span[lang="ja"] {font-family: YakuHanMP, "Source Serif 4", "Kozuka Mincho Pro", "Source Han Serif", serif !important;}
.vector-sticky-header-context-bar-primary span[lang="ko"] {font-family: "Source Serif 4", "Source Han Serif", serif !important;}
.vector-sticky-header-context-bar-primary span[lang="ru"],
.vector-sticky-header-context-bar-primary span[lang="el"] {font-family: "Source Serif 4", serif !important;}
.vector-sticky-header-context-bar-primary[lang="zh-TW"] {font-family: "SHSerif Full-Width Quotation", "Source Serif 4", "Source Han Serif", serif !important;}
.vector-sticky-header-context-bar-primary[lang="zh-HK"] {font-family: "Chiron Sung HK VF", serif !important;}
.vector-sticky-header-context-bar-primary[lang="en"] {font-family: "Source Serif 4", "Source Han Serif SC", serif !important;}
.vector-sticky-header-context-bar-primary {font-family: "SHSerif Full-Width Quotation", "Source Serif 4", serif !important;}
/* Customized headers */
h2 {font-weight: 600 !important;}
.mw-body .mw-heading2 {
border-image: linear-gradient(to right, #EB8097, #E88849, #BF9D24, #7CAE58, #25B49A) 1;
padding-bottom: 0;
}
.vector-page-titlebar::after {background: linear-gradient(to right, #EB8097, #E88849, #BF9D24, #7CAE58, #25B49A);}
/* Customized panel */
#n-log a {
display: flex;
align-items: center;
padding: 6px 0;
}
#p-sidebar-categoryindex,
#vector-main-menu #vector-main-menu,
#vector-main-menu .vector-main-menu-action-opt-out:has(a[href$="mw-prefsection-rendering-skin"]) {display: none;}
.vector-toc .vector-toc-toggle {margin-top: .5em;}
/* Customized navigation */
#noteTA-vector-menu-tabs a {padding: 12px 0 5px 0;}
#noteTA-vector-menu-tabs a img {height: auto !important;}
#right-navigation.no-need-to-edit-whole-page ul.vector-menu-content-list {display: revert;}
#t-expandtemplates a, #t-pagelog a, #t-Prefixindex a {
display: flex;
align-items: center;
padding: 6px 0;
}
#t-prefixindex {display: none;}
.vector-menu-tabs .vector-menu-content-list a.cdx-button {margin-top: 7px;}
.vector-toc-list-item:has(.ext-discussiontools-init-sidebar-meta) {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: baseline;
}
.vector-toc-list-item:has(.ext-discussiontools-init-sidebar-meta) .vector-toc-link {flex-grow: 1;}
.vector-toc-list-item .ext-discussiontools-init-sidebar-meta {margin-left: auto;}
/* Customized header */
#ca-addsection {min-width: fit-content;}
#mw-indicator-mw-helplink {white-space: nowrap;}
.vector-header, .vector-sticky-header {box-shadow: 0 .3em .5em rgba(0, 0, 0, .05);}
.vector-pinned-container {background: none;}
/* Customized footer */
#footer-info-copyright ul {
display: table-cell;
font-size: 1rem;
width: 25vw;
padding-bottom: 1em;
}
/* Become rounded */
.vector-dropdown-content {border-radius: 2px;}
/* Customized Heimu */
.heimu, .heimu rt, .colormu, .colormu rt {
border-radius: .2rem;
padding-inline: .2rem;
}
/* Colored QuickEdit */
#bhsd-inspector a {color: #FF30A3;}
#Wikiplus-Edit-TopBtn a {color: #40C040;}
.Wikiplus-Edit-SectionBtn:hover {
color: #40C040;
text-decoration: none;
}
/* Customized QuickEdit */
.in-page-edit:not(.notify) .ssi-modalTitle,
.in-page-edit .ssi-modalWindow,
.in-page-edit .ssi-overflow,
.in-page-edit .ssi-overflow::before,
.in-page-edit .ssi-overflow::after {
background: var(--background-color-base);
border-color: var(--border-color-muted);
color: var(--color-base);
scrollbar-color: var(--color-base) var(--background-color-base);
}
@media (prefers-color-scheme: dark) {
.in-page-edit.ipe-editor .wikiEditor-ui-toolbar,
.Wikiplus-InterBox .wikiEditor-ui-toolbar {
background: var(--color-base);
}
.in-page-edit.ipe-editor .ssi-buttons,
.Wikiplus-InterBox .ssi-buttons,
.Wikiplus-InterBox #Wikiplus-Quickedit-Preview-Submit,
.Wikiplus-InterBox #Wikiplus-Quickedit-Submit {
background: var(--background-color-base);
color: var(--color-base)
}
}
/* 窄屏 */
@media (max-width: 576px) {
/* - Infobox */
#mw-content-text .infoBox {width: 100% !important;}
#mw-content-text .infotemplatebox,
#mw-content-text table.infobox,
#mw-content-text table.infoboxSpecial,
#mw-content-text .moe-infobox {
width: 100% !important;
max-width: unset !important;
float: none !important;
margin: 1rem 0 !important;
}
/* - Other */
.client-js .mw-changeslist ul,
.client-js .mw-changeslist table.mw-enhanced-rc {margin-left: 0;}
}
@media (max-width: 768px) {
/* - Navbox */
.navbox-group, .navbox-list, .navbox-title {
display: block;
width: 100% !important;
box-sizing: border-box !important;
}
.navbox-group + .navbox-list > .navbox-subgroup {
border-left: 0.75em solid transparent;
}
.navbox-group + * {
border-left: 0 !important;
border-top: 2px solid #fdfdfd;
}
}
/* Other */
body.ns-2 div#catlinks:has(ul) {
display: revert !important;
background: #FEF2E7;
border: #F7AD64 1px solid;
}
body.overlay-scrollbars #bodyContent {padding-right: 0;}
img.userlink-avatar-small {color: transparent;}
#siteSub {display: inline-flex;}
#topicpath {
border: none !important;
background: #FFFA !important;
margin: .6em 0 !important;
box-shadow: 0 -.2em 0 #0002 inset;
}
@media (prefers-color-scheme: dark) {
.diff-addedline, .diff-deletedline {
background: var(--background-color-base);
color: var(--color-base);
}
}
.ext-discussiontools-init-section .oo-ui-image-progressive.oo-ui-icon-bell {
background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3E bell %3C/title%3E%3Cg fill=%22%2336c%22%3E%3Cpath d=%22M16 7a5.38 5.38 0 0 0-4.46-4.85C11.6 1.46 11.53 0 10 0S8.4 1.46 8.46 2.15A5.38 5.38 0 0 0 4 7v6l-2 2v1h16v-1l-2-2zm-6 13a3 3 0 0 0 3-3H7a3 3 0 0 0 3 3%22/%3E%3C/g%3E%3C/svg%3E");
}
.ext-discussiontools-init-section .oo-ui-image-progressive.oo-ui-icon-bellOutline {
background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3E bell %3C/title%3E%3Cg fill=%22%2336c%22%3E%3Cpath d=%22M11.5 2.19C14.09 2.86 16 5.2 16 8v6l2 2v1H2v-1l2-2V8c0-2.8 1.91-5.14 4.5-5.81V1.5C8.5.67 9.17 0 10 0s1.5.67 1.5 1.5zM10 4C7.79 4 6 5.79 6 8v7h8V8c0-2.21-1.79-4-4-4M8 18h4c0 1.1-.9 2-2 2s-2-.9-2-2%22/%3E%3C/g%3E%3C/svg%3E");
}
.infoboxSpecial, .navbox {color: var(--color-fixed);}
.mw-body a.external:visited {color: revert;}
.mw-changeslist h4 {background: none !important;}
.mw-page-container {
background-image: linear-gradient(#FFFA, #FFF min(50vh, 50vw)), url(https://app.moegirl.org.cn/background/2023Anniversary/1920x1080.png);
background-repeat: no-repeat;
background-size: contain;
background-position: 0 -2vh;
}
@media (prefers-color-scheme: dark) {
.mw-page-container {
background-image: linear-gradient(#101418AA, #101418 min(50vh, 50vw)), url(https://app.moegirl.org.cn/background/2023Anniversary/1920x1080.png);
}
}
.navbox-title > div {display: -webkit-inline-box;}
.userlink-avatar-small {transition: all ease-out .3s;}
.userlink-avatar-small:hover {
background: #FFF;
box-shadow: 0 0 .2em lightblue;
transform: scale(5);
transition: all ease-in .3s;
}
.vector-icon.mw-ui-icon-wikimedia-language-progressive {
--svg: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3E language %3C/title%3E%3Cg fill=%22%2336c%22%3E%3Cpath d=%22M20 18h-1.44a.6.6 0 0 1-.4-.12.8.8 0 0 1-.23-.31L17 15h-5l-1 2.54a.8.8 0 0 1-.22.3.6.6 0 0 1-.4.14H9l4.55-11.47h1.89zm-3.53-4.31L14.89 9.5a12 12 0 0 1-.39-1.24q-.09.37-.19.69l-.19.56-1.58 4.19zm-6.3-1.58a13.4 13.4 0 0 1-2.91-1.41 11.46 11.46 0 0 0 2.81-5.37H12V4H7.31a4 4 0 0 0-.2-.56C6.87 2.79 6.6 2 6.6 2l-1.47.5s.4.89.6 1.5H0v1.33h2.15A11.23 11.23 0 0 0 5 10.7a17.2 17.2 0 0 1-5 2.1q.56.82.87 1.38a23.3 23.3 0 0 0 5.22-2.51 15.6 15.6 0 0 0 3.56 1.77zM3.63 5.33h4.91a8.1 8.1 0 0 1-2.45 4.45 9.1 9.1 0 0 1-2.46-4.45%22/%3E%3C/g%3E%3C/svg%3E");
-webkit-mask-image: var(--svg);
mask-image: var(--svg);
}
.vector-icon.mw-ui-icon-wikimedia-speechBubbleAdd-progressive {
--svg: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3E add speech bubble %3C/title%3E%3Cg fill=%22%2336c%22%3E%3Cpath d=%22M3 1a2 2 0 0 0-2 2v16l4-4h12a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2zm12 8h-4v4H9V9H5V7h4V3h2v4h4z%22/%3E%3C/g%3E%3C/svg%3E");
-webkit-mask-image: var(--svg);
mask-image: var(--svg);
}