@@ -270,7 +270,7 @@ function TODO(; lang::AbstractLanguage=default_language[], text="", heading=todo
270
270
271
271
div.ptt-todo-content {
272
272
padding:1.2rem;
273
- background-color: white;
273
+ background-color: var(-- white) ;
274
274
}
275
275
</style>
276
276
""" )
@@ -295,7 +295,7 @@ function blockquote(text, author="")
295
295
<div class="nice-blockquote nice-blockquote__bordered nice-blockquote--quoted">
296
296
<p class="nice-blockquote__text">
297
297
$text
298
- <p>
298
+ </ p>
299
299
<div class="nice-blockquote__text nice-blockquote__text--author">
300
300
$author
301
301
</div>
@@ -310,21 +310,35 @@ function blockquote(text, author="")
310
310
.nice-blockquote__bordered{
311
311
border-left-width: 14px;
312
312
}
313
- .nice-blockquote--quoted::before{
314
- content:open-quote;
315
- font-size:70px;
316
- font-family: Arial;
317
- font-weight:bold;
318
- color:#ccc;
319
- display:block;
320
- margin-top:-20px;
321
- margin-bottom:-40px;
322
- font-family: Arial;
313
+ p.nice-blockquote__text::before,
314
+ p.nice-blockquote__text::after{
315
+ content: open-quote;
316
+ font-size: 70px;
317
+ font-family: Arial;
318
+ font-weight: bold;
319
+ color: #ccc;
320
+ display: block;
321
+ /* margin-top: -20px; */
322
+ /* margin-bottom: -40px; */
323
+ font-family: Arial;
324
+ float: left;
325
+ /* padding: 0.1ch 1ch; */
326
+ }
327
+
328
+ p.nice-blockquote__text::before{
329
+ padding-inline-end: .2ch;
330
+ line-height: 0.5;
323
331
}
332
+ p.nice-blockquote__text::after{
333
+ content: close-quote;
334
+ float: right;
335
+ padding-inline-start: .2ch;
336
+ line-height: .7;
337
+ }
338
+
324
339
.nice-blockquote__text{
325
340
font-family: Arial;
326
341
font-style: italic;
327
- fontsize: 1.5em;
328
342
margin:0;
329
343
line height: 1.5;
330
344
text-align:left;
@@ -333,21 +347,12 @@ function blockquote(text, author="")
333
347
margin-bottom:10px;
334
348
}
335
349
.nice-blockquote__text--author{
336
- font-weight:bold;
337
- font-style: normal;
338
- text-align:right;
339
- fontsize: 2em;
340
- }
341
- .nice-blockquote__text--author::before{
342
- content:close-quote;
343
- font-size:70px;
344
- font-family: Arial;
345
- font-weight:bold;
346
- color:#ccc;
347
- display:block;
348
- margin-top:-28px;
349
- margin-bottom:-40px;
350
+ font-weight:bold;
351
+ font-style: normal;
352
+ text-align:right;
353
+ margin-block-start: 3em;
350
354
}
355
+
351
356
</style>
352
357
""" )
353
358
end
0 commit comments