Skip to content

Commit

Permalink
Move up general focus outline styling
Browse files Browse the repository at this point in the history
  • Loading branch information
helenclx committed Dec 2, 2024
1 parent 8a22def commit 7f099ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/assets/css/general.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ h4 { font-size: var(--fs-h4); }
h2:has(+ *[class]:not(.heading-anchor)), .h2:has(+ *[class]),
h3:has(+ *[class]:not(.heading-anchor)), .h3:has(+ *[class]) { margin-bottom: 0.5em; }

:focus { outline: 0.15em solid currentColor; }

a { color: var(--clr-accent-700); }
a:hover {
text-decoration: none;
Expand Down Expand Up @@ -85,6 +87,5 @@ pre {

pre > code { white-space: pre; }
button:hover { cursor: pointer; }
:focus { outline: 0.15em solid currentColor; }
details:focus { outline-offset: 0.2em; }
summary { cursor: pointer; }

0 comments on commit 7f099ac

Please sign in to comment.