[epiphany] Clean up some style in about:



commit 5476c9c2ab3e832564e4f09cf31c01799366bf45
Author: William Jon McCann <william jon mccann gmail com>
Date:   Tue Dec 31 14:10:48 2013 -0500

    Clean up some style in about:
    
    https://bugzilla.gnome.org/show_bug.cgi?id=721288

 data/pages/about.css       |   13 +++++++++++--
 embed/ephy-about-handler.c |    6 +++---
 2 files changed, 14 insertions(+), 5 deletions(-)
---
diff --git a/data/pages/about.css b/data/pages/about.css
index cf95a7d..a54f608 100644
--- a/data/pages/about.css
+++ b/data/pages/about.css
@@ -94,9 +94,17 @@ body {
 
 /* about:epiphany */
 
+.epiphany-body {
+    background-color: #3465a4;
+    background-image: none;
+    color: #eeeeec;
+    max-width: 40em;
+    margin: 2em auto;
+}
+
 #ephytext {
   margin-top: 15%;
-  font-size: 1.3em;
+  font-size: 1.5em;
   text-align: center;
 }
 
@@ -104,6 +112,7 @@ body {
   margin-top: 1em;
   font-size: 1.5em;
   text-align: right;
+  font-weight: bold;
 }
 
 /* about:memory */
@@ -164,7 +173,7 @@ body {
 .applications-body td.icon { width: 64px; }
 .applications-body td.datas { width: 200px; }
 .applications-body td.input { width: 64px; }
-.applications-body td.date { width: auto; text-align: right; font-style: italic; font-size: small; }
+.applications-body td.date { width: auto; text-align: right; font-size: small; }
 .applications-body .appname { font-weight: bold; }
 .applications-body .appurl, td.date { color: #babdb6; }
 .applications-body input { width: 100%; padding: 8px; }
diff --git a/embed/ephy-about-handler.c b/embed/ephy-about-handler.c
index b11f0a3..d3866b9 100644
--- a/embed/ephy-about-handler.c
+++ b/embed/ephy-about-handler.c
@@ -319,10 +319,10 @@ ephy_about_handler_handle_epiphany (EphyAboutHandler *handler,
   data = g_strdup_printf ("<html><head><title>%s</title>"
                           "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />"
                           "<style type=\"text/css\">%s</style></head>"
-                          "<body style=\"background: #3369FF; color: white; font-style: italic;\">"
+                          "<body class=\"epiphany-body\">"
                           "<div id=\"ephytext\">"
-                          "Il semble que la perfection soit atteinte non quand il n'y a plus rien à"
-                          " ajouter, mais quand il n'y a plus rien à retrancher."
+                          "“Il semble que la perfection soit atteinte non quand il n'y a plus rien à"
+                          " ajouter, mais quand il n'y a plus rien à retrancher.”"
                           "</div>"
                           "<div id=\"from\">"
                           "<!-- Terre des Hommes, III: L'Avion, p. 60 -->"


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