MediaWiki:Common.css: Difference between revisions

From DataTrek
Jump to navigation Jump to search
(Bordo)
No edit summary
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
/* <syntaxhighlight lang=css> */
@import url('https://fonts.googleapis.com/css?family=Fjalla+One|Open+Sans');
/* Font */
body {
    font-family: "Open Sans", sans-serif
}
h1, h2, h3, h4, h5, h6 {
    font-family: "Fjalla One"
}
.mw-body-content h1, .mw-body-content h2, .mw-body h1 {
    font-family: "Fjalla One"
}
.mw-body h1, .mw-body-content h1 {
    font-size: 2.5em;
    font-weight: bold;
}
.mw-body-content h2 {
    font-size: 2em;
    font-weight: bold;
}
.mw-body-content h3, .mw-body-content h4 {
    font-weight: normal;
}
.mw-body-content h3 {
    font-size: 1.6em;
}
.mw-body-content h4 {
    font-size: 1.5em;
}
.mw-body-content h5 {
    font-size: 1em;
}
.mw-body-content h6 {
    font-size: 0.8em;
}
/* Pagina principale */
.trecolonnecontenitore {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    margin: 1em 0;
}
.trecolonnefuori {
    box-sizing: border-box;
    float: left;
    width: 32%;
    padding: 0;
    border: 1px solid #ffd700;
}
.trecolonnedentro {
    padding: 8px;
}
.trecolonnedentro h2 {
    margin-bottom: 0;
    background: linear-gradient(white, grey);
}


/* See https://github.com/wikimedia/Vector/blob/0c27e8deb820e89fc5773cb535aebc029e84961a/.storybook/icons.less */
/* See https://github.com/wikimedia/Vector/blob/0c27e8deb820e89fc5773cb535aebc029e84961a/.storybook/icons.less */

Revision as of 22:27, 4 November 2020

/* CSS placed here will be applied to all skins */
/* <syntaxhighlight lang=css> */
@import url('https://fonts.googleapis.com/css?family=Fjalla+One|Open+Sans');

/* Font */
body {
    font-family: "Open Sans", sans-serif
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Fjalla One"
}

.mw-body-content h1, .mw-body-content h2, .mw-body h1 {
    font-family: "Fjalla One"
}

.mw-body h1, .mw-body-content h1 {
    font-size: 2.5em;
    font-weight: bold;
}

.mw-body-content h2 {
    font-size: 2em;
    font-weight: bold;
}

.mw-body-content h3, .mw-body-content h4 {
    font-weight: normal;
}

.mw-body-content h3 {
    font-size: 1.6em;
}

.mw-body-content h4 {
    font-size: 1.5em;
}

.mw-body-content h5 {
    font-size: 1em;
}

.mw-body-content h6 {
    font-size: 0.8em;
}

/* Pagina principale */
.trecolonnecontenitore {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    margin: 1em 0;
}


.trecolonnefuori {
    box-sizing: border-box;
    float: left;
    width: 32%;

    padding: 0;
    border: 1px solid #ffd700;
}

.trecolonnedentro {
    padding: 8px;
}

.trecolonnedentro h2 {
    margin-bottom: 0;
    background: linear-gradient(white, grey);
}

/* See https://github.com/wikimedia/Vector/blob/0c27e8deb820e89fc5773cb535aebc029e84961a/.storybook/icons.less */
.mw-wiki-logo{
    background-size: 135px auto;
}

/* Start color adaptation */
.mw-body {
    border: 1px solid #129212;
    border-right-width: 0;
}

/* Start cutomizing */