Difference between revisions of "MediaWiki:Vector.css"

From icesus
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
/* CSS placed here will affect users of the Vector skin */
 
/* CSS placed here will affect users of the Vector skin */
  
html {
+
body {
 
   background: linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url('mapimage.png');
 
   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;  */
 
   /*background: url(./mapimage.png) no-repeat center center fixed;  */

Revision as of 21:01, 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%;
}