Style fixes and cleanup for appendix

This commit is contained in:
Ludwig Schubert
2017-10-11 18:31:49 -07:00
parent 7f0fb66ec5
commit 017bb45b7c
11 changed files with 86 additions and 100 deletions
+5 -4
View File
@@ -5,6 +5,10 @@ import { HoverBox } from '../helpers/hover-box';
const T = Template('d-cite', `
<style>
:host {
display: inline-block;
}
.citation {
color: hsla(206, 90%, 20%, 0.7);
}
@@ -55,10 +59,7 @@ figcaption .citation-number {
<div id="hover-box" class="dt-hover-box"></div>
</div>
<span id="citation-" class="citation">
<slot></slot>
<span class="citation-number"></span>
</span>
<span id="citation-" class="citation"><slot></slot><span class="citation-number"></span></span>
`);
export class Cite extends T(HTMLElement) {