Skip to content

Commit 34bec5c

Browse files
committed
style: clarify clickable code examples
1 parent 45c52e1 commit 34bec5c

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

styles.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,16 @@ img {
497497
border: 1px solid var(--line);
498498
border-radius: 1.4rem;
499499
background: rgba(255, 255, 255, 0.02);
500+
cursor: pointer;
501+
transition:
502+
border-color 0.2s ease,
503+
background-color 0.2s ease,
504+
transform 0.2s ease;
505+
}
506+
507+
.code-example:hover {
508+
border-color: rgba(255, 255, 255, 0.16);
509+
background: rgba(255, 255, 255, 0.03);
500510
}
501511

502512
.code-example-summary {

0 commit comments

Comments
 (0)