feat(panettone): Add styling for blockquotes
Style blockquotes (which show up in rendered markdown) similarly to how github does, by rendering a 5px-wide margin to the left with some padding. Fixes: #48 Change-Id: I79aa3b6cda5d928885c2cc36f504009232252c17 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1869 Tested-by: BuildkiteCI Reviewed-by: eta <eta@theta.eu.org>
This commit is contained in:
parent
9e118c6d69
commit
96ea76bd59
1 changed files with 7 additions and 0 deletions
|
@ -40,6 +40,12 @@
|
|||
:outline "none"
|
||||
:border "none")))
|
||||
|
||||
(defparameter markdown-styles
|
||||
`((blockquote
|
||||
:border-left "5px" "solid" ,color/light-gray
|
||||
:padding-left "1rem"
|
||||
:margin-left "0rem")))
|
||||
|
||||
(defparameter issue-list-styles
|
||||
`((.issue-list
|
||||
:list-style-type "none"
|
||||
|
@ -156,6 +162,7 @@
|
|||
,@issue-list-styles
|
||||
,@issue-styles
|
||||
,@issue-history-styles
|
||||
,@markdown-styles
|
||||
|
||||
(body
|
||||
:font-family "sans-serif"
|
||||
|
|
Loading…
Reference in a new issue