Utente:Davide.giorgetta/vector.css

Da Wikimedia Italia.
Jump to navigation Jump to search

Nota: dopo aver salvato, potrebbe essere necessario pulire la cache del proprio browser per vedere i cambiamenti.

  • Firefox / Safari: tenere premuto il tasto delle maiuscole Shift e fare clic su Ricarica, oppure premere Ctrl-F5 o Ctrl-R (⌘-R su Mac)
  • Google Chrome: premere Ctrl-Shift-R (⌘-Shift-R su un Mac)
  • Internet Explorer: tenere premuto il tasto Ctrl e fare clic su Aggiorna, oppure premere Ctrl-F5
  • Opera: Vai nel Menu → Impostazioni (Opera → Preferenze su un Mac) e poi in Privacy & sicurezza → Pulisci dati del browser → Immagini e file nella cache.
/*@import url('https://fonts.wikimedia.it/css?family=Inter:wght@400;700&display=swap');*/

/* GENERAL */

body {
    font-family: 'Inter', sans-serif;
    padding: 30px;
    background-color: #fff;
    height: auto;
}

/* NAVIGATION */

table.wmi-navigation {
    width: 100%;
    margin: 0px -3px;
}

table.wmi-navigation tr {
    
}

table.wmi-navigation tr td {
    padding: 0px 1px;
}

table.wmi-navigation tr td a {
    display: block;
    background-color: #E0E8FB;
    color: #0741DE;
    border-radius: 8px;
    padding: 10px 2px;
    font-size: 14px;
    text-align: center;
}

table.wmi-navigation.wmi-navigation-first-level tr td a {
    font-weight: 700;
    text-transform: uppercase;
}

table.wmi-navigation.wmi-navigation-first-level tr td .selflink {
    font-weight: 700;
    text-transform: uppercase;
}

table.wmi-navigation.wmi-navigation-second-level tr td a {
    font-weight: 700;
}

table.wmi-navigation.wmi-navigation-second-level tr td .selflink {
    font-weight: 700;
}

table.wmi-navigation tr td a:focus {
    text-decoration: none;
}

table.wmi-navigation tr td a:hover {
    background-color: #C0CFF7;
    text-decoration: none;
}

table.wmi-navigation tr td .selflink {
    display: block;
    background-color: #0741DE;
    color: #fff;
    border-radius: 8px;
    padding: 10px 2px;
    font-size: 14px;
    text-align: center;
    font-weight: 400;
}

/* TABLE OF CONTENT */

#toc {
    border: 0px;
    margin: 30px 0px;
    background-color: #f1f1f1;
    border-radius: 8px;
    padding: 0px;
}

#toc #toctitle {
    padding: 15px 20px;
    border-bottom: 1px solid #cbcbcb;
}

#toc #toctitle .toctoggle {
    visibility: hidden;
}

#toc #toctitle .toctoggle a {
    visibility: visible;
    background-color: transparent;
    color: #0741DE;
    border: 1px solid #0741DE;
    border-radius: 100vw;
    padding: 2px 6px;
    font-weight: 400;
    text-transform: capitalize;
    font-size: 12px;
}

#toc #toctitle .toctoggle a:hover {
    text-decoration: none;
}

#toc > ul {
    padding: 15px 20px;
}

#toc ul li a {
    color: #0741DE;
}

/* SECONDARY TOC */

.toccolours {
    border: 0px;
    margin: 30px 0px;
    background-color: #f1f1f1;
    border-radius: 8px;
    padding: 0px;
}

.toccolours th {
    padding: 15px 20px;
    border-bottom: 1px solid #cbcbcb;
}

.toccolours ul {
    padding: 15px 20px;
}

/* TEXT */

h1 {
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 15px;
    display: flex;
    align-items: center;
}

h2 {
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 15px;
    display: flex;
    align-items: center;
}

h3 {
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 15px;
    display: flex;
    align-items: center;
}

a {
    color: #0741DE;
}

/* GRID */

.row {
    margin: 0px -15px;
    display: flex;
    margin-bottom: 15px;
    clear: both;
}

.col-1 {
    width: 16.666%;
    padding: 15px;
    margin-bottom: 15px;
}

.col-2 {
    width: 33.333%;
    padding: 15px;
    margin-bottom: 15px;
}

.col-3 {
    width: 50%;
    padding: 15px;  
    margin-bottom: 15px;
}

.col-4 {
    width: 66.666%;
    padding: 15px;  
    margin-bottom: 15px;
}

.col-5 {
    width: 83.330%;
    padding: 15px; 
    margin-bottom: 15px; 
}

.col-6 {
    width: 100%;
    padding: 15px;  
    margin-bottom: 15px;
}

/* COLORS */

.color-red {
    background-color: #fde9ec;
    border: 0px solid #F5415D;
    margin-left: 15px;
    margin-right: 15px;
    border-radius: 8px;
}

.color-red h2 {
    border-bottom: 1px solid #F5415D;
}

.color-red a {
    color: #F5415D;
}

.color-red .mw-editsection a {
    background-color: transparent;
    border: 1px solid #F5415D;
    color: #F5415D;
}

.color-blue {
    background-color: #E0E8FB;
    border: 0px solid #0741DE;
    margin-left: 15px;
    margin-right: 15px;
    border-radius: 8px;
}

.color-blue h2 {
    border-bottom: 1px solid #0741DE;
}

.color-blue a {
    color: #0741DE;
}

.color-blue .mw-editsection a {
    background-color: transparent;
    border: 1px solid #0741DE;
    color: #0741DE;
}

.color-aqua {
    background-color: #d6ffff;
    border: 0px solid #00d5d5;
    margin-left: 15px;
    margin-right: 15px;
    border-radius: 8px;
}

.color-aqua h2 {
    border-bottom: 1px solid #00d5d5;
}

.color-aqua a {
    color: #00d5d5;
}

.color-aqua .mw-editsection a {
    background-color: transparent;
    border: 1px solid #00d5d5;
    color: #00d5d5;
}

.color-violet {
    background-color: #8D46FF;
    border: 0px solid #8D46FF;
    margin-left: 15px;
    margin-right: 15px;
    border-radius: 8px;
}

.color-violet h2 {
    border-bottom: 1px solid #9200ff;
}

.color-violet a {
    color: #9200ff;
}

.color-violet .mw-editsection a {
    background-color: transparent;
    border: 1px solid #8D46FF;
    color: #8D46FF;
}

.color-brown {
    background-color: #f3ebe3;
    border: 0px solid #5a2e00;
    margin-left: 15px;
    margin-right: 15px;
    border-radius: 8px;
}

.color-brown h2 {
    border-bottom: 1px solid #5a2e00;
}

.color-brown a {
    color: #5a2e00;
}

.color-brown .mw-editsection a {
    background-color: transparent;
    border: 1px solid #5a2e00;
    color: #5a2e00;
}

.color-green {
    background-color: #d2ffed;
    border: 0px solid #0acb7d;
    margin-left: 15px;
    margin-right: 15px;
    border-radius: 8px;
}

.color-green h2 {
    border-bottom: 1px solid #0acb7d;
}

.color-green a {
    color: #0acb7d;
}

.color-green .mw-editsection a {
    background-color: transparent;
    border: 1px solid #0acb7d;
    color: #0acb7d;
}

/* EDIT BUTTON */

.mw-editsection .mw-editsection-bracket {
    display: none;
}

.mw-editsection a {
    background-color: #E0E8FB;
    color: #0741DE;
    border: 0px solid #0741DE;
    border-radius: 100vw;
    padding: 2px 6px;
    font-weight: 400;
    text-transform: capitalize;
    font-size: 12px;
    margin-bottom: 5px;
}

.mw-editsection a:hover {
    text-decoration: none;
}

/* TABELLE */

table small {
    visibility: hidden;
}

table small a {
    visibility: visible;
    background-color: transparent;
    color: #0741DE;
    border: 1px solid #0741DE;
    border-radius: 100vw;
    padding: 2px 6px;
    font-weight: 400;
    text-transform: capitalize;
    font-size: 12px;
}

table.wikitable {
    border-top: 1px solid #0741DE;
    border-bottom: 1px solid #0741DE;
    border-left: 1px solid #0741DE;
    border-right: 1px solid #0741DE;
}

table.wikitable tr {
    
}

table.wikitable tr th {

}

table.wikitable tr td {

}

table.wikitable > tr > th, table.wikitable > tr > td, table.wikitable > * > tr > th, table.wikitable > * > tr > td {
    border-top: 1px solid #cbcbcb;
    border-bottom: 1px solid #cbcbcb;
    border-left: 1px solid #cbcbcb;
    border-right: 1px solid #cbcbcb;
}

/* MEDIA QUERIES */

@media screen and (max-width: 992px) {

    table.navigation tr {
        display: flex;
        flex-direction: column;
        margin-top: 10px;
    }

    table.navigation tr td {
        margin-bottom: 2px;
    }

    #toc {
        display: block;
    }

    .toccolours {
        float: none !important;
    }

    .row {
        flex-wrap: wrap;
    }

    .col-1 {
        width: 100%;
    }

    .col-2 {
        width: 100%;
    }

    .col-3 {
        width: 100%;
    }

    .col-4 {
        width: 100%;
    }

    .col-5 {
        width: 100%;
    }

    .col-6 {
        width: 100%;
    }

}