Skip to content

Commit db1fcbf

Browse files
committed
docs: same size shadow for hover
1 parent a63fcfb commit db1fcbf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎docs/assets/css/theme.css‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@
258258
/* Admonitions */
259259
.md-typeset .admonition,
260260
.md-typeset details {
261-
box-shadow: 0 0 0.25rem var(--admonition-color) !important;
261+
box-shadow: 0 0 8rem var(--admonition-color) !important;
262262
border-radius: 0.25rem;
263263
border-width: 0.1rem !important;
264264
border-color: var(--admonition-color) !important;
@@ -267,7 +267,7 @@
267267

268268
.md-typeset details:has(summary:hover),
269269
.md-typeset details:focus {
270-
box-shadow: 0 0 8px var(--admonition-color) !important;
270+
box-shadow: 0 0 12px var(--admonition-color) !important;
271271
}
272272

273273
.admonition .admonition-title,

0 commit comments

Comments
 (0)