注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。
- Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5或Ctrl-R(Mac为⌘-R)
- Google Chrome:按Ctrl-Shift-R(Mac为⌘-Shift-R)
- Internet Explorer或Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
- Opera:按 Ctrl-F5。
/* 这里放置的CSS将应用于所有皮肤 */
:root {
font-family: 'Roboto',-apple-system,sans-serif;
}
.pi-theme-default {
margin-top: 0;
border-spacing: 0;
border-radius: 12px;
background: var(--background-color-framed);
font-size: 0.875rem;
text-align: left;
/* boxshadow-2 */
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.04), 0 3px 6px rgba(0, 0, 0, 0.0575);
/* In case if tooltips go out of boundary */
overflow: visible;
}
.pi-theme-default .pi-data-value > :not(ul), .pi-theme-default .pi-data-value li {
margin: .8rem 0;
}
.pi-theme-default .pi-item {
border: none;
}
.pi-theme-default .pi-item:last-child {
margin-bottom: 5px;
}
.pi-theme-default .pi-header {
text-align: center;
}
.pi-theme-default .pi-header p {
margin: .3rem 0;
}
:root {
--pi-secondary-background: var(--color-surface-3);
--pi-item-spacing: 5px 15px;
}
.mbox {
position: relative;
margin-top: 0.4rem;
margin-bottom: 0.8rem;
border-radius: 0.2em;
color: var( --color-base--subtle );
font-size: 0.875rem;
display: flex;
flex-direction: column;
box-shadow: 0 0.2rem 0.5rem rgb(0 0 0 / 5%), 0 0.025rem 0.05rem rgb(0 0 0 / 5%);
}
.mbox-title {
padding: 10px 15px;
display: flex;
align-items: center;
font-weight: 700;
color: var(--color-base--emphasized);
}
.mbox-icon {
margin-right: 10px;
width: 20px;
height: auto;
font-size: 20px;
}
.mbox-text {
padding: 15px 20px;
border-radius: 8px;
}
/* Dark mode */
html.skin-citizen-dark .mbox-icon img {
filter: invert(1);
}
/* Readability fixes */
html.skin-citizen-dark .mbox {
color: var( --color-base--emphasized );
}
@media only screen and (max-width: 720px) {
.mbox {
margin: 0.4rem -20px 0 -20px;
}
.mbox-title {
padding: 10px 20px;
}
}
.hlist li:not(:last-child) {
padding-right: 0.286em;
}
.hlist li,
.hlist a.image{
display: inline;
}
.hlist li:not(:last-child)::after {
content: "";
display: inline-block;
position: relative;
left: 0.286em;
bottom: 0.214em;
background-color: var(--color-base);
height: 3px;
width: 3px;
}
.skin-citizen-dark .instructors img {
filter: invert(1);
}
h1 code, h2 code, h3 code, h4 code, h5 code, h6 code {
border: none;
background-color: inherit;
font-size: inherit;
}
.navbox {
width: 100%;
box-shadow: 0 0.2rem 0.5rem rgb(0 0 0 / 5%), 0 0.025rem 0.05rem rgb(0 0 0 / 5%);
border-radius: 8px;
padding: 10px;
}
.wikitable.navbox tr th, .wikitable.navbox tr td {
padding: 10px 20px;
}
.navbox .hlist li:not(:last-child) {
padding-right: 0.5em;
}
.sitenotice {
margin: 0.6rem 1rem 0.8rem 1rem;
border-radius: 8px;
padding: 10px 15px;
color: var(--color-base--subtle);
background: var(--color-surface-2);
font-size: 0.875rem;
line-height: 1.4;
align-items: center;
}
#siteNotice p {
margin: 0;
}
.siteNoticeScroll {
width: 100%;
height: 25px;
line-height: 25px;
overflow: hidden;
}
.siteNoticeScroll ul {
margin-top: 0px;
}
.siteNoticeScroll li {
height: 25px;
list-style: none;
}
#siteNotice .mbox {
width: 100%;
}
#toc {
top: calc(var(--height-header) + 50px);
}
.ve-active #p-views #ca-ve-edit > a {
margin-right: 4px;
}
#t-cite > a:after {
background-image: linear-gradient(transparent,transparent), url('data:image/svg+xml,%3C?xml version=\"1.0\" encoding=\"UTF-8\"?%3E%3Csvg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\"%3E\t%3Ctitle%3E\t\treference\t%3C/title%3E\t%3Cpath d=\"M15 10l-2.78-2.78L9.44 10V1H5a2 2 0 00-2 2v14a2 2 0 002 2h10a2 2 0 002-2V3a2 2 0 00-2-2z\"/%3E%3C/svg%3E');
}
#ca-purge > a:after {
background-image: linear-gradient(transparent,transparent), url("data:image/svg+xml,%3C?xml version='1.0' encoding='UTF-8'?%3E%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E\t%3Ctitle%3E\t\treload\t%3C/title%3E\t%3Cpath d='M15.65 4.35A8 8 0 1017.4 13h-2.22a6 6 0 11-1-7.22L11 9h7V2z'/%3E%3C/svg%3E")
}
#n-.E6.A8.A1.E5.9D.97 > a:after {
background-image: linear-gradient(transparent,transparent), url("data:image/svg+xml,%3C?xml version='1.0' encoding='UTF-8'?%3E%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E\t%3Ctitle%3E\t\tview compact\t%3C/title%3E\t%3Cpath d='M2 2h4v4H2zm12 0h4v4h-4zM8 2h4v4H8zM2 14h4v4H2zm12 0h4v4h-4zm-6 0h4v4H8zM2 8h4v4H2zm12 0h4v4h-4zM8 8h4v4H8z'/%3E%3C/svg%3E")
}
.skin-citizen-light #footer-icons img {
filter: invert(1);
}