MediaWiki: Common.css

From WikiSpiv
Revision as of 22:52, 4 February 2016 by Dcentore (talk | contribs)
Jump to: navigation, search

Note: After saving, 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 */
/* Edit [[MediaWiki:PDF.css]] for PDF stuff */

@font-face {
    font-family: alfios;
    src: url("fonts/alfios.otf") format("opentype");
    font-style: normal;
    font-weight: normal;
}

.spiv {
    /* Puts a border padding-right to the right of the actual wrapping point (width - padding-right) */
    width: 17em;
    padding-right: 1em;
    border-right: thin solid #C3C3C3;
}

.spiv div {
    text-indent: -2em;
    padding-left: 2em;
}

.mw-bodytext, .mw-bodytext div, .mw-bodytext p, .mw-bodytext a {
    font-family: 'alfios', serif;
    font-style: normal;
    font-weight: normal;
    line-height: 1.4;
    /*position: relative;*/
    font-size: 1.4rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'alfios', serif;
    margin-top: 1em;
}

/* Disable TOC */
.toc, #toc { display: none; }

#tagline { display:none; }

/* Guitar Chord Formatting  */
.chord {
    color: #7D7D7D;
    /* Makes the text "bold" without changing its width #kludge */
    text-shadow: .25px 0px 0px #7D7D7D, -.25px 0px 0px #7D7D7D;
    margin-bottom: -0.4em;
}

/* Make main editor legible */
.wikiEditor-ui-text textarea {
    font-size: 1.4rem;
}

/* Make fallback editor legible (ex [[MediaWiki:Common.css]]) */
#editform, #toolbar, #wpTextbox1 {
    font-size: 1.4rem;
}

/* Make select boxes in Special:Book expand */
table#mw-collection-title-table select {
    width: 100%;
}

input:not([type]), input[type="text"], input[type="password"], input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="month"], input[type="week"], input[type="email"], input[type="number"], input[type="search"], input[type="tel"], input[type="time"], input[type="url"], input[type="color"], textarea {
    font-size: 1.4rem;
    font-family: "alfios";
}

label {
    font-size: 1.4rem;
}

.suggestions-result, .suggestions-special, .suggestions-result-current {
    font-family: "alfios";
}

pre {
    background-color: #DEDEDE;
    font-family: "alfios";
    border-color: grey;
    border-style: solid;
    border-width: 1px;
}

div#mw-content-text li {
    font-size: 1.4rem;
}