git.s-ol.nu mmm / b81d20c
justify all markdown s-ol 1 year, 11 months ago
3 changed file(s) with 8 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
66 import article, h1, h2, h3, section, p, div, a, sup, ol, li, span, code, pre, br from html
77 import moon from (require 'mmm.highlighting').languages
88
9 article with _this = class: 'sidenote-container', style: { 'max-width': '640px', 'text-align': 'justify' }
9 article with _this = class: 'sidenote-container', style: { 'max-width': '640px' }
1010 append = (a) -> table.insert _this, a
1111
1212 footnote, getnotes = do
66 import article, h1, h2, h3, section, p, div, a, sup, ol, li, span, code, pre, br from html
77 import moon from (require 'mmm.highlighting').languages
88
9 article with _this = class: 'sidenote-container', style: { 'max-width': '640px', 'text-align': 'justify' }
9 article with _this = class: 'sidenote-container', style: { 'max-width': '640px' }
1010 append = (a) -> table.insert _this, a
1111
1212 footnote, getnotes = do
33 height: inherit;
44 }
55
6 .wide.markdown,
7 .wide .markdown {
8 max-width: max-content;
9 }
10
611 .markdown {
712 position: relative;
813 max-width: 640px;
9
10 &.wide {
11 max-width: max-content;
12 }
14 text-align: justify;
1315
1416 > blockquote {
1517 @include left-border;