summaryrefslogtreecommitdiff
path: root/public/css
diff options
context:
space:
mode:
authorWu Cheng-Han2017-03-26 20:39:07 +0800
committerWu Cheng-Han2017-03-26 20:39:07 +0800
commit61dc6dbc150dd80e4c1aaa5068cd1432363998dc (patch)
tree34c4afe6ab1c4b0aa4148ba63e9152e3410e4099 /public/css
parentaaf4948c557e7b59cfb7af844fe41d0cd451b834 (diff)
Add support of abcjs
Diffstat (limited to 'public/css')
-rw-r--r--public/css/markdown.css9
-rw-r--r--public/css/slide.css9
2 files changed, 12 insertions, 6 deletions
diff --git a/public/css/markdown.css b/public/css/markdown.css
index 1de90250..ad3a655f 100644
--- a/public/css/markdown.css
+++ b/public/css/markdown.css
@@ -113,7 +113,8 @@
.markdown-body pre.flow-chart,
.markdown-body pre.sequence-diagram,
.markdown-body pre.graphviz,
-.markdown-body pre.mermaid {
+.markdown-body pre.mermaid,
+.markdown-body pre.abc {
text-align: center;
background-color: inherit;
border-radius: 0;
@@ -123,14 +124,16 @@
.markdown-body pre.flow-chart > code,
.markdown-body pre.sequence-diagram > code,
.markdown-body pre.graphviz > code,
-.markdown-body pre.mermaid > code {
+.markdown-body pre.mermaid > code,
+.markdown-body pre.abc > code {
text-align: left;
}
.markdown-body pre.flow-chart > svg,
.markdown-body pre.sequence-diagram > svg,
.markdown-body pre.graphviz > svg,
-.markdown-body pre.mermaid > svg {
+.markdown-body pre.mermaid > svg,
+.markdown-body pre.abc > svg {
max-width: 100%;
height: 100%;
}
diff --git a/public/css/slide.css b/public/css/slide.css
index b68ccb10..74bc03c8 100644
--- a/public/css/slide.css
+++ b/public/css/slide.css
@@ -221,7 +221,8 @@ code[data-gist-id]:after {
pre.flow-chart,
pre.sequence-diagram,
pre.graphviz,
-pre.mermaid {
+pre.mermaid,
+pre.abc {
text-align: center;
background-color: white;
border-radius: 0;
@@ -231,14 +232,16 @@ pre.mermaid {
pre.flow-chart > code,
pre.sequence-diagram > code,
pre.graphviz > code,
-pre.mermaid > code {
+pre.mermaid > code,
+pre.abc > code {
text-align: left;
}
pre.flow-chart > svg,
pre.sequence-diagram > svg,
pre.graphviz > svg,
-pre.mermaid > svg {
+pre.mermaid > svg,
+pre.abc > svg {
max-width: 100%;
height: 100%;
}