Skip to content

Commit

Permalink
add styles for the details block; add styles for the result role on t…
Browse files Browse the repository at this point in the history
…he details block
  • Loading branch information
mojavelinux committed Nov 28, 2020
1 parent 73c794f commit 9e777d7
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/css/doc.css
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,8 @@
.doc .sidebarblock,
.doc .verseblock,
.doc .quoteblock,
.doc .partintro {
.doc .partintro,
.doc details {
margin: 1rem 0 0;
}

Expand Down Expand Up @@ -485,14 +486,16 @@
margin-top: 0;
}

.doc .exampleblock > .content {
.doc .exampleblock > .content,
.doc details.result > .content {
background: var(--example-background);
border: 0.25rem solid var(--example-border-color);
border-radius: 0.5rem;
padding: 0.75rem;
}

.doc .exampleblock > .content > :first-child {
.doc .exampleblock > .content > :first-child,
.doc details.result > .content > :first-child {
margin-top: 0;
}

Expand Down

0 comments on commit 9e777d7

Please sign in to comment.