MediaWiki:Lakeus.css:修订间差异
来自存档计划,Project Archive by Lakejason0
添加的内容 删除的内容
Lakejason0(留言 | 贡献) |
Lakejason0(留言 | 贡献) |
||
第211行: | 第211行: | ||
:root:lang(zh), :root:lang(zh-hans) { |
:root:lang(zh), :root:lang(zh-hans) { |
||
--font-family: 'Roboto', -apple-system, blinkmacsystemfont, 'Oxygen', 'Ubuntu', 'Cantarell', 'Helvetica Neue', "Noto Sans CJK SC", "Noto Sans CJK", sans-serif; |
--font-family: 'Roboto', -apple-system, blinkmacsystemfont, 'Oxygen', 'Ubuntu', 'Cantarell', 'Helvetica Neue', "Noto Sans CJK SC", "Noto Sans SC", "Noto Sans CJK", sans-serif; |
||
--font-family-serif: 'Linux Libertine', 'Times New Roman', 'Liberation Serif', 'Nimbus Roman', 'Noto Serif', 'Times', "Noto Serif CJK SC", "Noto Serif CJK", serif; |
--font-family-serif: 'Linux Libertine', 'Times New Roman', 'Liberation Serif', 'Nimbus Roman', 'Noto Serif', 'Times', "Noto Serif CJK SC", "Noto Serif SC", "Noto Serif CJK", serif; |
||
} |
} |
||
:root:lang(zh-hant) { |
:root:lang(zh-hant) { |
||
--font-family: 'Roboto', -apple-system, blinkmacsystemfont, 'Oxygen', 'Ubuntu', 'Cantarell', 'Helvetica Neue', "Noto Sans CJK TC", "Noto Sans CJK", sans-serif; |
--font-family: 'Roboto', -apple-system, blinkmacsystemfont, 'Oxygen', 'Ubuntu', 'Cantarell', 'Helvetica Neue', "Noto Sans CJK TC", "Noto Sans TC", "Noto Sans CJK", sans-serif; |
||
--font-family-serif: 'Linux Libertine', 'Times New Roman', 'Liberation Serif', 'Nimbus Roman', 'Noto Serif', 'Times', "Noto Serif CJK TC", "Noto Serif CJK", serif; |
--font-family-serif: 'Linux Libertine', 'Times New Roman', 'Liberation Serif', 'Nimbus Roman', 'Noto Serif', 'Times', "Noto Serif CJK TC", "Noto Serif TC", "Noto Serif CJK", serif; |
||
} |
} |
||
:root:lang(ja) { |
:root:lang(ja) { |
||
--font-family: 'Roboto', -apple-system, blinkmacsystemfont, 'Oxygen', 'Ubuntu', 'Cantarell', 'Helvetica Neue', "Noto Sans CJK JP", "Noto Sans CJK", sans-serif; |
--font-family: 'Roboto', -apple-system, blinkmacsystemfont, 'Oxygen', 'Ubuntu', 'Cantarell', 'Helvetica Neue', "Noto Sans CJK JP", "Noto Sans JP", "Noto Sans CJK", sans-serif; |
||
--font-family-serif: 'Linux Libertine', 'Times New Roman', 'Liberation Serif', 'Nimbus Roman', 'Noto Serif', 'Times', "Noto Serif CJK JP", "Noto Serif CJK", serif; |
--font-family-serif: 'Linux Libertine', 'Times New Roman', 'Liberation Serif', 'Nimbus Roman', 'Noto Serif', 'Times', "Noto Serif CJK JP", "Noto Serif JP", "Noto Serif CJK", serif; |
||
} |
} |
||
2023年5月17日 (三) 07:48的版本
/* 这里放置的CSS将影响使用Lakeus皮肤的用户 */
@font-face {
font-family: 'Zhudou Sans';
src: url('/images/b/ba/ZhudouSansVF.woff2') format("woff2-variations"), local('Zhudou Sans');
font-weight: 250 900;
}
/* Toggle List */
.toggle-list__list a {
padding-left: calc(8px + 25px);
}
.toggle-list__list a::before {
content: '';
width: 0;
height: 0;
display: inline-block;
font-family: 'Material Icons';
font-size: 18px;
transform: translateX(-25px) translateY(3px);
/* Display Optimizing */
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
-moz-osx-font-smoothing: grayscale;
font-feature-settings: 'liga';
}
/* Navigation */
#n-mainpage-description a::before {
content: 'home';
}
#n-recentchanges a::before {
content: 'auto_awesome';
}
#n-randompage a::before {
content: 'shuffle';
}
#n-forum a::before {
content: 'local_cafe';
}
#n-portal a::before {
content: 'forum';
}
#n-adminnoticeboard a::before {
content: 'groups';
}
#n-help-mediawiki a::before {
content: 'help_center';
}
#n-projects a::before {
content: 'event';
}
#n-sandbox a::before {
content: 'gesture';
}
#n-service-status a::before {
content: 'insights';
}
#n-external-search a::before {
content: 'travel_explore';
}
/* Featured */
#n-untitled-fragment a::before {
content: 'subject';
}
#n-memified-chinese a::before {
content: 'sentiment_very_satisfied';
}
#n-teahouse-weekly a::before {
content: 'campaign';
}
#n-mediawiki-notes a::before {
content: 'integration_instructions';
}
#n-lakkerisho a::before {
content: 'psychology';
}
/* Personal Menu */
#p-personal a {
padding-left: calc(0.75em + 25px);
}
#p-personal a::before {
content: '';
width: 0;
height: 0;
display: inline-block;
font-family: 'Material Icons';
font-size: 18px;
transform: translateX(-25px) translateY(3px);
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
-moz-osx-font-smoothing: grayscale;
font-feature-settings: 'liga';
}
#pt-userpage a::before {
content: 'person';
}
#pt-mytalk a::before {
content: 'chat_bubble';
}
#pt-adminlinks a::before {
content: 'admin_panel_settings';
}
#pt-preferences a::before {
content: 'settings';
}
#pt-betafeatures a::before {
content: 'science';
}
#pt-watchlist a::before {
content: 'star';
}
#pt-mycontris a::before {
content: 'emoji_events';
}
#pt-logout a::before {
content: 'logout';
}
#pt-login a::before {
content: 'login';
}
#pt-createaccount a::before {
content: 'person_add';
}
/* Default theme: ArchWiki-like */
:root:not(.lakeus-theme-default) {
--color-primary: #0077bb;
--color-secondary: #ffffff;
--color-neutral: #a2a9b1;
--color-warning: #ffcc33;
--color-error: #dd3333;
--color-success: #14866d;
--color-header: #333333;
--color-link: #0077bb;
--elevation: 0 2px 2px rgba( 0, 0, 0, 10% );
--background-color-base: #f6f9fc;
--color-link--visited: #004c8a;
--color-link--active: #57a6ee;
--color-link-new: #bb4400;
--color-link-new--visited: #840f00;
--color-link-new--active: #f47334;
--color-link-external: #006eb1;
--color-link-external--visited: #004481;
--color-link-external--active: #559ce3;
--header-elevation: inset 0px -5px 0px 0px #08c;
--text-color-header: #ffffff;
--icon-filter-header: invert(1) hue-rotate(180deg);
--background-color-search-suggestions-current: #0077bb;
--background-color-toggle-list: #ffffff;
--background-color-toggle-list-card: #0077bb;
--text-color-toggle-list-item: #000000;
--background-color-toggle-list-item-hover: rgba(0,119,187,0.1);
--text-color-toggle-list-item-hover: #0077bb;
--background-color-toggle-list-item-focus: rgba(0,110,177,0.2);
--text-color-toggle-list-item-focus: #0077bb;
--subheader-color-toggle-list: #0065a7;
--logo-text-color-toggle-list: #ffffff;
--mask-background: rgba(0,0,0,0.8);
--background-color-content: #ffffff;
--text-color-content: #000000;
--background-color-body: #f6f9fc;
--text-color-body: #000000;
--color-accent-header-tab: #0077bb;
--color-accent-header-tab-selected: #0077bb;
--color-accent-header-tab-new: #0077bb;
--color-tagline: rgba(0,0,0,0.7);
--background-color-portlet-body: #ffffff;
--text-color-portlet-item: #000000;
--background-color-portlet-item-hover: rgba(0,119,187,0.1);
--text-color-portlet-item-hover: #0077bb;
--background-color-portlet-item-focus: rgba(87,166,238,0.1);
--text-color-portlet-item-focus: #0077bb;
--background-color-footer: #f6f9fc;
--text-color-footer: #000000;
--color-footer-link: #0077bb;
--color-footer-link--visited: #004c8a;
--background-color-toc-button: #ffffff;
--icon-filter-toc-button: unset;
--text-color-sticky-toc-number: rgba(0,0,0,0.7);
}
:root:lang(zh), :root:lang(zh-hans) {
--font-family: 'Roboto', -apple-system, blinkmacsystemfont, 'Oxygen', 'Ubuntu', 'Cantarell', 'Helvetica Neue', "Noto Sans CJK SC", "Noto Sans SC", "Noto Sans CJK", sans-serif;
--font-family-serif: 'Linux Libertine', 'Times New Roman', 'Liberation Serif', 'Nimbus Roman', 'Noto Serif', 'Times', "Noto Serif CJK SC", "Noto Serif SC", "Noto Serif CJK", serif;
}
:root:lang(zh-hant) {
--font-family: 'Roboto', -apple-system, blinkmacsystemfont, 'Oxygen', 'Ubuntu', 'Cantarell', 'Helvetica Neue', "Noto Sans CJK TC", "Noto Sans TC", "Noto Sans CJK", sans-serif;
--font-family-serif: 'Linux Libertine', 'Times New Roman', 'Liberation Serif', 'Nimbus Roman', 'Noto Serif', 'Times', "Noto Serif CJK TC", "Noto Serif TC", "Noto Serif CJK", serif;
}
:root:lang(ja) {
--font-family: 'Roboto', -apple-system, blinkmacsystemfont, 'Oxygen', 'Ubuntu', 'Cantarell', 'Helvetica Neue', "Noto Sans CJK JP", "Noto Sans JP", "Noto Sans CJK", sans-serif;
--font-family-serif: 'Linux Libertine', 'Times New Roman', 'Liberation Serif', 'Nimbus Roman', 'Noto Serif', 'Times', "Noto Serif CJK JP", "Noto Serif JP", "Noto Serif CJK", serif;
}
html:not(.lakeus-theme-default) #content {
border: 1px solid var(--border-color-content);
}
html.lakeus-zhudou-sans {
--font-family: 'Zhudou Sans', 'Roboto', -apple-system, blinkmacsystemfont, 'Segoe UI', 'Oxygen', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif;
}
html.lakeus-zhudou-sans {
font-weight: 400;
}
@media screen and ( max-width: 760px ) {
html:not(.lakeus-theme-default) #content {
border-left: 0 none var(--background-color-content);
border-right: 0 none var(--background-color-content);
}
}
html:not(.lakeus-theme-default) #ca-uls .uls-trigger {
background-image: none;
padding-left: 0;
}
html[data-darkreader-scheme="dark"]:not(.lakeus-theme-default) {
--icon-filter-header: unset;
}