From b81d20c5496b8612bb1cf669b614abfbc223829e Mon Sep 17 00:00:00 2001 From: s-ol Date: Sun, 29 Dec 2019 14:56:26 +0100 Subject: justify all markdown --- .../mmmfs/print: text$moonscript -> fn -> mmm$dom.moon | 2 +- root/articles/mmmfs/text$moonscript -> fn -> mmm$dom.moon | 2 +- scss/_content.scss | 10 ++++++---- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/root/articles/mmmfs/print: text$moonscript -> fn -> mmm$dom.moon b/root/articles/mmmfs/print: text$moonscript -> fn -> mmm$dom.moon index 48b18c4..693d362 100644 --- a/root/articles/mmmfs/print: text$moonscript -> fn -> mmm$dom.moon +++ b/root/articles/mmmfs/print: text$moonscript -> fn -> mmm$dom.moon @@ -7,7 +7,7 @@ import article, h1, h2, h3, section, p, div, a, sup, ol, li, span, code, pre, br from html import moon from (require 'mmm.highlighting').languages - article with _this = class: 'sidenote-container', style: { 'max-width': '640px', 'text-align': 'justify' } + article with _this = class: 'sidenote-container', style: { 'max-width': '640px' } append = (a) -> table.insert _this, a footnote, getnotes = do diff --git a/root/articles/mmmfs/text$moonscript -> fn -> mmm$dom.moon b/root/articles/mmmfs/text$moonscript -> fn -> mmm$dom.moon index 371c0c8..8034805 100644 --- a/root/articles/mmmfs/text$moonscript -> fn -> mmm$dom.moon +++ b/root/articles/mmmfs/text$moonscript -> fn -> mmm$dom.moon @@ -7,7 +7,7 @@ import article, h1, h2, h3, section, p, div, a, sup, ol, li, span, code, pre, br from html import moon from (require 'mmm.highlighting').languages - article with _this = class: 'sidenote-container', style: { 'max-width': '640px', 'text-align': 'justify' } + article with _this = class: 'sidenote-container', style: { 'max-width': '640px' } append = (a) -> table.insert _this, a footnote, getnotes = do diff --git a/scss/_content.scss b/scss/_content.scss index e58b13b..5f7d774 100644 --- a/scss/_content.scss +++ b/scss/_content.scss @@ -4,13 +4,15 @@ height: inherit; } + .wide.markdown, + .wide .markdown { + max-width: max-content; + } + .markdown { position: relative; max-width: 640px; - - &.wide { - max-width: max-content; - } + text-align: justify; > blockquote { @include left-border; -- cgit v1.2.3