User:Rigel Kent/vector.css: Difference between revisions

From Dragon Quest Wiki
Jump to navigation Jump to search
(test edit)
(no background when printing)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
.BorderBox (@border-width: 1px) {
html {
     border: @border-width solid black;
     /* Header background with pixelation effect */
    background: #f3f3f3 url(http://dragon-quest.org/images/3/36/Header_back.png) center top repeat-x;
}
}


.test {
@media print {
     .BorderBox;
     html {
     font-size:large;
        background: none;
     }
}
}

Latest revision as of 11:26, 8 February 2016

html {
    /* Header background with pixelation effect */
    background: #f3f3f3 url(http://dragon-quest.org/images/3/36/Header_back.png) center top repeat-x;
}

@media print {
    html {
        background: none;
    }
}