From 1647071aa7d56f6b2e63153b1bc13d112229d6a1 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Sun, 29 Mar 2020 03:17:09 +0200 Subject: Adde blockquotes styles --- static/alert.svg | 99 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ static/style.css | 23 +++++++++++++ 2 files changed, 122 insertions(+) create mode 100644 static/alert.svg (limited to 'static') diff --git a/static/alert.svg b/static/alert.svg new file mode 100644 index 0000000..86658ec --- /dev/null +++ b/static/alert.svg @@ -0,0 +1,99 @@ + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/static/style.css b/static/style.css index 6c6d5e5..c855b6d 100644 --- a/static/style.css +++ b/static/style.css @@ -27,6 +27,29 @@ header { margin-block-end: 40px; } +blockquote { + position: relative; + margin-block-start: 30px; + margin-block-end: 30px; + + border: 1px solid red; +} + +blockquote:before { + content: ' '; + background-image: url('/static/alert.svg'); + background-size: 30px 30px; + height: 30px; + width: 30px; + position: absolute; + left: -40px; + top: 6px; +} + +blockquote p { + padding-left: 10px; +} + h1 { font-size: 280%; line-height: initial; -- cgit v1.2.3