Difference between revisions of "MediaWiki:Common.css"
From WikiSpiv
Line 9: | Line 9: | ||
content:attr(data-chord); | content:attr(data-chord); | ||
position:absolute; | position:absolute; | ||
top:-15px; | /* top:-15px; */ | ||
top: 0; | |||
/* This is the same as .chord */ | /* This is the same as .chord */ | ||
Line 36: | Line 37: | ||
.chord, .lyric { | .chord, .lyric { | ||
float: left; | float: left; | ||
} | |||
.bang { | |||
font-weight: bold; | |||
font-style: italic; | |||
} | } | ||
Line 43: | Line 49: | ||
padding-right: 24px; | padding-right: 24px; | ||
border-right: thin solid #C3C3C3;*/ | border-right: thin solid #C3C3C3;*/ | ||
top: 15px; | |||
} | } | ||
Line 76: | Line 83: | ||
#catlinks.catlinks-allhidden { | #catlinks.catlinks-allhidden { | ||
display: none; | display: none; | ||
} | } |
Revision as of 03:43, 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; } span.chunk:before { content:attr(data-chord); position:absolute; /* top:-15px; */ top: 0; /* This is the same as .chord */ color: #7D7D7D; font-weight: bold; margin-bottom: -0.4em; font-size: 0.75em; padding-right: 0.3em; } .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% } .chord, .lyric { float: left; } .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;*/ top: 15px; } .spiv div { line-height: 1; } .indented { padding-left: 1.5em; } .credits { padding-bottom: 1em; } /* 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; }