Difference between revisions of "MediaWiki:Common.css"
From WikiSpiv
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* Edit [[MediaWiki:PDF.css]] for PDF stuff */ | /* 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; | |||
} | |||
@font-face { | @font-face { | ||
font-family: alfios; | font-family: alfios; | ||
src: url("fonts/Alfios_B.otf") format("opentype"); | src: url("fonts/Alfios_B.otf") format("opentype"); | ||
font-style: normal; | |||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
@font-face { | @font-face { | ||
Line 13: | Line 20: | ||
src: url("fonts/Alfios_I.otf") format("opentype"); | src: url("fonts/Alfios_I.otf") format("opentype"); | ||
font-style: italic, oblique; | font-style: italic, oblique; | ||
font-weight: normal; | |||
} | } | ||
.spiv { | .spiv { |
Revision as of 02:08, 27 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; } @font-face { font-family: alfios; src: url("fonts/Alfios_B.otf") format("opentype"); font-style: normal; font-weight: bold; } @font-face { font-family: alfios; src: url("fonts/Alfios_I.otf") format("opentype"); font-style: italic, oblique; font-weight: normal; } .spiv { /* Puts a border padding-right to the right of the actual wrapping point (width - padding-right) */ width: 17em; 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.4rem; } 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.4rem; } /* Make fallback editor legible (ex [[MediaWiki:Common.css]]) */ #editform, #toolbar, #wpTextbox1 { font-size: 1.4rem; } /* 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.4rem; font-family: "alfios"; } label { font-size: 1.4rem; } .suggestions-result, .suggestions-special, .suggestions-result-current { font-family: "alfios"; } pre { background-color: #DEDEDE; font-family: "alfios"; border-color: grey; border-style: solid; border-width: 1px; } div#mw-content-text li { font-size: 1.4rem; } .credits { padding-bottom: 1.5em; } div#bodyContent { padding-bottom: 1.5em; }