mirror of
https://github.com/nature-of-code/noc-book-2
synced 2024-11-17 07:49:05 +01:00
commit
83e48788dc
3 changed files with 10 additions and 2 deletions
|
@ -1,7 +1,6 @@
|
|||
span.highlight,
|
||||
div[data-type='exercise'],
|
||||
div[data-type='note'],
|
||||
div[data-type='project'],
|
||||
div[data-type='example'] {
|
||||
margin: 12pt 0;
|
||||
page-break-inside: avoid;
|
||||
|
@ -12,6 +11,14 @@ div[data-type='example'] {
|
|||
}
|
||||
}
|
||||
|
||||
div[data-type='project'] {
|
||||
margin: 12pt 0;
|
||||
|
||||
figure {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
span.highlight {
|
||||
display: block;
|
||||
padding-left: 12pt;
|
||||
|
|
|
@ -88,6 +88,7 @@
|
|||
}
|
||||
|
||||
.comment {
|
||||
page-break-inside: avoid;
|
||||
flex-grow: 1;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
|
|
|
@ -47,6 +47,6 @@ table {
|
|||
pre {
|
||||
background: $color-gray-100;
|
||||
border-radius: $rounded-radius-sm;
|
||||
padding: 8pt;
|
||||
padding: 4pt 8pt;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue