Difference between revisions of "MediaWiki:Vector.less"

From Jurassic Outpost Encyclopedia
Jump to navigation Jump to search
 
Line 8: Line 8:
 
   ======================================================== */
 
   ======================================================== */
 
// </pre>
 
// </pre>
 +
 +
/* background image */
 +
body {
 +
    background: url('filepath://BackgroundTest.png?width=1000') @vector-background top left no-repeat;
 +
 +
    @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
 +
    background-image: url('filepath://BackgroundTest.png');
 +
    background-size: 1000px 250px;
 +
    }
 +
 +
}

Latest revision as of 14:17, 2 August 2020

//

/* ========================================================
     CSS placed here will affect users of the Vector skin.
     
     Only CSS that affects parts of the interface outside of
     the content area (.mw-body) should be here; everything
     else should be at [[MediaWiki:Common.less]].
   ======================================================== */
// 

/* background image */ body {

   background: url('filepath://BackgroundTest.png?width=1000') @vector-background top left no-repeat;
   @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
   	background-image: url('filepath://BackgroundTest.png');
   	background-size: 1000px 250px;
   }

}