Anonimo

MediaWiki:Common.css: differenze tra le versioni

Da Wikitrek.
m
nessun oggetto della modifica
m ("extiw" specifico per Wikipedia)
mNessun oggetto della modifica
Riga 3: Riga 3:
/* <syntaxhighlight lang=css> */
/* <syntaxhighlight lang=css> */
@import url('https://fonts.googleapis.com/css?family=Fjalla+One|Open+Sans');
@import url('https://fonts.googleapis.com/css?family=Fjalla+One|Open+Sans');
/* See https://stackoverflow.com/questions/35523211/change-text-color-based-on-the-background-color */
@function set-text-color($color) {
    @if (lightness( $color ) > 50) {
      @return $black; /* Lighter color, return black */
    }
    @else {
      @return $white; /* Darker color, return white */
    }
}


/* Font */
/* Font */