diff options
author | James Willcox <jwillcox@gnome.org> | 2003-02-22 07:13:28 +0800 |
---|---|---|
committer | James Willcox <jwillcox@src.gnome.org> | 2003-02-22 07:13:28 +0800 |
commit | 4278f80b4cd2937dac80a12c727e21be3aceae1f (patch) | |
tree | 5c2cbdcb8da6141a9802f55ba0623e5d317c337f /data | |
parent | 95620115f1a1939b0ac8cd91d22a2827abb4a741 (diff) | |
download | gsoc2013-epiphany-4278f80b4cd2937dac80a12c727e21be3aceae1f.tar gsoc2013-epiphany-4278f80b4cd2937dac80a12c727e21be3aceae1f.tar.gz gsoc2013-epiphany-4278f80b4cd2937dac80a12c727e21be3aceae1f.tar.bz2 gsoc2013-epiphany-4278f80b4cd2937dac80a12c727e21be3aceae1f.tar.lz gsoc2013-epiphany-4278f80b4cd2937dac80a12c727e21be3aceae1f.tar.xz gsoc2013-epiphany-4278f80b4cd2937dac80a12c727e21be3aceae1f.tar.zst gsoc2013-epiphany-4278f80b4cd2937dac80a12c727e21be3aceae1f.zip |
Make the start-here: page use the theme colors.
2003-02-21 James Willcox <jwillcox@gnome.org>
* data/starthere/section.xsl:
* lib/ephy-start-here.c: (color_to_string), (build_content):
Make the start-here: page use the theme colors.
Diffstat (limited to 'data')
-rw-r--r-- | data/starthere/section.css | 29 | ||||
-rw-r--r-- | data/starthere/section.xsl | 40 |
2 files changed, 39 insertions, 30 deletions
diff --git a/data/starthere/section.css b/data/starthere/section.css deleted file mode 100644 index 6b0cf8608..000000000 --- a/data/starthere/section.css +++ /dev/null @@ -1,29 +0,0 @@ -body { - margin-left: 150; - margin-right: 150; - background: #000000; - color: #FFFFFF; - font-family: Verdana, Helvetica, Arial, sans-serif; - font-size: 14px; -} - -div.topbar { - height: 25px; - padding: 7px; - color: #000000; - background-color: #e57f20; - font-weight: bold; - margin-bottom: 50; -} - -div.topbar a { - margin-right: 15; - font-size: 20px; - font-weight: bold; - color: #000000; -} - -h2 { - color: #e57f20; - font-size: 18px; -} diff --git a/data/starthere/section.xsl b/data/starthere/section.xsl index d9d9091e2..b7c6377ee 100644 --- a/data/starthere/section.xsl +++ b/data/starthere/section.xsl @@ -10,7 +10,45 @@ <xsl:template match="section"> <html> <head> - <link rel="stylesheet" href="section.css" type="text/css"/> + <style type="text/css"> + body { + margin-left: 150; + margin-right: 150; + background: <xsl:value-of select="@bg"/>; + color: <xsl:value-of select="@text"/>; + font-family: Verdana, Helvetica, Arial, sans-serif; + font-size: 14px; + } + + div.topbar { + height: 25px; + padding: 7px; + color: <xsl:value-of select="@title"/>; + background-color: <xsl:value-of select="@title-bg"/>; + font-weight: bold; + margin-bottom: 50; + } + + div.topbar a { + margin-right: 15; + font-size: 20px; + font-weight: bold; + color: <xsl:value-of select="@title"/>; + } + + h2 { + color: <xsl:value-of select="@headings"/>; + font-size: 18px; + } + + a { + color: <xsl:value-of select="@link"/> + } + + a.visited { + color: <xsl:value-of select="@link"/> + } + </style> </head> <body> <xsl:apply-templates/> |