Skip to content

Commit

Permalink
fix: better style for quotes in readable mode (#951)
Browse files Browse the repository at this point in the history
* better style for quotes

* add box for qoutes

* simpler style

---------

Co-authored-by: Felipe Martin <[email protected]>
  • Loading branch information
Monirzadeh and fmartingr authored Aug 27, 2024
1 parent d7a91f7 commit 9a113af
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion internal/view/assets/css/style.css

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions internal/view/assets/less/common.less
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,12 @@ a {
border: 1px solid var(--border);
}
}
blockquote {
margin: 15px;
padding: 15px;
font-style: italic;
background: var(--bgqoute);
}
}
}

Expand Down
2 changes: 2 additions & 0 deletions internal/view/assets/less/theme.less
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
--contentBg: #292929;
--headerBg: #292929;
--selectedBg: #261918;
--bgqoute: #1f1f1f5e;
}

.light-colors {
Expand All @@ -24,6 +25,7 @@
--contentBg: #fff;
--headerBg: #fff;
--selectedBg: #ffe7e5;
--bgqoute: #eee;
}

body.dark {
Expand Down

0 comments on commit 9a113af

Please sign in to comment.