From 9c9a41ce0d3773040d4b9a62c4c99c62196c418d Mon Sep 17 00:00:00 2001 From: dakkar Date: Sun, 23 Sep 2012 18:56:07 +0100 Subject: infrastructure for reviews --- additions/empty-star.svg | 78 +++++++++++++++++++++++++ additions/full-star.svg | 73 +++++++++++++++++++++++ additions/half-star.svg | 147 +++++++++++++++++++++++++++++++++++++++++++++++ additions/reviews.css | 28 +++++++++ 4 files changed, 326 insertions(+) create mode 100644 additions/empty-star.svg create mode 100644 additions/full-star.svg create mode 100644 additions/half-star.svg create mode 100644 additions/reviews.css (limited to 'additions') diff --git a/additions/empty-star.svg b/additions/empty-star.svg new file mode 100644 index 0000000..91c559d --- /dev/null +++ b/additions/empty-star.svg @@ -0,0 +1,78 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/additions/full-star.svg b/additions/full-star.svg new file mode 100644 index 0000000..1b0d05c --- /dev/null +++ b/additions/full-star.svg @@ -0,0 +1,73 @@ + + + + + + + + + + image/svg+xml + + + + + + + diff --git a/additions/half-star.svg b/additions/half-star.svg new file mode 100644 index 0000000..a129c4d --- /dev/null +++ b/additions/half-star.svg @@ -0,0 +1,147 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + diff --git a/additions/reviews.css b/additions/reviews.css new file mode 100644 index 0000000..a407673 --- /dev/null +++ b/additions/reviews.css @@ -0,0 +1,28 @@ +#original-review { + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + border-radius: 5px; + width: 80%; + border: solid 1px transparent; + position: relative; + background: #1f7a98; + color: #eeeeee; + padding: 0.2em; + margin: 0.5em auto; +} + +h2.rating { + font-size: 1em; + margin: 0.5em; + padding-left: 3em; +} + +h2.rating img { + width: 2em; + height: 2em; + margin: 0 0.2em; +} + +@media screen, print { + h2.rating span.rating-value { display: none } +} \ No newline at end of file -- cgit v1.2.3