Difference between revisions of "MediaWiki:Common.css"

From WikiSpiv
Jump to: navigation, search
Line 10: Line 10:


.poem {
.poem {
     <!-- 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;
     padding-right: 1em;
     padding-right: 1em;
Line 35: Line 35:
}
}


<!-- Disable TOC -->
/* Disable TOC */
.toc, #toc { display: none; }
.toc, #toc { display: none; }


#tagline { display:none; }
#tagline { display:none; }


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

Revision as of 05:39, 31 January 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;
}

.poem {
    /* 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;
}

.poem 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;
}