Skip to content

Commit

Permalink
Tweak taxon styles
Browse files Browse the repository at this point in the history
  • Loading branch information
utensil committed Jul 8, 2024
1 parent 1c981f2 commit 9c589a6
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions assets/uts-style.css
Original file line number Diff line number Diff line change
Expand Up @@ -256,14 +256,19 @@ section[data-taxon="Proof"]:hover {
background-color: rgba(0, 100, 255, 0.04);
}

section[data-taxon="Definition"] {
section[data-taxon="Definition"], section[data-taxon="Reference"] {
margin: unset;
padding-left: 5px;
padding-right: 10px;
padding-bottom: 2px;
border-radius: 5px;
}

section[data-taxon="Example"] {
border: 1px solid var(--taxon-color);
border-radius: 5px;
}

/*
Overrides extra styling in style.css
*/
Expand Down Expand Up @@ -355,7 +360,7 @@ nav#toc > .block {
}

nav#toc > .block > ul.block {
max-height: calc(70vh - var(--offset) * 2);
max-height: calc(80vh - var(--offset) * 2);
overflow-y: auto;
}

Expand Down

0 comments on commit 9c589a6

Please sign in to comment.