[yelp-xsl] html.xsl: Small cleanup on some note CSS



commit 9ef130bd5e6a15b5868add9956cb5cc5218e83e9
Author: Shaun McCance <shaunm gnome org>
Date:   Thu Aug 24 11:32:38 2017 -0400

    html.xsl: Small cleanup on some note CSS

 xslt/common/html.xsl |   16 ++--------------
 1 files changed, 2 insertions(+), 14 deletions(-)
---
diff --git a/xslt/common/html.xsl b/xslt/common/html.xsl
index da7cca6..68f2305 100644
--- a/xslt/common/html.xsl
+++ b/xslt/common/html.xsl
@@ -1411,24 +1411,12 @@ div.note-danger > svg .yelp-svg-fill {
   50%  { fill: </xsl:text><xsl:value-of select="$color.gray"/><xsl:text> }
   to   { fill: </xsl:text><xsl:value-of select="$color.red"/><xsl:text> }
 }
-
-
 div.note-sidebar {
   float: </xsl:text><xsl:value-of select="$right"/><xsl:text>;
-  max-width: 40%;
-  margin-</xsl:text><xsl:value-of select="$left"/><xsl:text>: 6px;
+  max-width: 206px;
+  margin-</xsl:text><xsl:value-of select="$left"/><xsl:text>: 20px;
   padding: 6px;
 }
-div.note-sidebar > div.inner { background-image: none; }
-div.note-sidebar > div.inner > div.title { margin-</xsl:text>
-  <xsl:value-of select="$left"/><xsl:text>: 0px; }
-div.note-sidebar > div.inner > div.region > div.contents { margin-</xsl:text>
-  <xsl:value-of select="$left"/><xsl:text>: 0px; }
-div.note-plain > div.inner { background-image: none; }
-div.note-plain > div.inner > div.title { margin-</xsl:text>
-  <xsl:value-of select="$left"/><xsl:text>: 0px; }
-div.note-plain > div.inner > div.region > div.contents { margin-</xsl:text>
-  <xsl:value-of select="$left"/><xsl:text>: 0px; }
 div.quote {
   padding: 0;
   min-height: </xsl:text>


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