[gnome-notes] css: Improve font and paragraph



commit fcb92bb78a61d85767e3d32ac74d18aa537fa8e1
Author: Isaque Galdino <igaldino gmail com>
Date:   Fri May 11 17:36:55 2018 -0300

    css: Improve font and paragraph
    
    Migration to webkit 2 introduced a regression in paragraphs as they
    don't have the space required by issue #39 anymore.
    
    That's because in webkit 1 paragraphs were wrapped by two div tags, but
    now in webkit 2 they are wrapped by only one.
    
    This commit fix that and it also increases note title font size to be
    just like it's shown in mockups from #52.

 data/Default.css | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/data/Default.css b/data/Default.css
index eda1108..7b41de3 100644
--- a/data/Default.css
+++ b/data/Default.css
@@ -1,10 +1,10 @@
 body {
-  margin-top:      -2em;
+  margin-top:       -1em;
   margin-left:      0;
   margin-right:     2em;
   margin-bottom:    8em;
   word-wrap:        break-word;
-
+  text-align:       justify;
   color:            black;
   background-size:  2.0em 2.0em;
   line-height:      1.5em;
@@ -12,6 +12,7 @@ body {
 }
 
 body:first-line {
+  font-size:        150%;
   font-weight:      bold;
 }
 
@@ -29,6 +30,6 @@ ol {
   padding:          0 0 0 .75em;
 }
 
-body > div > div {
+body > div {
   margin:           0.75em 0;
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]