comparison src/chat.css @ 122:1ae3613dd090

markdown work
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 10 Dec 2025 20:30:42 -0700
parents b86bb25fb416
children 50f611bbfa19
comparison
equal deleted inserted replaced
121:b96d598aa7d1 122:1ae3613dd090
58 58
59 div[main] { 59 div[main] {
60 overflow-y: auto; 60 overflow-y: auto;
61 } 61 }
62 62
63 div[post] { 63 div[post] p,
64 margin-top: 16px; 64 div[post] pre,
65 margin-bottom: 16px; 65 div[input] p,
66 div[input] pre {
67 margin: 0;
66 } 68 }
67 69
68 div[intro] { 70 div[intro] {
69 width: 100%; 71 width: 100%;
70 display: flex; 72 display: flex;
144 margin: 0; 146 margin: 0;
145 } 147 }
146 div[quote] { 148 div[quote] {
147 border-left: 1px solid #888888; 149 border-left: 1px solid #888888;
148 padding-left: 8px; 150 padding-left: 8px;
151 margin-bottom: 8px;
149 } 152 }
150 div[reply] a[when], 153 div[reply] a[when],
151 div[quote] [when], 154 div[quote] [when],
152 div[quote] [deleted] { 155 div[quote] [deleted] {
153 font-size: 12px; 156 font-size: 12px;
235 238
236 [error] { 239 [error] {
237 color: red; 240 color: red;
238 } 241 }
239 242
243 code {
244 background-color: #EEE;
245 padding: 2px;
246 }
247 pre > code {
248 display: block;
249 white-space: pre-wrap;
250 }
251
240 @media (min-width: 700px) { 252 @media (min-width: 700px) {
241 div[chat_content] { 253 div[chat_content] {
242 margin-left: calc(3% - 8px); 254 margin-left: calc(3% - 8px);
243 margin-right: 0; 255 margin-right: 0;
244 } 256 }