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

From Dragon Quest Wiki
Jump to navigation Jump to search
No edit summary
(no background when printing)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
.BorderBox {
html {
     border: 1px 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 {
     color:red;
     html {
     .BorderBox;
        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;
    }
}