diff options
| author | s-ol <s+removethis@s-ol.nu> | 2023-04-29 18:57:46 +0000 |
|---|---|---|
| committer | s-ol <s+removethis@s-ol.nu> | 2023-05-03 07:50:21 +0000 |
| commit | 234494b46da8dba722f40f2a93c8aff6ac0bd2db (patch) | |
| tree | f4d525d815294255f0303c8824cba8c7d3757f01 /static | |
| parent | 0x33.board: update dev/simulator docs (diff) | |
| download | hw.s-ol.nu-234494b46da8dba722f40f2a93c8aff6ac0bd2db.tar.gz hw.s-ol.nu-234494b46da8dba722f40f2a93c8aff6ac0bd2db.zip | |
0x33.board: styling and diagram changes
Diffstat (limited to 'static')
| -rw-r--r-- | static/style/content/text$x-scss.scss | 19 | ||||
| -rw-r--r-- | static/style/reset/text$x-scss.scss | 1 |
2 files changed, 7 insertions, 13 deletions
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; |
