diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2020-03-29 03:17:09 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2020-03-29 03:17:09 +0200 |
| commit | 1647071aa7d56f6b2e63153b1bc13d112229d6a1 (patch) | |
| tree | b42946c49b001d99a6a1e3e751cacd3e83d275f9 /static/style.css | |
| parent | c070cca569780abc2408b8e6c8841fb6cbf9effe (diff) | |
| download | mitjafelicijan.com-1647071aa7d56f6b2e63153b1bc13d112229d6a1.tar.gz | |
Adde blockquotes styles
Diffstat (limited to 'static/style.css')
| -rw-r--r-- | static/style.css | 23 |
1 files changed, 23 insertions, 0 deletions
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 { | |||
| 27 | margin-block-end: 40px; | 27 | margin-block-end: 40px; |
| 28 | } | 28 | } |
| 29 | 29 | ||
| 30 | blockquote { | ||
| 31 | position: relative; | ||
| 32 | margin-block-start: 30px; | ||
| 33 | margin-block-end: 30px; | ||
| 34 | |||
| 35 | border: 1px solid red; | ||
| 36 | } | ||
| 37 | |||
| 38 | blockquote:before { | ||
| 39 | content: ' '; | ||
| 40 | background-image: url('/static/alert.svg'); | ||
| 41 | background-size: 30px 30px; | ||
| 42 | height: 30px; | ||
| 43 | width: 30px; | ||
| 44 | position: absolute; | ||
| 45 | left: -40px; | ||
| 46 | top: 6px; | ||
| 47 | } | ||
| 48 | |||
| 49 | blockquote p { | ||
| 50 | padding-left: 10px; | ||
| 51 | } | ||
| 52 | |||
| 30 | h1 { | 53 | h1 { |
| 31 | font-size: 280%; | 54 | font-size: 280%; |
| 32 | line-height: initial; | 55 | line-height: initial; |
