Files
wayback-classic/styles/style.css
Jessica Stokes 2084648afe Add AGPL License
fixes #21
2024-07-20 14:42:13 -07:00

45 lines
1.4 KiB
CSS

/*
* Make sure the images look nice and crisp on modern browsers
*
* Wayback Classic
* Copyright (C) 2024 Jessica Stokes
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
html {
font-family: sans-serif;
image-rendering: crisp-edges; /* Firefox doesn't handle pixelated */
image-rendering: optimizeSpeed; /* Old browsers don't handle either */
image-rendering: pixelated;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
body {
background-image: url(/images/background.gif);
background-size: 128px 128px;
}
}
/* Shrink the search images by half on very small screens */
@media (max-width: 380px) {
#search_results img {
width: 64px;
height: 48px;
}
}
#sitemap td:first-child {
word-break: break-word;
}