Jump to content

User:DaveJamesMiller/vector.css

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
/*
Set a maximum width of 1050px.
The media query is necessary to hide the left/right borders below this point.
The media query uses 1065px because my browser, Firefox, includes the
scrollbar width (approx 15px) in the calculation.
*/
/*
@media only screen and (min-width: 1065px) {

    html {
        background: #ddd;
    }

    body {
        border-left: 1px solid #A7D7F9;
        border-right: 1px solid #A7D7F9;
        height: auto;
        margin: 0 auto;
        max-width: 1050px;
        min-height: 100%;
        position: relative !important; /* This could have side-effects... */
    }

}
*/