User:Irukaza/common.css
跳到导航
跳到搜索
注意:这类代码页面在保存之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。
- 按住
CTRL+SHIFT+DEL 或 ⌘-Shift-R
来清除缓存! - 或尝试在地址栏的地址最后添加代码
?_=1
来访问最新页面。 - 你还可以在设置中勾选小工具在页面右上角添加清除缓存按钮!
:root {
--theme-body-background-color: #f6f6f6;
--theme-page-background-color: #ffffff;
--theme-page-background-color--rgb: 255,255,255;
--theme-page-background-color--secondary: #f3f4f4;
--theme-page-text-color: #3a3a3a;
--theme-page-text-color--rgb: 58,58,58;
--theme-page-text-color--hover: #6d6d6d;
--theme-link-color: #009bbe;
--theme-link-color--rgb: 0,155,190;
--theme-link-color--hover: #004858;
--theme-link-label-color: #0e191a;
--theme-accent-color: #404a57;
--theme-accent-color--rgb: 64,74,87;
--theme-accent-color--hover: #6b7c92;
--theme-accent-label-color: #ffffff;
--theme-border-color: #c3c6c6;
--theme-border-color--rgb: 195,198,198;
--theme-page-text-mix-color: #9d9d9d;
--theme-page-accent-mix-color: #a0a5ab;
--theme-alert-color: #e81a3f;
--theme-alert-color--rgb: 232,26,63;
--theme-alert-label: #ffffff;
--theme-alert-color--hover: #f1778d;
--theme-warning-color: #de5e33;
--theme-success-color: #018c30;
--theme-success-color--rgb: 1,140,48;
--theme-success-label: #ffffff;
--theme-message-color: #008c8f;
--theme-header-background-color: #dee7e5;
--theme-header-background-color--rgb: 222,231,229;
--theme-header-text-color: #0e191a;
--theme-header-text-color--hover: black;
--theme-infobox-background-color: #d9f0f5;
--theme-infobox-section-header-background-color: #bfe6ef;
--global-navigation-background-color: #002a32;
--global-navigation-link-color: #00d6d6;
--oasis-article-background-color--darken-002: #fafafa;
--oasis-article-background-color--darken-005: #f2f2f2;
--oasis-article-background-color--darken-008: #ebebeb;
--oasis-article-text-mix-95: whitesmoke;
--oasis-community-background-image: url(load.php);
--oasis-community-background-opacity: 1;
--oasis-lightbox-caption--rgb: 255,255,255;
--oasis-europa-background-color: #ececed;
--oasis-europa-tabber-background-color: #a7abb1;
--oasis-europa-horizontal-group-background-color: #dbdcde;
--oasis-wikiabar-background-color: #404a57;
--oasis-wikiabar-text-color: #e6e6e6;
--article-math-formula-filter: none;
}
.wds-dropdown {
--wds-dropdown-background-color: var(--theme-page-background-color--secondary);
--wds-dropdown-border-color: var(--theme-border-color);
--wds-dropdown-text-color: var(--theme-page-text-color);
--wds-dropdown-linked-item-color: var(--theme-link-color);
--wds-dropdown-linked-item-background-color: rgba(var(--theme-link-color--rgb),0.1);
--wds-dropdown-scrollable-shadow-color: rgba(var(--theme-page-text-color--rgb),0.1);
display: inline-block;
position: relative;
}
.wds-dropdown__content {
background-color: var(--wds-dropdown-background-color);
border: 1px solid var(--wds-dropdown-border-color);
border-radius: 4px;
color: var(--wds-dropdown-text-color);
display: none;
left: 50%;
min-width: 70%;
padding: 7px 0;
position: absolute;
top: 100%;
transform: translateX(-50%);
z-index: 1;
}
.wds-dropdown__toggle {
cursor: default;
position: relative;
}
.wds-dropdown:before {
border: 9px solid transparent;
border-bottom: 9px solid var(--wds-dropdown-border-color);
margin-left: -9px;
}
.wds-dropdown:after, .wds-dropdown:before {
bottom: -1px;
content: "";
display: none;
height: 0;
left: 50%;
pointer-events: none;
position: absolute;
width: 0;
z-index: 2;
}
.wds-dropdown:after {
border: 8px solid transparent;
border-bottom: 8px solid var(--wds-dropdown-background-color);
margin-left: -8px;
}
.wds-dropdown:after, .wds-dropdown:before {
bottom: -1px;
content: "";
display: none;
height: 0;
left: 50%;
pointer-events: none;
position: absolute;
width: 0;
z-index: 2;
}