Difference between revisions of "MediaWiki:Vector.css"

From icesus
Jump to navigation Jump to search
m
m
Line 9: Line 9:
 
   background-size: cover;
 
   background-size: cover;
 
   height: 100%;
 
   height: 100%;
 +
  font-family: "fontawesome-webfont";
 +
}
 +
 +
@font-face {
 +
    font-family: "fontawesome-webfont";
 +
    /*src: url("./OpenSans-Light.ttf");*/
 +
    src: url("OpenSans-Light.ttf");
 
}
 
}

Revision as of 21:03, 29 January 2020

/* CSS placed here will affect users of the Vector skin */

body {
  background: linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url('mapimage.png');
  /*background: url(./mapimage.png) no-repeat center center fixed;  */
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  height: 100%;
  font-family: "fontawesome-webfont";
}

@font-face {
    font-family: "fontawesome-webfont";
    /*src: url("./OpenSans-Light.ttf");*/
    src: url("OpenSans-Light.ttf");
}