note previewer styles

This commit is contained in:
Garry Ing 2021-03-28 14:36:11 -04:00
parent 5230f205da
commit 6cad4966f5
No known key found for this signature in database
GPG Key ID: 3B379B1F2193CC3E
2 changed files with 17 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<!-- That file is not particularly elegant. This will need a refactor at some point. --> <!-- That file is not particularly elegant. This will need a refactor at some point. -->
<div class="hide-child links-dark-green"> <div class="hide-child links-dark-green">
<div id='tooltip-wrapper' class="bg-white br4 shadow-solid-accent lh-copy dn o-0 pa3 w6 f6 absolute child"> <div id='tooltip-wrapper' class="bg-white br4 shadow-solid-accent lh-copy dn o-0 pa3 w6 f6 absolute child">
<div id='tooltip-content' class="relative overflow-hidden"> <div id='tooltip-content' class="relative overflow-hidden note-contents">
</div> </div>
<div id="tooltip-source" class="f7 light-silver"></div> <div id="tooltip-source" class="f7 light-silver"></div>
</div> </div>

View File

@ -125,6 +125,22 @@
border-radius: 4px; border-radius: 4px;
} }
.note-contents {
blockquote {
margin: 0 0 0 0.5em;
padding: 0.05em 0.5em;
border-left: 2px solid rgba($accent-color, 0.5);
}
ul, ol {
padding-left: 1.75em;
}
ul {
list-style: circle;
}
}
// Link previews // Link previews
#tooltip-content { #tooltip-content {