MediaWiki: Common.css: Difference between revisions
From WikiSpiv
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
/* Guitar Chord Formatting */ | /* Guitar Chord Formatting */ | ||
span.chunk { | |||
position:relative; | |||
} | |||
span.chunk:before { | |||
content:attr(data-chord); | |||
position:absolute; | |||
top:-15px; | |||
color: #7D7D7D; | |||
font-weight: bold; | |||
margin-bottom: -0.4em; | |||
font-size: 0.75em; | |||
padding-right: 0.3em; | |||
} | |||
.chord { | .chord { | ||
color: #7D7D7D; | color: #7D7D7D; |
Revision as of 02:24, 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; 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; } .chord, .lyric { float: left; } .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;*/ } .spiv div { line-height: 1; } .chordtext { padding-bottom: 0.5em; } .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; } .bang { font-weight: bold; font-style: italic; }