Left aligned math

This commit is contained in:
Shan Carter
2017-08-29 17:09:36 -07:00
parent d01420a048
commit 5d4f5ff530
3 changed files with 14 additions and 2 deletions
+13
View File
@@ -17,6 +17,19 @@ const T = Template('d-math', `
display: block;
}
#katex-container .katex-display {
text-align: left;
border-left: 2px solid #ddd;
padding: 8px 0 8px 36px;
margin: 20px 0;
color: rgba(0, 0, 0, 0.7);
-webkit-font-smoothing: antialiased;
}
#katex-container .katex {
font-size: 1.2em;
}
</style>
${katexCSSTag}
+1 -1
View File
@@ -25,7 +25,7 @@ const T = Template('d-title', `
font-weight: 300 !important;
padding-top: 0 !important;
padding-bottom: 0 !important;
line-height: 1.5em !important;
line-height: 1.6em !important;
margin-top: 0 !important;
margin-bottom: 18px !important;
}
-1
View File
@@ -1,4 +1,3 @@
d-article {
color: rgba(0, 0, 0, 0.8);
padding-top: 0;