Skip to content

Commit

Permalink
Group block elements in global theme
Browse files Browse the repository at this point in the history
  • Loading branch information
iamgio committed Aug 11, 2024
1 parent 76d1f3e commit ba6cfe2
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions core/src/main/resources/render/theme/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,33 +29,24 @@ body {

hr {
width: 100%;
margin-top: var(--qd-block-margin);
margin-bottom: var(--qd-block-margin);
}

figure {
text-align: center;
margin-top: var(--qd-block-margin);
margin-bottom: var(--qd-block-margin);
}

h1, h2, h3, h4, h5, h6 {
font-family: var(--qd-heading-font);
text-transform: none !important;
margin-top: var(--qd-block-margin);
margin-bottom: var(--qd-block-margin);
}

table {
margin-top: var(--qd-block-margin);
margin-bottom: var(--qd-block-margin);
}

a {
color: var(--qd-link-color);
}

pre {
h1, h2, h3, h4, h5, h6,
table, pre, figure, blockquote,
ul, ol, hr, .stack:not(.stack .stack) {
margin-top: var(--qd-block-margin);
margin-bottom: var(--qd-block-margin);
}
Expand Down Expand Up @@ -96,11 +87,6 @@ code.focus-lines .hljs-ln-line:not(.focused) {
display: flex;
}

.stack:not(.stack .stack) {
margin-top: var(--qd-block-margin);
margin-bottom: var(--qd-block-margin);
}

.stack-horizontal {
flex-direction: row;
}
Expand Down

0 comments on commit ba6cfe2

Please sign in to comment.