Actions

MediaWiki

MediaWiki:Common.css

From KAYŌ 💖 DAY

Revision as of 11:07, 24 December 2018 by Dachy (talk | contribs)

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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */

@import url('https://fonts.proxy.ustclug.org/css?family=Noto+Serif+SC:300,500,700,900|Lato:300,300i,400,400i,700,700i,900,900i');

@import url('https://fonts.proxy.ustclug.org/css?family=Fira+Mono');

html {
    font-size: 18px;
}

html,
body,
pre,
h1, h2, h3, h4, h5, h6,
.mw-body h1, .mw-body h2 {
    font-family: Lato, "Noto Serif SC";
}

a {
    color: #6e67ac;
}

.firstHeading, #firstHeading {
    font-weight: 600;
    background-image: -webkit-gradient(linear,0 0,0 bottom,from(#ffffff),to(#333));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h3#tagline {
    visibility: hidden;
}

textarea, input {
    font-family: "Fira Mono", "Noto Serif SC";
    font-size: 1em;
}

#ca-talk,
.toc#toc {
    display: none !important;
}

.done {
    display: inline-block;
    width: 1.6em;
    height: 1.6em;
    margin-left: 1rem;
    color: #FFF;
    font-size: .7em;
    text-align: center;
    vertical-align: .2em;
    border-radius: 50%;
    background-color: #90c549;
}
.not-yet {
    display: none;
}

#index-nav td {
    padding: 0 1rem;
    box-shadow: inset 0 -1rem 1rem -1rem rgba(0, 0, 0, .2);
}
#index-nav h4 {
    margin: 1.2em 0 .8em;
}
#index-nav .mw-headline {
    padding: .2rem .5rem;
    color: #FFF;
    background-color: #343a40;
    border-radius: .25rem;
}
#index-nav .mw-headline small {
    margin: 0 0 0 .3em;
    font-size: .5em;
    color: #CCC;
    vertical-align: super;
}
#index-nav ul {
    height: 500px;
    margin: 0.5em 0 0 1rem;
    overflow-y: auto;
    font-size: .85rem;
}
#index-nav li {
    list-style-type: none;
}
#index-nav li::before {
    margin-right: .2em;
    font-size: .8em;
    color: #d14581;
    vertical-align: .1em;
    content: "❤";
}
#index-nav td > ul li small {
    display: block;
    margin: 0 0 0 1rem;
}
#index-nav li ul {
    height: auto;
    margin: 0 0 0.2em 1.2em;
}
#index-nav li li::before {
    vertical-align: 0;
    content: "❣";
}