aboutsummaryrefslogtreecommitdiffstats
path: root/scss
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2019-12-29 17:56:23 +0000
committers-ol <s-ol@users.noreply.github.com>2019-12-29 17:56:23 +0000
commitb0b26d2a9dcd4944d9aae90480591793691730c1 (patch)
tree18d6205b61d3a70ad74374c57942edc5d0af0c3e /scss
parentclean up editor a bit (diff)
downloadmmm-b0b26d2a9dcd4944d9aae90480591793691730c1.tar.gz
mmm-b0b26d2a9dcd4944d9aae90480591793691730c1.zip
marginnote embedding
Diffstat (limited to 'scss')
-rw-r--r--scss/_content.scss5
-rw-r--r--scss/_sidenotes.scss7
2 files changed, 11 insertions, 1 deletions
diff --git a/scss/_content.scss b/scss/_content.scss
index 5f7d774..e809204 100644
--- a/scss/_content.scss
+++ b/scss/_content.scss
@@ -17,6 +17,7 @@
> blockquote {
@include left-border;
+ line-height: normal;
margin: 1rem var(--margin-wide);
padding: 1rem;
background: $gray-bright;
@@ -47,6 +48,8 @@
height: inherit;
max-width: inherit;
+ line-height: normal;
+
.description {
text-align: center;
}
@@ -77,6 +80,7 @@
white-space: pre-wrap;
overflow-x: auto;
+ line-height: normal;
background: #1d1f21;
color: #c5c8c6;
}
@@ -103,6 +107,7 @@
margin: 1rem var(--margin-wide);
padding: 1rem;
+ line-height: normal;
background: $gray-bright;
border-color: $gray-neutral;
}
diff --git a/scss/_sidenotes.scss b/scss/_sidenotes.scss
index ea7520f..2cd4965 100644
--- a/scss/_sidenotes.scss
+++ b/scss/_sidenotes.scss
@@ -22,9 +22,10 @@ $sidenote-width: 14rem;
color: $gray-dark;
border-top: 1px solid $gray-dark;
- font-size: 0.8em;
word-break: break-word;
+ font-size: 0.8em;
+ line-height: 1.1;
text-align: initial;
.hook {
@@ -47,6 +48,10 @@ $sidenote-width: 14rem;
text-align: right;
}
+ > .markdown > p:first-child {
+ margin-top: 0;
+ }
+
a {
display: inline;
}