Skip to content

Commit

Permalink
Style location prefixes in minimal theme
Browse files Browse the repository at this point in the history
  • Loading branch information
iamgio committed Oct 25, 2024
1 parent 947dd4c commit 0a5d631
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions core/src/main/resources/render/theme/layout/minimal.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
--qd-code-span-font-size: 0.9em;
--qd-block-margin: 1.8em;
--qd-line-height: 1.8;
--qd-location-suffix: "";
}

h1 {
Expand Down Expand Up @@ -141,6 +142,18 @@ nav li {
margin-left: 44px;
}

/* Location prefix of elements. */

[data-location]::before {
opacity: .3;
font-weight: normal;
margin-right: 0.4em;
}

nav [data-location]::before {
opacity: .5;
}

/* Footer */

.page-margin-bottom-center > * {
Expand Down

0 comments on commit 0a5d631

Please sign in to comment.