/* * background.js magic */ img#main-background { /* Set rules to fill background */ width: 100%; /* Set up proportionate scaling */ min-height: 100%; height: auto; /* Set up positioning */ position: fixed; top: 0; left: 0; z-index: -1; user-select: none; filter: brightness(25%); } img#main-background.landscape { /* Set rules to fill background */ height: 100%; /* Set up proportionate scaling */ min-width: 100%; width: auto; } /* * Less glaring chrome/ium scrollbars. */ ::-webkit-scrollbar { width: 2px; /* for vertical scrollbars */ height: 2px; /* for horizontal scrollbars */ } ::-webkit-scrollbar-button { background-color: #777; color: 000; display: none; } ::-webkit-scrollbar-track { background-color: #ccc; } ::-webkit-scrollbar-thumb { background-color: #777; color: #000; }