[yelp] yelp-common.xsl: Fix trail padding for mobile rendering
- From: Shaun McCance <shaunm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp] yelp-common.xsl: Fix trail padding for mobile rendering
- Date: Sat, 21 Jan 2012 16:41:34 +0000 (UTC)
commit 5ce1d0c421380d94be97a3003698a29672926e4d
Author: Shaun McCance <shaunm gnome org>
Date: Fri Jan 20 13:38:48 2012 -0500
yelp-common.xsl: Fix trail padding for mobile rendering
data/xslt/yelp-common.xsl.in | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/data/xslt/yelp-common.xsl.in b/data/xslt/yelp-common.xsl.in
index 1ff4440..d6fc535 100644
--- a/data/xslt/yelp-common.xsl.in
+++ b/data/xslt/yelp-common.xsl.in
@@ -90,6 +90,12 @@ div.trail {
margin: 0 1em 0.2em 1em;
padding: 0;
}
+ media only screen and (max-width: 400px) {
+ div.trails {
+ padding-left: 6px;
+ padding-right: 6px;
+ }
+}
a.trail { color: </xsl:text>
<xsl:value-of select="$color.text_light"/><xsl:text>; }
a.trail:hover { text-decoration: none; color: </xsl:text>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]