You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

287 lines
5.2 KiB
Plaintext

// 页面加载动画
body.skin-timeless {
#mw-content-container,
#mw-footer-container {
transition: opacity 150ms linear;
}
#mw-overscroll-bottom-cover {
transition: opacity 0ms linear 150ms;
}
}
.page-loading-spinner {
display: none;
position: fixed;
top: 30vh;
margin: 0 auto;
width: 100%;
justify-content: center;
}
body.skin-timeless {
.spinner-box {
width: 300px;
height: 300px;
display: flex;
justify-content: center;
align-items: center;
background-color: transparent;
.circle-border {
width: 150px;
height: 150px;
padding: 3px;
display: flex;
justify-content: center;
align-items: center;
border-radius: 50%;
background: #3f51b5;
background: linear-gradient(0deg,rgba(63, 81, 181, 0.1) 33%,#3f51b5 100%);
animation: spin .8s linear 0s infinite;
}
.circle-core {
width: 100%;
height: 100%;
background-color: #f3f3f3;
border-radius: 50%;
}
@media screen and (max-width: 850px) {
.circle-core {
background-color: #fff;
}
}
}
}
@keyframes spin {
0% {
transform: rotate(0);
}
99% {
transform: rotate(356.4deg);
}
}
html.content-loading body.skin-timeless {
#mw-content-container,
#mw-footer-container {
opacity: 0;
}
#mw-overscroll-bottom-cover {
opacity: 0;
}
.page-loading-spinner {
display: flex;
}
}
html.content-unloading body.skin-timeless {
#mw-content-container,
#mw-footer-container {
opacity: 0;
}
#mw-overscroll-bottom-cover {
transition: none;
opacity: 0;
}
}
html.content-loaded body.skin-timeless {
}
// 折叠区域
.mw-collapse-content {
display: none;
margin: 1em 0 0;
}
.mw-collapse-toggle {
-webkit-user-select: none;
user-select: none;
cursor: pointer;
}
.wikitable-container .wikitable {
min-width: 200px;
}
@media screen and (max-width: 850px){
.wikitable-container {
width: 100%;
box-sizing: border-box;
float: none;
margin-left: 0px;
margin-right: 0px;
.wikitable {
width: 100%;
}
}
}
.black-space {
background-color: #252525;
color: #252525;
transition: color .15s;
&:hover {
color: #fff;
transition: color .15s;
}
}
.ve-init-target-visual .black-space {
color: #fff;
}
@media (prefers-color-scheme: dark) {
body.auto-color-scheme .black-space {
background-color: #fff;
color: #fff;
&:hover {
color: #222;
}
}
}
#toc > ul {
overflow-y: auto;
max-height: 50vh;
scrollbar-width: thin;
&::-webkit-scrollbar {
width: 8px;
}
&::-webkit-scrollbar-thumb {
border-radius: 0;
background: #cdcdcd;
&:hover {
background: #a6a6a6;
}
&:active {
background: #606060;
}
}
&::-webkit-scrollbar-track {
border-radius: 0;
background: #f0f0f0;
}
}
@media screen and (min-width: 851px){
#mw-footer .footer-places li {
white-space: pre;
}
}
@media screen and (max-width: 850px){
#mw-footer #copyright {
display: block;
}
}
// 面包屑
.breadcrumb {
padding: 8px 15px;
margin-bottom: 10px;
list-style: none;
background-color: #f5f5f5;
border-radius: 4px;
margin-block-start: 0;
margin-left: 0;
font-size: 14px;
> li {
display: inline-block;
&.active {
color: #777;
}
}
.breadcrumb-divider {
padding: 0 5px;
color: #ccc;
}
> li.root:before {
padding: 0 5px 0 0;
color: #ccc;
content: "/";
}
a {
text-decoration: none;
}
}
@media print {
#toc,
#contentSub .breadcrumb,
#flowthread {
display: none;
}
}
.subpages {
display: none !important;
}
#content {
.user-heading {
display: flex;
align-items: flex-end;
.user-avatar {
width: 64px;
height: 64px;
}
#firstHeading {
flex-grow: 1;
margin: 0 0.5em 0.25em 0;
}
}
}
.oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget {
width: auto !important;
}
.googlead-container-bottom {
margin-top: 10px;
margin-bottom: 8px;
width: 100%;
min-height: 90px;
}
.skin-minerva .googlead-container-bottom {
margin-top: 30px;
margin-left: 16px;
margin-bottom: 16px;
margin-right: 16px;
}
@media screen and (max-width: 1099px) {
.googlead-container-sidebar {
display: none;
}
}
// 对登录用户隐藏标题
@media (max-width: 576px) {
.logged-in #p-logo-text {
display: none;
}
}