Difference between revisions of "MediaWiki:Common.css"

From WikiSpiv
Jump to: navigation, search
Line 9: Line 9:
}
}


.poem {
.spiv {
     /* Puts a border padding-right to the right of the actual wrapping point (width - padding-right) */
     /* Puts a border padding-right to the right of the actual wrapping point (width - padding-right) */
     width: 18em;
     width: 18em;

Revision as of 08:37, 4 February 2016

/* 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: 18em;
    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.2rem;
}

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.2rem;
}

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

/* 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.2em;
}

label {
    font-size: 1.2em;
}