aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/landing/sections/Hero.module.css
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2024-08-18 22:52:24 +0200
committerLibravatar Kristóf Marussy <kristof@marussy.com>2024-08-19 16:08:10 +0200
commit0ffaa72c5b2172aded5e24cd6c935b3304e68383 (patch)
tree5f268c3042af518337da31c280d8ea387fa08bd4 /src/components/landing/sections/Hero.module.css
parentImprove landing page accessibility (diff)
downloadblog-0ffaa72c5b2172aded5e24cd6c935b3304e68383.tar.gz
blog-0ffaa72c5b2172aded5e24cd6c935b3304e68383.tar.zst
blog-0ffaa72c5b2172aded5e24cd6c935b3304e68383.zip
Forced colors mode supportHEADmain
Diffstat (limited to 'src/components/landing/sections/Hero.module.css')
-rw-r--r--src/components/landing/sections/Hero.module.css13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/components/landing/sections/Hero.module.css b/src/components/landing/sections/Hero.module.css
index 01a5b7b..d8aa99a 100644
--- a/src/components/landing/sections/Hero.module.css
+++ b/src/components/landing/sections/Hero.module.css
@@ -112,3 +112,16 @@
112 width: 2rem; 112 width: 2rem;
113 height: 2rem; 113 height: 2rem;
114} 114}
115
116@media (forced-colors: active) {
117 .avatar__holder {
118 border: 2px solid CanvasText;
119 }
120
121 .contacts__icon:hover,
122 .contacts__icon:focus {
123 color: HighlightText;
124 background: Highlight;
125 transition: none;
126 }
127}