MediaWiki:Tweeki.css
MediaWiki界面页面
更多操作
注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的更改的影响。
- Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5或Ctrl-R(Mac为⌘-R)
- Google Chrome:按Ctrl-Shift-R(Mac为⌘-Shift-R)
- Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5。
/* Tweeki rehearsal site polish. Loaded only for users selecting the Tweeki skin. */
body.skin-tweeki {
--mucwiki-page: #f7f8fb;
--mucwiki-surface: #ffffff;
--mucwiki-text: #172033;
--mucwiki-muted: #566273;
--mucwiki-border: #d9e2ee;
--mucwiki-border-soft: #e8edf4;
--mucwiki-accent: #245b9f;
--mucwiki-accent-strong: #173f75;
--mucwiki-accent-soft: #edf4ff;
background: #f7f8fb;
color: var(--mucwiki-text);
-webkit-font-smoothing: antialiased;
}
body.skin-tweeki #contentwrapper.with-navbar-fixed {
padding-top: 60px;
}
body.skin-tweeki #maincontentwrapper {
padding-top: 0;
}
body.skin-tweeki .navbar {
min-height: 3.75rem;
border-bottom: 1px solid rgba(198, 208, 222, .85);
background: rgba(255, 255, 255, .96) !important;
box-shadow: 0 1px 0 rgba(17, 24, 39, .02);
}
body.skin-tweeki .navbar .container {
max-width: 76rem;
}
body.skin-tweeki .navbar-brand {
color: #111827;
font-size: 1.18rem;
font-weight: 800;
letter-spacing: 0;
}
body.skin-tweeki .navbar .navbar-nav {
gap: .08rem;
}
body.skin-tweeki .navbar .nav-link,
body.skin-tweeki .navbar .dropdown-toggle {
min-height: 2.25rem;
padding: .42rem .66rem;
border-radius: 8px;
color: #344054;
font-weight: 700;
}
body.skin-tweeki .navbar .nav-link:hover,
body.skin-tweeki .navbar .nav-link:focus,
body.skin-tweeki .navbar .dropdown-toggle:hover,
body.skin-tweeki .navbar .dropdown-toggle:focus {
background: #f1f5f9;
color: var(--mucwiki-accent-strong);
text-decoration: none;
}
body.skin-tweeki .navbar .nav-link.active,
body.skin-tweeki .navbar .nav-item.active > .nav-link {
background: var(--mucwiki-accent-soft);
color: var(--mucwiki-accent-strong);
}
body.skin-tweeki .navbar-toggler {
border-color: #cfd9e7;
border-radius: 8px;
}
body.skin-tweeki .navbar .form-control,
body.skin-tweeki .navbar input[type="search"],
body.skin-tweeki #searchInput {
min-height: 2.35rem;
border-color: #cfd9e7;
border-radius: 9px;
background: #fff;
box-shadow: none;
}
body.skin-tweeki .navbar form {
max-width: 18rem;
}
body.skin-tweeki .navbar .form-control:focus,
body.skin-tweeki .navbar input[type="search"]:focus,
body.skin-tweeki #searchInput:focus {
border-color: #8eb0dc;
box-shadow: 0 0 0 .18rem rgba(49, 95, 158, .16);
}
body.skin-tweeki #siteSub,
body.skin-tweeki #jump-to-nav,
body.skin-tweeki .printfooter {
display: none;
}
body.skin-tweeki #content.mw-body {
max-width: 76rem;
margin: 1.7rem auto 0;
padding: 2rem 2.25rem 2.5rem;
border: 1px solid var(--mucwiki-border-soft);
border-radius: 12px;
background: rgba(255, 255, 255, .96);
box-shadow: 0 1px 2px rgba(37, 55, 82, .04);
}
body.skin-tweeki #bodyContent {
max-width: 68rem;
margin: 0 auto;
}
body.skin-tweeki .mw-parser-output {
max-width: 64rem;
margin: 0 auto;
color: var(--mucwiki-text);
font-size: 1rem;
line-height: 1.78;
}
body.skin-tweeki:not(.page-首页) .mw-parser-output {
max-width: 58rem;
}
body.skin-tweeki #firstHeading {
max-width: 58rem;
margin: 0 auto 1rem;
color: #0f172a;
font-size: 2rem;
font-weight: 800;
line-height: 1.18;
text-align: left;
}
body.skin-tweeki.page-首页 #content.mw-body,
body.skin-tweeki.page-首页 #bodyContent,
body.skin-tweeki.page-首页 .mw-parser-output {
max-width: 76rem;
}
body.skin-tweeki.page-首页 #content.mw-body {
margin-top: 1.45rem;
padding: 0 1.25rem 2.1rem;
border: 0;
border-radius: 0;
background: transparent;
box-shadow: none;
}
body.skin-tweeki.page-首页 .mw-parser-output {
margin-top: 0;
}
body.skin-tweeki .mw-parser-output h2 {
margin-top: 1.55rem;
padding-bottom: .3rem;
border-bottom: 1px solid var(--mucwiki-border);
color: #111827;
font-size: 1.42rem;
font-weight: 800;
}
body.skin-tweeki .mw-parser-output h3 {
margin-top: 1.18rem;
color: #172033;
font-size: 1.12rem;
font-weight: 800;
}
body.skin-tweeki .mw-parser-output p,
body.skin-tweeki .mw-parser-output li {
color: #253044;
}
body.skin-tweeki .mw-parser-output a {
color: #075fc7;
text-decoration: underline;
}
body.skin-tweeki .mw-parser-output a:hover,
body.skin-tweeki .mw-parser-output a:focus {
color: #064b9c;
}
body.skin-tweeki .mw-parser-output ul,
body.skin-tweeki .mw-parser-output ol {
padding-left: 1.35rem;
}
body.skin-tweeki .mw-parser-output blockquote,
body.skin-tweeki .mw-parser-output pre,
body.skin-tweeki .mw-parser-output .toc,
body.skin-tweeki .mw-parser-output #toc,
body.skin-tweeki .catlinks,
body.skin-tweeki .mw-search-profile-tabs,
body.skin-tweeki .searchresults,
body.skin-tweeki .mw-search-createlink,
body.skin-tweeki .mw-warning-with-logexcerpt,
body.skin-tweeki .mw-rcfilters-ui-filterTagMultiselectWidget,
body.skin-tweeki .mw-rcfilters-ui-filterWrapperWidget,
body.skin-tweeki .mw-recentchanges-toplinks,
body.skin-tweeki .oo-ui-panelLayout-framed {
border-color: var(--mucwiki-border);
border-radius: 10px;
background: #fff;
box-shadow: 0 1px 2px rgba(37, 55, 82, .035);
}
body.skin-tweeki .mw-parser-output blockquote {
padding: .85rem 1rem;
border-left: 4px solid #8eb0dc;
}
body.skin-tweeki .mw-parser-output pre {
padding: 1rem;
}
body.skin-tweeki .mw-parser-output .wikitable {
overflow: hidden;
border-color: var(--mucwiki-border);
border-radius: 8px;
background: #fff;
}
body.skin-tweeki .mw-parser-output .wikitable th {
background: #f1f5fb;
color: #172033;
}
body.skin-tweeki .mw-parser-output img {
max-width: 100%;
height: auto;
}
body.skin-tweeki input[type="text"],
body.skin-tweeki input[type="search"],
body.skin-tweeki input[type="password"],
body.skin-tweeki input[type="email"],
body.skin-tweeki select,
body.skin-tweeki textarea {
border-color: #cfd9e7;
border-radius: 8px;
background: #fff;
box-shadow: none;
}
body.skin-tweeki input[type="text"]:focus,
body.skin-tweeki input[type="search"]:focus,
body.skin-tweeki input[type="password"]:focus,
body.skin-tweeki input[type="email"]:focus,
body.skin-tweeki select:focus,
body.skin-tweeki textarea:focus {
border-color: #8eb0dc;
box-shadow: 0 0 0 .18rem rgba(49, 95, 158, .16);
}
body.skin-tweeki .btn,
body.skin-tweeki button,
body.skin-tweeki input[type="button"],
body.skin-tweeki input[type="submit"] {
border-radius: 8px;
font-weight: 700;
}
body.skin-tweeki .oo-ui-buttonElement-button,
body.skin-tweeki .oo-ui-inputWidget-input {
border-radius: 8px;
}
body.skin-tweeki #footer,
body.skin-tweeki footer,
body.skin-tweeki .mw-footer {
max-width: 76rem;
margin: 2.25rem auto 0;
padding: 1.1rem 1.25rem;
border-top: 1px solid var(--mucwiki-border);
background: transparent;
background-color: transparent !important;
color: var(--mucwiki-muted);
font-size: .92rem;
}
body.skin-tweeki #footer.footer,
body.skin-tweeki #footer.bg-light,
body.skin-tweeki footer.footer,
body.skin-tweeki footer.bg-light {
background: transparent;
background-color: transparent !important;
}
body.skin-tweeki #footer ul,
body.skin-tweeki footer ul,
body.skin-tweeki .mw-footer ul {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: .45rem 1rem;
margin: 0;
padding: 0;
list-style: none;
}
body.skin-tweeki #footer li,
body.skin-tweeki footer li,
body.skin-tweeki .mw-footer li {
margin: 0;
}
body.skin-tweeki #footer a,
body.skin-tweeki footer a,
body.skin-tweeki .mw-footer a {
display: inline-flex;
align-items: center;
min-height: 1.75rem;
padding: .12rem .18rem;
color: #536070;
text-decoration: none;
}
body.skin-tweeki #footer a:hover,
body.skin-tweeki #footer a:focus,
body.skin-tweeki footer a:hover,
body.skin-tweeki footer a:focus,
body.skin-tweeki .mw-footer a:hover,
body.skin-tweeki .mw-footer a:focus {
color: #075fc7;
text-decoration: underline;
}
@media (max-width: 992px) {
body.skin-tweeki .navbar-collapse {
margin-top: .6rem;
padding: .65rem;
border: 1px solid var(--mucwiki-border);
border-radius: 12px;
background: #fff;
box-shadow: 0 12px 28px rgba(37, 55, 82, .08);
}
body.skin-tweeki .navbar form {
max-width: none;
margin-top: .6rem;
}
}
@media (max-width: 720px) {
body.skin-tweeki #content.mw-body {
margin-top: 1rem;
padding: 1.1rem .95rem 1.55rem;
border-radius: 10px;
}
body.skin-tweeki.page-首页 #content.mw-body {
margin-top: .9rem;
padding: 0 .88rem 1.5rem;
}
body.skin-tweeki #firstHeading {
font-size: 1.62rem;
}
body.skin-tweeki .mw-parser-output {
font-size: .98rem;
line-height: 1.72;
}
}
body.skin-tweeki .navbar a,
body.skin-tweeki .mucwiki-home-card a,
body.skin-tweeki .mucwiki-home-link-cloud a,
body.skin-tweeki .mucwiki-home-stat a {
text-decoration: none;
}
body.skin-tweeki .mucwiki-home-card a:hover,
body.skin-tweeki .mucwiki-home-card a:focus,
body.skin-tweeki .mucwiki-home-link-cloud a:hover,
body.skin-tweeki .mucwiki-home-link-cloud a:focus,
body.skin-tweeki .mucwiki-home-stat a:hover,
body.skin-tweeki .mucwiki-home-stat a:focus {
text-decoration: underline;
}
@media (max-width: 720px) {
body.skin-tweeki .navbar .container {
padding-right: .88rem;
padding-left: .88rem;
}
}
@media (max-width: 720px) {
body.skin-tweeki.mw-special-Recentchanges .mw-changeslist,
body.skin-tweeki.mw-special-Recentchanges .mw-rcfilters-ui-changesListWrapperWidget,
body.skin-tweeki.mw-special-Recentchanges .mw-body-content,
body.skin-tweeki.mw-special-Recentchanges #bodyContent,
body.skin-tweeki.mw-special-Recentchanges #content {
max-width: 100%;
overflow-x: hidden;
}
body.skin-tweeki.mw-special-Recentchanges .mw-changeslist table,
body.skin-tweeki.mw-special-Recentchanges .mw-changeslist tbody,
body.skin-tweeki.mw-special-Recentchanges .mw-changeslist tr,
body.skin-tweeki.mw-special-Recentchanges .mw-changeslist td {
display: block;
width: 100% !important;
max-width: 100%;
box-sizing: border-box;
}
body.skin-tweeki.mw-special-Recentchanges .mw-changeslist table.mw-changeslist-line {
margin: .48rem 0;
padding: .52rem .6rem;
border: 1px solid #dbe4ef;
border-radius: 9px;
background: #fff;
}
body.skin-tweeki.mw-special-Recentchanges .mw-changeslist td.mw-enhanced-rc,
body.skin-tweeki.mw-special-Recentchanges .mw-changeslist td.mw-changeslist-date {
padding: 0 0 .24rem;
color: #667085;
font-size: .86rem;
white-space: normal;
}
body.skin-tweeki.mw-special-Recentchanges .mw-changeslist-line-inner,
body.skin-tweeki.mw-special-Recentchanges .mw-changeslist-line-inner * {
max-width: 100%;
overflow-wrap: anywhere;
word-break: break-word;
white-space: normal;
}
body.skin-tweeki.mw-special-Recentchanges .mw-changeslist-legend {
font-size: .86rem;
}
}