diff --git a/static/style/inverted-style.css b/static/style/inverted-style.css index eafe6322..0916f2d2 100644 --- a/static/style/inverted-style.css +++ b/static/style/inverted-style.css @@ -437,10 +437,19 @@ mask-image: radial-gradient(#ffffff20 0, #ffffff80 100%); pointer-events: none; } + .preview blockquote{ + margin-left: 16px; + opacity: 0.66; +} + .preview sup{ + display: block + } .preview p { line-height: 1.25; word-break: break-word; margin-bottom: 12px; + letter-spacing: 0; + font-size: 16px; } .preview img { max-width: 100%; @@ -460,6 +469,7 @@ .preview h1 { margin: 8px; /* text-align: center; */ + font-size: 24px; } .preview a { word-break: break-all; @@ -538,5 +548,8 @@ } .preview li { margin-bottom: 8px; + letter-spacing: 0; + font-size: 16px; + line-height: 1.25; } } diff --git a/static/style/style.css b/static/style/style.css index 948343e8..5ce0e1f7 100644 --- a/static/style/style.css +++ b/static/style/style.css @@ -437,22 +437,52 @@ mask-image: radial-gradient(#00000020 0, #00000080 100%); pointer-events: none; } + .preview blockquote{ + margin-left: 16px; + opacity: 0.66; +} + .preview sup{ + display: block + } .preview p { - line-height: 1.5; + line-height: 1.25; word-break: break-word; margin-bottom: 12px; letter-spacing: 0; + font-size: 16px; } .preview img { max-width: 100%; } .preview pre { /* width: calc(100% - 48px); */ + /* overflow: scroll; */ + /* margin: 0; */ + /* overflow: hidden; */ + /* white-space: unset; */ + /* position: relative; */ + /* width: 50%; */ + /* display: inline-block; */ + /* background: red; */ + /* overflow: hidden; */ + /* margin: 0; */ + /* white-space: unset; */ + position: relative; + /* margin: 48px auto; */ + display: inline-block; + width: 100%; overflow: scroll; + height: 48px; } - .preview code { - width: 100%; - white-space: initial; + .preview pre code { + /* width: 100%; */ + /* white-space: initial; */ + /* max-width: 100vw; */ + /* overflow: hidden; */ + /* display: inline-block; */ + /* display: block; */ + /* white-space: inherit; */ + position: absolute; } .preview ul, .preview ol { @@ -461,6 +491,7 @@ .preview h1 { margin: 8px; /* text-align: center; */ + font-size: 24px; } .preview a { word-break: break-all; @@ -540,5 +571,7 @@ .preview li { margin-bottom: 8px; letter-spacing: 0; + font-size: 16px; + line-height: 1.25; } }