Skip to content

Commit 3406b93

Browse files
committed
Improve blockquote styling
1 parent e575992 commit 3406b93

File tree

2 files changed

+20
-4
lines changed

2 files changed

+20
-4
lines changed

src/static/a/main-mobile.css

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,11 +345,19 @@ ol.lower-latin {
345345
list-style-type: lower-latin;
346346
}
347347
blockquote {
348+
background-color: rgba(128,128,128,0.15);
348349
background-image: url("/a/quote-symbol.png");
349-
background-position: 0px -12px;
350+
background-position: 4px -4px;
350351
background-repeat: no-repeat;
352+
border-radius: 6px;
353+
clear: both;
351354
margin: 0px;
352-
padding: 0px 0px 0px 48px;
355+
min-height: 38px;
356+
padding: 1px 8px 1px 54px;
357+
}
358+
blockquote > ol,
359+
blockquote > ul {
360+
padding-left: 22px;
353361
}
354362
table {
355363
border-collapse: collapse;

src/static/a/main.css

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,11 +360,19 @@ ol.lower-latin {
360360
list-style-type: lower-latin;
361361
}
362362
blockquote {
363+
background-color: rgba(128,128,128,0.15);
363364
background-image: url("/a/quote-symbol.png");
364-
background-position: 0px -12px;
365+
background-position: 4px -4px;
365366
background-repeat: no-repeat;
367+
border-radius: 6px;
368+
clear: both;
366369
margin: 0px;
367-
padding: 0px 0px 0px 48px;
370+
min-height: 38px;
371+
padding: 1px 8px 1px 54px;
372+
}
373+
blockquote > ol,
374+
blockquote > ul {
375+
padding-left: 22px;
368376
}
369377
table {
370378
border-collapse: collapse;

0 commit comments

Comments
 (0)