enhance: remove box-shadow from kbd elements (#39943)

Remove the inset bottom shadow from `<kbd>` elements in markup and on
keyboard shortcut hints. The skeuomorphic key cap look is not needed,
the border alone marks the element as a key.
This commit is contained in:
silverwind authored and GitHub committed 2026-10-22 21:33:50 +02:00
1 parent facc0f2b15
commit 04c65f26f1
3 files changed
-3

No files matched your search

-1
View File
@@ -401,7 +401,6 @@ html[data-gitea-theme-dark="false"] .markup img[src*="#gh-dark-mode-only"] {
background-color: var(--color-markup-code-inline);
border: 1px solid var(--color-secondary);
border-radius: var(--border-radius);
box-shadow: var(--box-shadow-kbd);
}
.markup details.frontmatter-content summary {