From 1c7958baf38782d0a283d97af284be961dde9b24 Mon Sep 17 00:00:00 2001 From: ppoffice Date: Wed, 1 May 2019 14:13:22 -0400 Subject: [PATCH] fix(*): break long link and support inline mathjax --- layout/plugins/mathjax.ejs | 18 +++++++++++++++--- source/css/style.scss | 18 ++++++++++++++++++ 2 files changed, 33 insertions(+), 3 deletions(-) diff --git a/layout/plugins/mathjax.ejs b/layout/plugins/mathjax.ejs index a73a437a..ac7fea75 100644 --- a/layout/plugins/mathjax.ejs +++ b/layout/plugins/mathjax.ejs @@ -2,9 +2,21 @@ <% } %> \ No newline at end of file diff --git a/source/css/style.scss b/source/css/style.scss index d73e9cd1..eb933f79 100644 --- a/source/css/style.scss +++ b/source/css/style.scss @@ -91,6 +91,10 @@ a.tag.article-tag { right: 100%; } } + + a { + word-break: break-word; + } } .article-more-link a { @@ -608,4 +612,18 @@ figure.highlight { } } +.video-container { + width: 100%; + margin-bottom: 20px; + padding-top: 56.25%; + position: relative; + iframe { + top: 0px; + left: 0px; + width: 100%; + height: 100%; + position: absolute; + } +} + @import "insight";