Skip to content

Commit

Permalink
add css for <details>
Browse files Browse the repository at this point in the history
  • Loading branch information
mudkipdev committed May 28, 2024
1 parent dba4666 commit a6affba
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,16 @@ code .line::before {
content: counter(step);
counter-increment: step;
}

details {
padding: .6rem 1rem;
background: var(--mantle);
border-radius: 0.5em;
margin: 1em 0;
}

details summary {
margin-left: 0.5em;
cursor: pointer;
user-select: none;
}

0 comments on commit a6affba

Please sign in to comment.