WIP move d-code and d-math and d-footnote to ShadowDOM

This commit is contained in:
Ludwig Schubert
2017-07-25 19:22:11 -07:00
parent 4f3ddce184
commit 291864acae
20 changed files with 1252 additions and 791 deletions
+5 -1
View File
@@ -185,6 +185,10 @@ const T = Template("d-article", `
d-article section > d-code {
display: block;
}
d-article > d-math[block],
d-article section > d-math[block] {
display: block;
}
d-article .citation {
color: #668;
cursor: pointer;
@@ -200,4 +204,4 @@ export default class Article extends T(HTMLElement) {
static get is() { return "d-article"; }
}
customElements.define(Article.is, Article);
customElements.define(Article.is, Article);