From 234494b46da8dba722f40f2a93c8aff6ac0bd2db Mon Sep 17 00:00:00 2001 From: s-ol Date: Sat, 29 Apr 2023 20:57:46 +0200 Subject: 0x33.board: styling and diagram changes --- static/style/content/text$x-scss.scss | 19 +++++++------------ static/style/reset/text$x-scss.scss | 1 - 2 files changed, 7 insertions(+), 13 deletions(-) (limited to 'static') diff --git a/static/style/content/text$x-scss.scss b/static/style/content/text$x-scss.scss index c23ac0d..eb99d44 100644 --- a/static/style/content/text$x-scss.scss +++ b/static/style/content/text$x-scss.scss @@ -1,5 +1,4 @@ .view { - flex-direction: column; flex: 1 0 auto; @@ -60,7 +59,7 @@ .markdown { position: relative; - max-width: 640px; + max-width: 860px; text-align: justify; > blockquote { @@ -82,8 +81,7 @@ .markdown, .markdown > p, .markdown > p > a { - - p, a { + p { max-width: 100%; } @@ -95,10 +93,6 @@ padding: 0 2em; box-sizing: border-box; } - - a, p { - max-width: 100%; - } } .markdown { @@ -111,16 +105,17 @@ } } - .markdown > ul { + .markdown > ul, .markdown > ol { margin-block-end: 1em; text-align: none; + + li > p:first-child { margin-top: 0; } + li > p:last-child { margin-bottom: 0; } } .embed { display: block; - width: inherit; - height: inherit; - max-width: inherit; + width: 100%; break-inside: avoid-page; line-height: normal; diff --git a/static/style/reset/text$x-scss.scss b/static/style/reset/text$x-scss.scss index 4b571e3..597f795 100644 --- a/static/style/reset/text$x-scss.scss +++ b/static/style/reset/text$x-scss.scss @@ -50,7 +50,6 @@ body { } a { - display: inline-block; font-size: 1em; font-weight: bold; text-decoration: underline; -- cgit v1.2.3