From 3aabaeb52dd9800e205486858dc52de0177f678e Mon Sep 17 00:00:00 2001 From: realaravinth Date: Wed, 5 Jan 2022 11:41:30 +0530 Subject: [PATCH] feat: blockquote rendering and styling --- templates/main.css | 7 +++++++ templates/post.html | 2 ++ 2 files changed, 9 insertions(+) diff --git a/templates/main.css b/templates/main.css index ee86c29..3d287ae 100644 --- a/templates/main.css +++ b/templates/main.css @@ -138,3 +138,10 @@ iframe { background-color: rgb(255, 165, 0); padding: 5px; } + +blockquote { + margin-left: -5px; + padding-left: 19px; + border-left: 4px solid #333; + font-style: italic; +} diff --git a/templates/post.html b/templates/post.html index 116db2b..6493b79 100644 --- a/templates/post.html +++ b/templates/post.html @@ -27,6 +27,8 @@ <. include!("./img.html"); .> <.} else if p.type_ == "P" {.>

<. include!("./_markup.html"); .>

+ <.} else if p.type_ == "BQ" {.> +
<. include!("./_markup.html"); .>
<.} else if p.type_ == "H2" {.>

<.= p.text .>

<.} else if p.type_ == "H3" {.>