User:AnYiLin/global.css

From Meta, a Wikimedia project coordination wiki

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
body, input {
	font-family: Source Sans Pro, Source Han Sans SC, Source Han Sans, Noto Sans SC, -apple-system, BlinkMacSystemFont, SFProDisplay-Regular, SF UI Text, PingFang SC, Arial, Microsoft YaHei, WenQuanYi Micro Hei, sans-serif;
}
.content code, .content kbd, .content pre, .content samp, .screenplay, .ve-ui-mwWikitextSurface .ve-ce-attachedRootNode, code, div.CodeMirror, kbd, pre, samp, tt {
	font-family: Source Code Pro, Source Han Mono, monospace;
}
.mw-body h1, .mw-body h2, .mw-body h3, .mw-body h4, .mw-body h5, .mw-body h6, .mw-body dt, #mw-related-navigation h2, #mw-site-navigation h2, #personal h2, #p-logo-text a {
	font-family: Source Serif Pro, Source Han Serif, serif;
}

div.CodeMirror {
	font-family: Source Code Pro, Source Han Mono, monospace;
}
.CodeMirror-wrap pre.CodeMirror-line, .CodeMirror-wrap pre.CodeMirror-line-like {
	word-break: break-all;
}

.skin-minerva table.tmbox.tmbox-protection {
    background: #f8eaba;
	border: 1px solid #c0c090;
    display: table !important;
    margin: 4px 10%;
}
.skin-minerva .tmbox-protection code {
    background-color: #f8f9fa;
    border: 1px solid #c8ccd1;
}
.skin-minerva .tmbox-protection small {
    font-size: 80%;
}
.skin-minerva .tmbox-protection .mbox-text {
    padding: 0.25em 0.9em;
}

.skin-minerva dl dd {
    overflow: unset;
}

.skin-minerva ul.mw-contributions-list .comment, .skin-minerva ul.special .comment {
    word-break: break-word;
}

.skin-timeless .catlinks-allhidden {
    display: none !important;
}

.skin-timeless #catlinks-sidebar {
    display: none;
}

.skin-timeless #catlinks {
    background: #f8f9fa;
    border: solid #eaecf0;
    border-width: 1px 1px 0.2em;
    box-shadow: 0 1px 2px 1px rgba(0, 0, 0 , 0.02);
    display: inherit;
    font-size: 0.95em;
    margin: 1em 0 0 0;
    padding: 1em 2em;
}

.skin-timeless #catlinks div {
    margin: 0 0 0.35em;
}

.skin-timeless #catlinks div:last-of-type {
    margin: 0;
}

.skin-timeless #catlinks li {
    border-left: 0;
}

.skin-timeless #personal h2 {
    font-family: Times New Roman, serif;
}

html {
    tab-size: 4;
}

pre, .mw-code, .mw-highlight, .ve-init-mw-desktopArticleTarget .CodeMirror-code, .ve-init-mw-desktopArticleTarget .CodeMirror-code *, .ve-init-mw-desktopArticleTarget .ve-ui-mwWikitextSurface .ve-ce-paragraphNode {
    line-break: anywhere !important;
    white-space: pre-wrap !important;
    word-break: break-all !important;
    word-wrap: break-word !important;
}

@media screen and (min-width: 1340px) {
    .skin-timeless #site-tools {
        position: sticky;
        top: 4.475em;
    }
}