diff options
author | Kristóf Marussy <kristof@marussy.com> | 2024-08-18 22:52:24 +0200 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2024-08-19 16:08:10 +0200 |
commit | 0ffaa72c5b2172aded5e24cd6c935b3304e68383 (patch) | |
tree | 5f268c3042af518337da31c280d8ea387fa08bd4 /src/components/landing/sections/Software.module.css | |
parent | Improve landing page accessibility (diff) | |
download | blog-0ffaa72c5b2172aded5e24cd6c935b3304e68383.tar.gz blog-0ffaa72c5b2172aded5e24cd6c935b3304e68383.tar.zst blog-0ffaa72c5b2172aded5e24cd6c935b3304e68383.zip |
Diffstat (limited to 'src/components/landing/sections/Software.module.css')
-rw-r--r-- | src/components/landing/sections/Software.module.css | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/src/components/landing/sections/Software.module.css b/src/components/landing/sections/Software.module.css index 5287bc8..7bbeef2 100644 --- a/src/components/landing/sections/Software.module.css +++ b/src/components/landing/sections/Software.module.css | |||
@@ -399,3 +399,51 @@ | |||
399 | transform: none !important; | 399 | transform: none !important; |
400 | } | 400 | } |
401 | } | 401 | } |
402 | |||
403 | @media (prefers-reduced-transparency: reduce) { | ||
404 | .overlay { | ||
405 | background: #ebedf0; | ||
406 | } | ||
407 | |||
408 | [data-theme='dark'] .overlay { | ||
409 | background: #21252b; | ||
410 | } | ||
411 | } | ||
412 | |||
413 | @media (forced-colors: active) { | ||
414 | .software { | ||
415 | border: 2px solid ButtonBorder; | ||
416 | background: Canvas; | ||
417 | } | ||
418 | |||
419 | .overlay { | ||
420 | background: Canvas !important; | ||
421 | } | ||
422 | |||
423 | .ferdium__icon { | ||
424 | border: 2px solid ButtonBorder; | ||
425 | background: ButtonFace; | ||
426 | } | ||
427 | |||
428 | .ferdium__icon::after { | ||
429 | display: none; | ||
430 | } | ||
431 | |||
432 | .software--ferdium:hover .ferdium__icon, | ||
433 | .software--ferdium:focus-within .ferdium__icon { | ||
434 | background: Highlight; | ||
435 | } | ||
436 | |||
437 | .ferdium__logo path { | ||
438 | fill: ButtonText !important; | ||
439 | } | ||
440 | |||
441 | .software--ferdium:hover .ferdium__logo path, | ||
442 | .software--ferdium:focus-within .ferdium__logo path { | ||
443 | fill: HighlightText !important; | ||
444 | } | ||
445 | |||
446 | .refinery__logo :global(.refinery-a) { | ||
447 | fill: #000; | ||
448 | } | ||
449 | } | ||