MediaWiki: Common.css: Difference between revisions

From WikiSpiv
Jump to: navigation, search
No edit summary
No edit summary
 
(75 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* 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);
@import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono:400,400italic,700,700italic&subset=latin,cyrillic-ext,latin-ext,cyrillic);
/*@import url('https://fonts.googleapis.com/css?family=Cormorant+Garamond:300,300i,400,400i,500,500i,600,600i,700,700i&subset=cyrillic,cyrillic-ext,latin-ext');*/


@font-face {
    font-family: 'alfios';
    src: url('fonts/alfios-webfont.eot');
    src: url('fonts/alfios-webfont.eot?#iefix') format('embedded-opentype'),
        url('fonts/alfios-webfont.woff2') format('woff2'),
        url('fonts/alfios-webfont.woff') format('woff'),
        url('fonts/alfios-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'alfios';
    src: url('fonts/alfios_b-webfont.eot');
    src: url('fonts/alfios_b-webfont.eot?#iefix') format('embedded-opentype'),
        url('fonts/alfios_b-webfont.woff2') format('woff2'),
        url('fonts/alfios_b-webfont.woff') format('woff'),
        url('fonts/alfios_b-webfont.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;


/* Make the suggestions actually tappable */
.suggestions-result {
    line-height: 3em;
}
}


@font-face {
/* Guitar Chord Formatting  */
     font-family: 'alfios';
span.chunk {
     src: url('fonts/alfios_i-webfont.eot');
     position:relative;
     src: url('fonts/alfios_i-webfont.eot?#iefix') format('embedded-opentype'),
     top: 15px;
        url('fonts/alfios_i-webfont.woff2') format('woff2'),
     display: inline-flex;
        url('fonts/alfios_i-webfont.woff') format('woff'),
    flex-direction: column;
        url('fonts/alfios_i-webfont.ttf') format('truetype');
     vertical-align: bottom;
     font-weight: normal;
     visibility: hidden;
     font-style: italic;
 
}
}
span.chunk:before {
    content:attr(data-chord);
    position:relative;
    top:-6px;
    visibility: visible;


@font-face {
     /* This is the same as .chord */
     font-family: 'alfios';
     color: #7D7D7D;
    src: url('fonts/alfios_j-webfont.eot');
     src: url('fonts/alfios_j-webfont.eot?#iefix') format('embedded-opentype'),
        url('fonts/alfios_j-webfont.woff2') format('woff2'),
        url('fonts/alfios_j-webfont.woff') format('woff'),
        url('fonts/alfios_j-webfont.ttf') format('truetype');
     font-weight: bold;
     font-weight: bold;
     font-style: italic;
    margin-bottom: -0.4em;
 
     font-size: 0.75em;
    padding-right: 0.3em;
}
}


.row {
.linediv {
     /*max-width: 450px;*/
     position:relative;
    top: 5px;
    margin-bottom: 4px;
}
}


/* Guitar Chord Formatting  */
.chord {
.chord {
     color: #7D7D7D;
     color: #7D7D7D;
Line 59: Line 43:
     margin-bottom: -0.4em;
     margin-bottom: -0.4em;
     font-size: 0.75em;
     font-size: 0.75em;
    padding-right: 0.3em;
}
}


.chord, .lyric {
.chordtextrawline {
     float: left;
    z-index: 100;
}
 
.chordline {
     width: 100%;
    position: relative;
}
 
.bang {
    font-weight: bold;
    font-style: italic;
}
}


.spiv {
.spiv {
     /* 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: 450px;
     /*width: 350px;
     padding-right: 24px;
     padding-right: 24px;
     border-right: thin solid #C3C3C3;
     border-right: thin solid #C3C3C3;*/
     /*font-size: 16pt;*/
     margin-bottom: 30px;
}
}


Line 77: Line 72:
}
}


.chordtext {
/*.spiv, .credits {
     padding-bottom: 0.5em;
     font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
}*/
 
.credits {
    margin-bottom: 7px;
}
}


Line 84: Line 84:
     padding-left: 1.5em;
     padding-left: 1.5em;
}
}
.mw-bodytext {
    font-family: 'alfios', serif;
    font-style: normal;
    font-weight: normal;
    line-height: 1.4;
    font-size: 16pt;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'alfios', serif;
    margin-top: 1em;
}
/* Disable TOC */
/*.toc, #toc { display: none; }
#tagline { display:none; }*/


/* Make main editor legible */
/* Make main editor legible */
Line 115: Line 97:
}
}


/*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 {
#catlinks {
     font-size: 16pt;
    display: block;
     font-family: 'alfios', serif;
}
 
/* Don't show category list if we have no categories */
#catlinks.catlinks-allhidden {
    display: none;
}
 
 
 
.mw-content-ltr .mw-collapsible-toggle, .mw-content-rtl .mw-content-ltr .mw-collapsible-toggle {
    float: left;
    padding-right: 5pt;
}
 
 
 
/* Make youtube vids resizable, e.g.: <div class="video-container"><youtube>1VEifEbbinM</youtube></div> */
.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}
.video-container > p > iframe, .video-container > iframe {
     position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.video-container-container {
     max-width: 560px;
}
}


label {
/* Stop showing columns on pages */
     font-size: 16pt;
.mw-category {
     webkit-column-count: inherit;
    -moz-column-count: inherit;
    column-count: inherit;
    -webkit-column-width: inherit;
    -moz-column-width: inherit;
    column-width: inherit;
}
}


.suggestions-result, .suggestions-special, .suggestions-result-current {
/* Don't wrap the top bar so early */
    font-family: 'alfios', serif;
@media (min-width:768px) {
    .container {
        width: 100%;
    }
}
}


pre {
/* This is for for some reason needed to keep the arrow next to the Edit button from wrapping */
     background-color: #DEDEDE;
.nav>li>a {
    font-family: 'Ubuntu Mono', Courier, monospace;
     display: inline-block;
    border-color: grey;
    border-style: solid;
    border-width: 1px;
}
}


div#mw-content-text li, p{
blockquote {
     font-size: 16pt;
     font-size: 10pt;
}
}


.credits {
/* Stuff for the category picker */
     padding-bottom: 16pt;
#SelectCategoryList_chosen {
    max-width: 600px;
}
li.search-choice {
    font-size: 16px;
}
.chosen-results li {
    font-size: 16px;
}
.chosen-container .chosen-results {
     max-height: 150px;
}
}


div#bodyContent {
 
     padding-bottom: 16pt;
/* Template:ArtistBox */
}*/
.artistbox {
    background: #eee;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 1em 1em;
    padding: 1em;
}
.artistbox-title {
     font-size: 2em;
    text-align: center;
}
.artistbox-image {
    text-align: center;
}
.artistbox-table th {
    text-align: left;
    vertical-align: top;
    width: 80px;
}
.artistbox-table td {
    vertical-align: top;
}

Latest revision as of 04:58, 11 March 2024

/* 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);
/*@import url('https://fonts.googleapis.com/css?family=Cormorant+Garamond:300,300i,400,400i,500,500i,600,600i,700,700i&subset=cyrillic,cyrillic-ext,latin-ext');*/


/* Make the suggestions actually tappable */
.suggestions-result {
    line-height: 3em;
}

/* Guitar Chord Formatting  */
span.chunk {
    position:relative;
    top: 15px;
    display: inline-flex;
    flex-direction: column;
    vertical-align: bottom;
    visibility: hidden;
}
span.chunk:before {
    content:attr(data-chord);
    position:relative;
    top:-6px;
    visibility: visible;

    /* 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;
    top: 5px;
    margin-bottom: 4px;
}

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

.chordtextrawline {
    z-index: 100;
}

.chordline {
    width: 100%;
    position: relative;
}

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

/*.spiv, .credits {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
}*/

.credits {
    margin-bottom: 7px;
}

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



.mw-content-ltr .mw-collapsible-toggle, .mw-content-rtl .mw-content-ltr .mw-collapsible-toggle {
    float: left;
    padding-right: 5pt;
}



/* Make youtube vids resizable, e.g.: <div class="video-container"><youtube>1VEifEbbinM</youtube></div> */
.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}
.video-container > p > iframe, .video-container > iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.video-container-container {
    max-width: 560px;
}

/* Stop showing columns on pages */
.mw-category {
    webkit-column-count: inherit;
    -moz-column-count: inherit;
    column-count: inherit;
    -webkit-column-width: inherit;
    -moz-column-width: inherit;
    column-width: inherit;
}

/* Don't wrap the top bar so early */
@media (min-width:768px) {
    .container {
        width: 100%;
    }
}

/* This is for for some reason needed to keep the arrow next to the Edit button from wrapping */
.nav>li>a {
    display: inline-block;
}

blockquote {
    font-size: 10pt;
}

/* Stuff for the category picker */
#SelectCategoryList_chosen {
    max-width: 600px;
}
li.search-choice {
    font-size: 16px;
}
.chosen-results li {
    font-size: 16px;
}
.chosen-container .chosen-results {
    max-height: 150px;
}


/* Template:ArtistBox */
.artistbox {
    background: #eee;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 1em 1em;
    padding: 1em;
}
.artistbox-title {
    font-size: 2em;
    text-align: center;
}
.artistbox-image {
    text-align: center;
}
.artistbox-table th {
    text-align: left;
    vertical-align: top;
    width: 80px;
}
.artistbox-table td {
    vertical-align: top;
}