MediaWiki:Common.css: differenze tra le versioni

Vai alla navigazione Vai alla ricerca
Brown border
mNessun oggetto della modifica
(Brown border)
Riga 5: Riga 5:


/* See https://stackoverflow.com/questions/35523211/change-text-color-based-on-the-background-color */
/* See https://stackoverflow.com/questions/35523211/change-text-color-based-on-the-background-color */
@function set-text-color($color) {
/*@function set-text-color($color) {
     @if (lightness( $color ) > 50) {
     @if (lightness( $color ) > 50) {
       @return $black; /* Lighter color, return black */
       @return $black;
     }
     }
     @else {
     @else {
       @return $white; /* Darker color, return white */
       @return $white;
     }
     }
}
}*/


/* Font */
/* Font */
Riga 316: Riga 316:
border-left: 1px solid #cfaa82;
border-left: 1px solid #cfaa82;
border-bottom: 1px solid #cfaa82;
border-bottom: 1px solid #cfaa82;
}
.smw-factbox input.nav-tab:checked + label.nav-label {
    border-top: 2px solid #996633;
    /*
    border: 1px solid #aaa;
    border-bottom: 1px solid #fff;
    background: #fff;
    */
}
}


Menu di navigazione