[epiphany] Override the default background color on about:epiphany
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Override the default background color on about:epiphany
- Date: Thu, 27 Feb 2014 14:27:30 +0000 (UTC)
commit 2c3f72bc4d221e90ecc8474c4aa9ad0d3b3e09a6
Author: Lorenzo Tilve <ltilve igalia com>
Date: Wed Feb 26 18:27:27 2014 +0100
Override the default background color on about:epiphany
Use the original background color on about:epiphany
to fill all the page background.
https://bugzilla.gnome.org/show_bug.cgi?id=725245
embed/ephy-about-handler.c | 2 +-
src/resources/about.css | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/embed/ephy-about-handler.c b/embed/ephy-about-handler.c
index 12c4b7d..eeee07a 100644
--- a/embed/ephy-about-handler.c
+++ b/embed/ephy-about-handler.c
@@ -306,7 +306,7 @@ ephy_about_handler_handle_epiphany (EphyAboutHandler *handler,
{
char *data;
- data = g_strdup_printf ("<html><head><title>%s</title>"
+ data = g_strdup_printf ("<html class=\"epiphany-html\"><head><title>%s</title>"
"<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />"
"<link href=\""EPHY_PAGE_TEMPLATE_ABOUT_CSS"\" rel=\"stylesheet\"
type=\"text/css\">"
"</head><body class=\"epiphany-body\">"
diff --git a/src/resources/about.css b/src/resources/about.css
index 5fc8415..2594b58 100644
--- a/src/resources/about.css
+++ b/src/resources/about.css
@@ -94,9 +94,12 @@ html {
/* about:epiphany */
-.epiphany-body {
+html.epiphany-html {
background-color: #3465a4;
background-image: none;
+}
+
+.epiphany-body {
color: #eeeeec;
max-width: 40em;
margin: 2em auto;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]