• 欢迎来到小可 · Wiki,人人可编辑的,多平台聊天机器人“小可”的官方文档资源。
  • 小可很可爱,请给我们打钱
  • 原MkDocs已迁入本站。若发现404属正常现象,请点击右上角搜索您想要的模块。

MediaWiki:Common.css

MediaWiki系统消息页面
Dianliang233讨论 | 贡献2021年8月7日 (六) 05:11的版本

注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。

  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5Ctrl-R(Mac为⌘-R
  • Google Chrome:Ctrl-Shift-R(Mac为⌘-Shift-R
  • Internet Explorer或Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
  • Opera:Ctrl-F5
/* 这里放置的CSS将应用于所有皮肤 */
@import url('https://cdn.jsdelivr.net/npm/@mdi/font/css/materialdesignicons.min.css');
@import url('/wiki/MediaWiki:Home.css?action=raw&ctype=text/css');

:root {
    '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-top: 0.6rem;
    margin-bottom: 0.8rem;
    border-radius: 8px;
    padding: 10px 15px;
    color: var(--color-base--subtle);
    background: var(--background-color-framed);
    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")
}
Cookie帮助我们提供我们的服务。通过使用我们的服务,您同意我们使用cookie。