diff options
author | Shaun McCance <shaunm@gnome.org> | 2012-01-10 14:03:54 -0500 |
---|---|---|
committer | Shaun McCance <shaunm@gnome.org> | 2012-01-10 14:03:54 -0500 |
commit | f5508d9ee6b408111bf9e133a1844cab51355e3b (patch) | |
tree | cf8aeae59f8d5222911085091756847837b6e34c | |
parent | 4f134cbcf976292c9746e9cba46891648b0b694c (diff) | |
download | yelp-xsl-f5508d9ee6b408111bf9e133a1844cab51355e3b.tar.gz |
html.xsl: Style changes, especially for About footer
-rw-r--r-- | xslt/common/html.xsl | 10 | ||||
-rw-r--r-- | xslt/mallard/html/mal2html-page.xsl | 2 |
2 files changed, 2 insertions, 10 deletions
diff --git a/xslt/common/html.xsl b/xslt/common/html.xsl index de070620..9b992d40 100644 --- a/xslt/common/html.xsl +++ b/xslt/common/html.xsl @@ -606,7 +606,7 @@ body { direction: </xsl:text><xsl:value-of select="$direction"/><xsl:text>; } div.all { - margin: 0 auto 0 auto; + margin: 1em auto 1em auto; max-width: 60em; border: solid 1px </xsl:text> <xsl:value-of select="$color.gray_border"/><xsl:text>; @@ -673,7 +673,6 @@ div.contents > *:first-child, th > *:first-child, td > *:first-child, dt > *:first-child, dd > *:first-child, li > *:first-child { margin-top: 0; } -div:first-child, pre:first-child, p:first-child { margin-top: 0; } div.inner, div.region, div.contents, pre.contents { margin-top: 0; } pre.contents div { margin-top: 0 !important; } p img { vertical-align: middle; } @@ -684,7 +683,6 @@ div.clear { } div.about { - background-color: </xsl:text><xsl:value-of select="$color.dark_background"/><xsl:text>; color: </xsl:text> <xsl:value-of select="$color.text_light"/><xsl:text>; } @@ -696,12 +694,8 @@ div.about > div.hgroup { div.about > div.hgroup > h2 { margin: 0; padding: 0.2em; font-size: inherit; - color: </xsl:text><xsl:value-of select="$color.link"/><xsl:text>; cursor: pointer; } -div.about > div.hgroup > h2:hover { - background-color: </xsl:text><xsl:value-of select="$color.blue_background"/><xsl:text>; -} div.copyrights { margin: 1em; text-align: center; @@ -714,7 +708,7 @@ div.aboutblurb { vertical-align: top; text-align: left; max-width: 20em; - margin: 1em; + margin: 0 1em 1em 1em; } ul.credits, ul.credits li { margin: 0; padding: 0; diff --git a/xslt/mallard/html/mal2html-page.xsl b/xslt/mallard/html/mal2html-page.xsl index 41e5d006..8c63ef34 100644 --- a/xslt/mallard/html/mal2html-page.xsl +++ b/xslt/mallard/html/mal2html-page.xsl @@ -862,8 +862,6 @@ ul.mouseovers a { ul.mouseovers a:hover { text-decoration: none; background: </xsl:text><xsl:value-of select="$color.blue_background"/><xsl:text>; - -webkit-box-shadow: 1px 1px 2px </xsl:text> - <xsl:value-of select="$color.blue_border"/><xsl:text>; } ul.mouseovers a img { display: none; |