[gnome-notes/117-notes-synced-via-nextcloud-are-all-bold: 4/4] css: Fix all text in bold
- From: Isaque Galdino de Araujo <igaldino src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-notes/117-notes-synced-via-nextcloud-are-all-bold: 4/4] css: Fix all text in bold
- Date: Thu, 28 Feb 2019 18:48:58 +0000 (UTC)
commit 869b76dd5c35a986be197d1e1c0dd05e3529c731
Author: Isaque Galdino <igaldino gmail com>
Date: Tue Feb 26 22:35:03 2019 -0300
css: Fix all text in bold
This issue seems to be a regression from commit 9220f40a. That patch
fixed the color issue, but it also made all text the same size.
That issue was fixed in WebKitGtk, so we can revert back the original
CSS with a few improvements to the style.
data/Default.css | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/data/Default.css b/data/Default.css
index 9c8f781..0a12963 100644
--- a/data/Default.css
+++ b/data/Default.css
@@ -1,15 +1,21 @@
body {
max-width: 35.0em;
- margin: 0 auto;
+ margin: -1em auto;
word-wrap: break-word;
color: black;
- background-size: 2.0em 2.0em;
line-height: 1.5em;
padding: 2.0em;
font-size: 150%;
+}
+
+body::first-line {
font-weight: bold;
}
+div {
+ margin: 0.75em 0;
+}
+
ul {
list-style-position:inside;
margin-top : 0;
@@ -24,8 +30,3 @@ ol {
padding: 0 0 0 .75em;
}
-body > div {
- margin: 0.75em 0;
- font-size: 100%;
- font-weight: normal;
-}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]