[gnome-notes/117-notes-synced-via-nextcloud-are-all-bold: 6/6] 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: 6/6] css: Fix all text in bold
- Date: Wed, 27 Feb 2019 01:50:58 +0000 (UTC)
commit 8f0f0ae7f0d885a72eb29e1950732f236e609f2b
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]