diff options
author | Squibid <me@zacharyscheiman.com> | 2023-10-09 09:08:52 -0400 |
---|---|---|
committer | Squibid <me@zacharyscheiman.com> | 2023-10-09 09:08:52 -0400 |
commit | ef59ac4499e3bcac4578f363d8da0b11a67e17b1 (patch) | |
tree | f6d7b1e81306577c8a42b6d70b7a96cdbdaa2c8f /style | |
parent | 333a112ff6bf3341d20cdab61cbb83109df123a7 (diff) | |
download | wallheaven-ef59ac4499e3bcac4578f363d8da0b11a67e17b1.tar.gz wallheaven-ef59ac4499e3bcac4578f363d8da0b11a67e17b1.tar.bz2 wallheaven-ef59ac4499e3bcac4578f363d8da0b11a67e17b1.zip |
make view better + add warning color css for previous commit
Diffstat (limited to '')
-rw-r--r-- | style/style.css | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/style/style.css b/style/style.css index 0002a69..d1e1e72 100644 --- a/style/style.css +++ b/style/style.css @@ -131,13 +131,25 @@ a#similar { float: left; width: 75%; height: 100%; + overflow: scroll; } #bwallpaperview img { + cursor: zoom-in; + max-width: 75%; + max-height: 78vh; + width: auto; + height: auto; display: block; - margin: auto; - max-width: 100%; - max-height: 100%; + margin: 0 auto auto auto; + inset: 0; +} + +#bwallpaperview input[type=checkbox]:checked~img { + cursor: zoom-out; + max-height: 100000000%; + max-width: 100000000%; + width: 150%; } #footer { @@ -217,3 +229,7 @@ a { a:hover { font-style: italic; } + +#error { color: var(--nsfw-color-1); } +#warn { color: var(--sketchy-color-1); } +#info { color: var(--sfw-color-1); } |