Difference between revisions of "MediaWiki:Common.css"

From WikiSpiv
Jump to: navigation, search
Line 22: Line 22:
.linediv {
.linediv {
     position:relative;
     position:relative;
     top: 15px;
     margin-top: 2px;
}
}


Line 39: Line 39:
     width: 100%
     width: 100%
}
}
/*.chord, .lyric {
    float: left;
}*/


.bang {
.bang {

Revision as of 03:59, 8 May 2018

/* CSS placed here will be applied to all skins */
@import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono:400,400italic,700,700italic&subset=latin,cyrillic-ext,latin-ext,cyrillic);

/* Guitar Chord Formatting  */
span.chunk {
    position:relative;
    top: 15px;
}
span.chunk:before {
    content:attr(data-chord);
    position:absolute;
    top:-15px;

    /* This is the same as .chord */
    color: #7D7D7D;
    font-weight: bold;
    margin-bottom: -0.4em;
    font-size: 0.75em;
    padding-right: 0.3em;
}

.linediv {
    position:relative;
    margin-top: 2px;
}

.chord {
    color: #7D7D7D;
    font-weight: bold;
    margin-bottom: -0.4em;
    font-size: 0.75em;
    padding-right: 0.3em;
}

.chordtext {
    padding-bottom: 0.5em;
    margin-top: 17px;
    /* display: flex; */
    width: 100%
}

.bang {
    font-weight: bold;
    font-style: italic;
}

.spiv {
    /* Puts a border padding-right to the right of the actual wrapping point (width - padding-right) */
    /*width: 350px;
    padding-right: 24px;
    border-right: thin solid #C3C3C3;*/
    margin-bottom: 30px;
}

.spiv div {
    line-height: 1;
}

.indented {
    padding-left: 1.5em;
}

/* Make main editor legible */
.wikiEditor-ui-text textarea {
    font-size: 14pt;
    font-family: 'Ubuntu Mono', Courier, monospace;
}

/* Make fallback editor legible (ex [[MediaWiki:Common.css]]) */
#editform, #toolbar, #wpTextbox1 {
    font-size: 14pt;
    font-family: 'Ubuntu Mono', Courier, monospace;
}

#catlinks {
    display: block;
}

/* Don't show category list if we have no categories */
#catlinks.catlinks-allhidden {
    display: none;
}