git » homepage.git » commit 5d442db

improve blockquote styling

author Alan Dipert
2025-11-14 23:27:01 UTC
committer Alan Dipert
2025-11-14 23:27:01 UTC
parent 077096e4e980acfef4effc3bff159172ed91c2c3

improve blockquote styling

tpl/style.css +11 -0

diff --git a/tpl/style.css b/tpl/style.css
index 031184b..43544ae 100644
--- a/tpl/style.css
+++ b/tpl/style.css
@@ -56,6 +56,17 @@ body{
   line-height:1.25;
 }
 .content p{margin-top:0;}
+.content blockquote{
+  margin:1.25rem 0;
+  padding:.75rem 1rem;
+  border-left:4px solid rgba(0,0,0,.1);
+  background:rgba(0,0,0,.025);
+  font-style:italic;
+  color:#4a4f52;
+}
+.content blockquote p{margin:.5rem 0;}
+.content blockquote p:first-child{margin-top:0;}
+.content blockquote p:last-child{margin-bottom:0;}
 .content pre,
 .content code{background:#f7f7f7;}
 .content pre{padding:.75rem;overflow:auto;}