aboutsummaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2023-04-19 19:29:29 -0400
committertdro <tdro@noreply.example.com>2023-04-19 19:29:29 -0400
commit12fe789cfc1dc9d11512d7c527395bf1167251a1 (patch)
treed95438e6a01e78aa1408e4893b0a277249d33858 /assets
parent1e816e9e7763e6ad30fd0400538661c0c9fce863 (diff)
downloadcanory-12fe789cfc1dc9d11512d7c527395bf1167251a1.tar.gz
canory-12fe789cfc1dc9d11512d7c527395bf1167251a1.tar.bz2
canory-12fe789cfc1dc9d11512d7c527395bf1167251a1.zip
assets/css/default: Video brightness filter
Diffstat (limited to 'assets')
-rw-r--r--assets/css/default.css7
1 files changed, 6 insertions, 1 deletions
diff --git a/assets/css/default.css b/assets/css/default.css
index 46655cc..07e4827 100644
--- a/assets/css/default.css
+++ b/assets/css/default.css
@@ -84,7 +84,8 @@
--warning: #000;
--widget-background: rgba(var(--foreground-rgb), 0.02);
}
- img {
+ img,
+ video {
filter: brightness(75%);
}
code-block pre,
@@ -677,6 +678,10 @@ img {
img:hover {
box-shadow: 0 0 14px #00000060;
box-shadow: 0 0 14px var(--shadow);
+}
+
+img:hover,
+video:hover {
filter: brightness(90%);
}