From 2711e55af4174f9274199480fd3ac80730b26f18 Mon Sep 17 00:00:00 2001 From: Botond Hende Date: Sat, 7 Sep 2024 23:43:40 +0200 Subject: quote styling --- assets/css/blog.css | 21 +++++++++++++++------ modules/warko | 2 +- 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/assets/css/blog.css b/assets/css/blog.css index e4f4bf8..74fea97 100644 --- a/assets/css/blog.css +++ b/assets/css/blog.css @@ -96,30 +96,39 @@ hr { } .quote { + margin: 1.2rem 0; +} + +.quote-main { display: flex; flex-flow: row; align-items: center; - margin: 1.2rem 0rem; gap: 1rem; } .quote p { - margin-top: 0rem; - margin-bottom: 0rem; + margin-top: 0; + margin-bottom: 0; color: var(--term-yellow); } -.quote p:first-child{ +p.quote-source { + font-size: 0.8rem; + margin-left: 25%; + text-align: center; +} + +.quote-main p:first-child{ margin-left: auto; font-size: 2rem; } -.quote p:last-child{ +.quote-main p:last-child{ margin-right: auto; font-size: 2rem; } -.quote p:not(:first-child):not(:last-child) { +.quote-main p:not(:first-child):not(:last-child) { font-style: italic; } diff --git a/modules/warko b/modules/warko index 9ceea40..97ae1c4 160000 --- a/modules/warko +++ b/modules/warko @@ -1 +1 @@ -Subproject commit 9ceea408679913000039013f3a1ddfb695880e6a +Subproject commit 97ae1c4058c09731033847226942342fdee30be8 -- cgit v1.2.3-70-g09d2