medium-theme 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +8 -0
  3. data/README.md +23 -0
  4. data/_includes/adsense-under-header.html +12 -0
  5. data/_includes/disqus.html +14 -0
  6. data/_includes/featuredbox.html +59 -0
  7. data/_includes/pagination.html +25 -0
  8. data/_includes/postbox.html +51 -0
  9. data/_includes/search-lunr.html +21 -0
  10. data/_includes/share.html +34 -0
  11. data/_includes/star_rating.html +9 -0
  12. data/_includes/star_rating_postbox.html +9 -0
  13. data/_includes/toc.html +87 -0
  14. data/_layouts/archive.html +21 -0
  15. data/_layouts/categories.html +23 -0
  16. data/_layouts/default.html +208 -0
  17. data/_layouts/page.html +24 -0
  18. data/_layouts/post.html +181 -0
  19. data/_layouts/tags.html +23 -0
  20. data/_sass/_stars.scss +137 -0
  21. data/_sass/_starsnonscss.scss +92 -0
  22. data/_sass/_syntax.scss +69 -0
  23. data/assets/css/main.scss +13 -0
  24. data/assets/css/screen.css +901 -0
  25. data/assets/fonts/casper-icons.eot +0 -0
  26. data/assets/fonts/casper-icons.svg +19 -0
  27. data/assets/fonts/casper-icons.ttf +0 -0
  28. data/assets/fonts/casper-icons.woff +0 -0
  29. data/assets/images/1.jpg +0 -0
  30. data/assets/images/10.jpg +0 -0
  31. data/assets/images/11.jpg +0 -0
  32. data/assets/images/12.jpg +0 -0
  33. data/assets/images/13.jpg +0 -0
  34. data/assets/images/14.jpg +0 -0
  35. data/assets/images/15.jpg +0 -0
  36. data/assets/images/16.jpg +0 -0
  37. data/assets/images/17.jpg +0 -0
  38. data/assets/images/2.jpg +0 -0
  39. data/assets/images/3.jpg +0 -0
  40. data/assets/images/4.jpg +0 -0
  41. data/assets/images/5.jpg +0 -0
  42. data/assets/images/6.jpg +0 -0
  43. data/assets/images/7.jpg +0 -0
  44. data/assets/images/8.jpg +0 -0
  45. data/assets/images/9.jpg +0 -0
  46. data/assets/images/avatar.png +0 -0
  47. data/assets/images/favicon.ico +0 -0
  48. data/assets/images/jumbotron.jpg +0 -0
  49. data/assets/images/log.png +0 -0
  50. data/assets/images/logo.png +0 -0
  51. data/assets/images/mediumish-jekyll-template.png +0 -0
  52. data/assets/js/ie10-viewport-bug-workaround.js +24 -0
  53. data/assets/js/jquery.min.js +2 -0
  54. data/assets/js/lazyload.js +258 -0
  55. data/assets/js/lunr.js +2977 -0
  56. data/assets/js/lunrsearchengine.js +89 -0
  57. data/assets/js/mediumish.js +129 -0
  58. metadata +170 -0
@@ -0,0 +1,24 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+
6
+ <section>
7
+ <div class="section-title">
8
+ <h2><span>{{ page.title }}</span></h2>
9
+ </div>
10
+
11
+ <div class="article-post">
12
+ {{content}}
13
+ </div>
14
+
15
+ {% if page.comments == true %}
16
+
17
+ <div id="comments" class="row mb-5">
18
+ <div class="col-md-8">
19
+ {% include disqus.html %}
20
+ </div>
21
+ </div>
22
+
23
+ {% endif %}
24
+ </section>
@@ -0,0 +1,181 @@
1
+ ---
2
+ layout: default
3
+ disqus: false
4
+ archive: false
5
+ post_class: post-template
6
+ ---
7
+
8
+ <!-- Begin Article
9
+ ================================================== -->
10
+ <div class="container">
11
+ <div class="row">
12
+
13
+ <!-- Post Share -->
14
+ <div class="col-md-2 pl-0">
15
+ {% include share.html %}
16
+ </div>
17
+
18
+ <!-- Post -->
19
+ {% assign author = site.authors[page.author] %}
20
+
21
+ <div class="col-md-9 flex-first flex-md-unordered">
22
+ <div class="mainheading">
23
+
24
+ <!-- Author Box -->
25
+ {% if page.author %}
26
+ <div class="row post-top-meta">
27
+ <div class="col-xs-12 col-md-3 col-lg-2 text-center text-md-left mb-4 mb-md-0">
28
+ {% if author.avatar %}
29
+ <img class="author-thumb" src="{{site.baseurl}}/{{ author.avatar }}" alt="{{ author.display_name }}">
30
+ {% else %}
31
+ <img class="author-thumb" src="https://www.gravatar.com/avatar/{{ author.gravatar }}?s=250&d=mm&r=x" alt="{{ author.display_name }}">
32
+ {% endif %}
33
+ </div>
34
+ <div class="col-xs-12 col-md-9 col-lg-10 text-center text-md-left">
35
+ <a target="_blank" class="link-dark" href="{{ author.web }}">{{ author.display_name }}</a><a target="_blank" href="{{ author.twitter }}" class="btn follow">Follow</a>
36
+ <span class="author-description">{{ author.description }}</span>
37
+ </div>
38
+ </div>
39
+ {% endif %}
40
+
41
+ <!-- Post Title -->
42
+ <h1 class="posttitle">{{ page.title }}</h1>
43
+
44
+ </div>
45
+
46
+ <!-- Adsense if enabled from _config.yml (change your pub id and slot) -->
47
+ {% if site.adsense == "enabled" %}
48
+ {% include adsense-under-header.html %}
49
+ {% endif %}
50
+ <!-- End Adsense -->
51
+
52
+ <!-- Post Featured Image -->
53
+ {% if page.image %}
54
+
55
+ {% if site.lazyimages == "enabled" %}
56
+ <img class="featured-image img-fluid lazyimg" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAACCAQAAAA3fa6RAAAADklEQVR42mNkAANGCAUAACMAA2w/AMgAAAAASUVORK5CYII=" data-src="{% if page.image contains "://" %}{{ page.image }}{% else %}{{ site.baseurl }}/{{ page.image }}{% endif %}" alt="{{ page.title }}">
57
+ {% else %}
58
+ <img class="featured-image img-fluid" src="{% if page.image contains "://" %}{{ page.image }}{% else %}{{ site.baseurl }}/{{ page.image }}{% endif %}" alt="{{ page.title }}">
59
+ {% endif %}
60
+
61
+ {% endif %}
62
+ <!-- End Featured Image -->
63
+
64
+ <!-- Post Content -->
65
+ <div class="article-post">
66
+ <!-- Toc if any -->
67
+ {% if page.toc %}
68
+ {% if page.beforetoc %}
69
+ <p><em>{{page.beforetoc}}</em></p>
70
+ {% endif %}
71
+ <div class="toc mt-4 mb-4 lead">
72
+ <h3 class="font-weight-bold">Summary</h3>
73
+ {% include toc.html html=content %}
74
+ </div>
75
+ {% endif %}
76
+ <!-- End Toc -->
77
+ {{content}}
78
+ </div>
79
+
80
+ <!-- Rating -->
81
+ {% if page.rating %}
82
+ <div class="rating mb-4 d-flex align-items-center">
83
+ <strong class="mr-1">Rating:</strong> {% include star_rating.html %}
84
+ </div>
85
+ {% endif %}
86
+
87
+ <!-- Post Date -->
88
+ <p>
89
+ <small>
90
+ <span class="post-date"><time class="post-date" datetime="{{ page.date | date:"%Y-%m-%d" }}">{{ page.date | date_to_string }}</time></span>
91
+ {% if page.last_modified_at %}
92
+ (Updated: <time datetime="{{ page.last_modified_at | date_to_xmlschema }}" itemprop="dateModified">{{ page.last_modified_at | date: "%b %-d, %Y" }}</time>)
93
+ {% endif %}
94
+ </small>
95
+ </p>
96
+
97
+ <!-- Post Categories -->
98
+ <div class="after-post-cats">
99
+ <ul class="tags mb-4">
100
+ {% assign sortedCategories = page.categories | sort %}
101
+ {% for category in sortedCategories %}
102
+ <li>
103
+ <a class="smoothscroll" href="{{site.baseurl}}/categories#{{ category | replace: " ","-" }}">{{ category }}</a>
104
+ </li>
105
+ {% endfor %}
106
+ </ul>
107
+ </div>
108
+ <!-- End Categories -->
109
+
110
+ <!-- Post Tags -->
111
+ <div class="after-post-tags">
112
+ <ul class="tags">
113
+ {% assign sortedTags = page.tags | sort %}
114
+ {% for tag in sortedTags %}
115
+ <li>
116
+ <a class="smoothscroll" href="{{site.baseurl}}/tags#{{ tag | replace: " ","-" }}">#{{ tag }}</a>
117
+ </li>
118
+ {% endfor %}
119
+ </ul>
120
+ </div>
121
+ <!-- End Tags -->
122
+
123
+ <!-- Prev/Next -->
124
+ <div class="row PageNavigation d-flex justify-content-between font-weight-bold">
125
+ {% if page.previous.url %}
126
+ <a class="prev d-block col-md-6" href="{{ site.baseurl }}/{{page.previous.url}}"> &laquo; {{page.previous.title}}</a>
127
+ {% endif %}
128
+ {% if page.next.url %}
129
+ <a class="next d-block col-md-6 text-lg-right" href="{{ site.baseurl }}/{{page.next.url}}">{{page.next.title}} &raquo; </a>
130
+ {% endif %}
131
+ <div class="clearfix"></div>
132
+ </div>
133
+ <!-- End Categories -->
134
+
135
+ </div>
136
+ <!-- End Post -->
137
+
138
+ </div>
139
+ </div>
140
+ <!-- End Article
141
+ ================================================== -->
142
+
143
+ <!-- Begin Comments
144
+ ================================================== -->
145
+ {% if page.comments != false %}
146
+ <div class="container">
147
+ <div id="comments" class="row justify-content-center mb-5">
148
+ <div class="col-md-8">
149
+ {% include disqus.html %}
150
+ </div>
151
+ </div>
152
+ </div>
153
+ {% endif %}
154
+ <!--End Comments
155
+ ================================================== -->
156
+
157
+ <!-- Review with LD-JSON, adapt it for your needs if you like, but make sure you test the generated HTML source code first:
158
+ https://search.google.com/structured-data/testing-tool/u/0/
159
+ ================================================== -->
160
+ {% if page.rating %}
161
+ <script type="application/ld+json">
162
+ {
163
+ "@context": "http://schema.org/",
164
+ "@type": "Review",
165
+ "itemReviewed": {
166
+ "@type": "Thing",
167
+ "name": "{{ page.title }}"
168
+ },
169
+ "author": {
170
+ "@type": "Person",
171
+ "name": "{{ author.display_name }}"
172
+ },
173
+ "datePublished": "{{ page.date | date:"%Y-%m-%d" }}",
174
+ "reviewRating": {
175
+ "@type": "Rating",
176
+ "ratingValue": "{{ page.rating }}",
177
+ "bestRating": "5"
178
+ }
179
+ }
180
+ </script>
181
+ {% endif %}
@@ -0,0 +1,23 @@
1
+ ---
2
+ title: "Tags"
3
+ layout: default
4
+ permalink: "/tags.html"
5
+ ---
6
+
7
+ <div class="row listrecent">
8
+ {% for tag in site.tags %}
9
+ <div class="section-title col-md-12 mt-4">
10
+ <h2 id="{{ tag[0] | replace: " ","-" }}">Tag <span class="text-capitalize">{{ tag[0] }}</span></h2>
11
+ </div>
12
+ {% assign pages_list = tag[1] %}
13
+ {% for post in pages_list %}
14
+ {% if post.title != null %}
15
+ {% if group == null or group == post.group %}
16
+ {% include postbox.html %}
17
+ {% endif %}
18
+ {% endif %}
19
+ {% endfor %}
20
+ {% assign pages_list = nil %}
21
+ {% assign group = nil %}
22
+ {% endfor %}
23
+ </div>
data/_sass/_stars.scss ADDED
@@ -0,0 +1,137 @@
1
+ /// Credits to https://codepen.io/damianmuti/pen/KmEMdR
2
+
3
+ ///
4
+ $rating-min-value: 0 !default;
5
+ ///
6
+ $rating-max-value: 5 !default;
7
+ ///
8
+ $rating-steps-value: .25 !default;
9
+ ///
10
+ $rating-color-empty: '%23ddd' !default;
11
+ ///
12
+ $rating-color-full: gold !default;
13
+ ///
14
+ $rating-color-hover: grey !default;
15
+ /// This variable is a map containing the "d" attribute of each of the SVG icons
16
+ $rating-icons-paths: (
17
+ quarter: 'M196.208 415.2v-224.8l-139.504 20.272 100.944 98.384-23.84 138.928z',
18
+ half: 'M258.672 64l-62.384 126.4-139.504 20.272 100.944 98.384-23.84 138.928 124.768-65.6v-318.4z',
19
+ three-quarters: 'M321.616 190.496l-0.656-0.096-62.384-126.4-62.384 126.4-139.504 20.272 100.944 98.384-23.84 138.928 124.768-65.6 63.024 33.136z',
20
+ full: 'M457.888 210.672l-139.504-20.272-62.384-126.4-62.384 126.4-139.504 20.272 100.944 98.384-23.84 138.928 124.768-65.6 124.768 65.6-23.84-138.928c0 0 100.944-98.384 100.944-98.384z'
21
+ );
22
+
23
+ /// Creates a dynamic list of values that increment each .25 from 0 to 5
24
+ /// @return {list}
25
+ @function rating-values() {
26
+ $rating-values: ();
27
+
28
+ @for $i from $rating-min-value through ($rating-max-value / $rating-steps-value) {
29
+ $rating-value: abs($i * $rating-steps-value);
30
+ $rating-values: append($rating-values, $rating-value, 'comma');
31
+ }
32
+
33
+ @return $rating-values;
34
+ }
35
+
36
+ /// Generates an SVG with a given fill color depending on the type of icon passed as parameter. The SVG string is scaped for cross-browser support.
37
+ /// @param {string} $icon - Type of icon. Accepted values: `quarter`, `half`, `three-quarters` or `full`.
38
+ /// @param {color} $color - Passes the fill color of the SVG icon that is being generated. Note: Hexa color values must be escaped for cross-browser support.
39
+ /// @return {string} background value.
40
+ @function get-icon($icon, $color) {
41
+ @if not index(quarter half three-quarters full, $icon) {
42
+ @error "Interaction type must be either `quarter`, `half`, `three-quarters` or `full`.";
43
+ }
44
+
45
+ @return url('data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22' + $color + '%22%20d%3D%22' + map-get($rating-icons-paths, $icon) + '%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E') center / cover no-repeat;
46
+ }
47
+
48
+ /// This is a CSS-only star rating component that shows the proper rating depending on a data-attribute value. JS logic behind this component should round up values per quarter.
49
+ /// @param {number} $star-size [20px] - Provides width and height for each of the stars.
50
+ /// @param {string} $rating-element [button] - Element to use for each of the stars.
51
+ /// @param {string} $interaction-type [representative] - Indicates whether this component should be clickable or representative. Accepted values: `clickable` or `representative`.
52
+ /// @example scss
53
+ /// .class {
54
+ /// c-rating(toem(20px), button, clickable);
55
+ /// }
56
+ /// @example markup
57
+ /// <div class="c-rating" data-rating-value="3.25">
58
+ /// <span>1</span>
59
+ /// <span>2</span>
60
+ /// <span>3</span>
61
+ /// <span>4</span>
62
+ /// <span>5</span>
63
+ /// </div>
64
+ @mixin c-rating($star-size: 20px, $star-element: button, $interaction-type: representative) {
65
+ @if not index(clickable representative, $interaction-type) {
66
+ @error "Interaction type must be either `clickable` or `representative`.";
67
+ }
68
+
69
+ #{$star-element} {
70
+ display: inline-block;
71
+ float: left;
72
+ width: $star-size;
73
+ height: $star-size;
74
+ border: 0;
75
+ text-indent: -9999px;
76
+ outline: none;
77
+ background: get-icon(full, $rating-color-empty);
78
+
79
+ }
80
+
81
+ @each $rating-value in rating-values() {
82
+ // Get the next higher integer.
83
+ $rating-value-ceil: ceil($rating-value);
84
+
85
+ &[data-rating-value="#{$rating-value}"] {
86
+ #{$star-element}:nth-child(-n+#{$rating-value-ceil}) {
87
+ background: get-icon(full, $rating-color-full);
88
+ }
89
+
90
+ #{$star-element}:nth-child(#{$rating-value-ceil}) {
91
+ // Evaluate which fraction of a star this value is and add the proper background
92
+ @if str-slice("#{$rating-value}", 2, 4) == '.25' {
93
+ background: get-icon(quarter, $rating-color-full), get-icon(full, $rating-color-empty)
94
+ }
95
+ @else if str-slice("#{$rating-value}", 2, 4) == '.5' {
96
+ background: get-icon(half, $rating-color-full), get-icon(full, $rating-color-empty)
97
+ }
98
+ @else if str-slice("#{$rating-value}", 2, 4) == '.75' {
99
+ background: get-icon(three-quarters, $rating-color-full), get-icon(full, $rating-color-empty)
100
+ }
101
+ }
102
+ }
103
+ }
104
+ }
105
+
106
+ /// Convert to EMs function
107
+ /// @param {number} target - The value to be converted
108
+ /// @param {number} context [$msuxf-font-size] The base font size
109
+ /// @return {em} value
110
+ @function toem($target, $context: 16px) {
111
+ @if $target == 0 {
112
+ @return 0
113
+ }
114
+
115
+ @return $target / $context+0em;
116
+ }
117
+
118
+
119
+ .rating-holder {
120
+ font-size: 16px;
121
+ display: inline-block;
122
+ background-color: #fff;
123
+ border-radius: toem(25px);
124
+ box-sizing: border-box;
125
+ }
126
+
127
+ .c-rating {
128
+ @include c-rating(toem(20px), button, clickable);
129
+
130
+ &--small {
131
+ font-size: 50%
132
+ }
133
+
134
+ &--big {
135
+ font-size: 150%;
136
+ }
137
+ }
@@ -0,0 +1,92 @@
1
+ .rating-holder {
2
+ font-size: 16px;
3
+ display: inline-block;
4
+ background-color: #fff;
5
+ border-radius: 1.5625em;
6
+ box-sizing: border-box; }
7
+
8
+ .c-rating button {
9
+ display: inline-block;
10
+ float: left;
11
+ width: 1.25em;
12
+ height: 1.25em;
13
+ border: 0;
14
+ text-indent: -9999px;
15
+ outline: none;
16
+ background: url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22%23ddd%22%20d%3D%22M457.888 210.672l-139.504-20.272-62.384-126.4-62.384 126.4-139.504 20.272 100.944 98.384-23.84 138.928 124.768-65.6 124.768 65.6-23.84-138.928c0 0 100.944-98.384 100.944-98.384z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat; }
17
+ .c-rating[data-rating-value="0"] button:nth-child(-n+0) {
18
+ background: url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22gold%22%20d%3D%22M457.888 210.672l-139.504-20.272-62.384-126.4-62.384 126.4-139.504 20.272 100.944 98.384-23.84 138.928 124.768-65.6 124.768 65.6-23.84-138.928c0 0 100.944-98.384 100.944-98.384z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat; }
19
+ .c-rating[data-rating-value="0.25"] button:nth-child(-n+1) {
20
+ background: url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22gold%22%20d%3D%22M457.888 210.672l-139.504-20.272-62.384-126.4-62.384 126.4-139.504 20.272 100.944 98.384-23.84 138.928 124.768-65.6 124.768 65.6-23.84-138.928c0 0 100.944-98.384 100.944-98.384z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat; }
21
+ .c-rating[data-rating-value="0.25"] button:nth-child(1) {
22
+ background: url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22gold%22%20d%3D%22M196.208 415.2v-224.8l-139.504 20.272 100.944 98.384-23.84 138.928z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat, url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22%23ddd%22%20d%3D%22M457.888 210.672l-139.504-20.272-62.384-126.4-62.384 126.4-139.504 20.272 100.944 98.384-23.84 138.928 124.768-65.6 124.768 65.6-23.84-138.928c0 0 100.944-98.384 100.944-98.384z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat; }
23
+ .c-rating[data-rating-value="0.5"] button:nth-child(-n+1) {
24
+ background: url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22gold%22%20d%3D%22M457.888 210.672l-139.504-20.272-62.384-126.4-62.384 126.4-139.504 20.272 100.944 98.384-23.84 138.928 124.768-65.6 124.768 65.6-23.84-138.928c0 0 100.944-98.384 100.944-98.384z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat; }
25
+ .c-rating[data-rating-value="0.5"] button:nth-child(1) {
26
+ background: url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22gold%22%20d%3D%22M258.672 64l-62.384 126.4-139.504 20.272 100.944 98.384-23.84 138.928 124.768-65.6v-318.4z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat, url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22%23ddd%22%20d%3D%22M457.888 210.672l-139.504-20.272-62.384-126.4-62.384 126.4-139.504 20.272 100.944 98.384-23.84 138.928 124.768-65.6 124.768 65.6-23.84-138.928c0 0 100.944-98.384 100.944-98.384z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat; }
27
+ .c-rating[data-rating-value="0.75"] button:nth-child(-n+1) {
28
+ background: url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22gold%22%20d%3D%22M457.888 210.672l-139.504-20.272-62.384-126.4-62.384 126.4-139.504 20.272 100.944 98.384-23.84 138.928 124.768-65.6 124.768 65.6-23.84-138.928c0 0 100.944-98.384 100.944-98.384z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat; }
29
+ .c-rating[data-rating-value="0.75"] button:nth-child(1) {
30
+ background: url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22gold%22%20d%3D%22M321.616 190.496l-0.656-0.096-62.384-126.4-62.384 126.4-139.504 20.272 100.944 98.384-23.84 138.928 124.768-65.6 63.024 33.136z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat, url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22%23ddd%22%20d%3D%22M457.888 210.672l-139.504-20.272-62.384-126.4-62.384 126.4-139.504 20.272 100.944 98.384-23.84 138.928 124.768-65.6 124.768 65.6-23.84-138.928c0 0 100.944-98.384 100.944-98.384z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat; }
31
+ .c-rating[data-rating-value="1"] button:nth-child(-n+1) {
32
+ background: url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22gold%22%20d%3D%22M457.888 210.672l-139.504-20.272-62.384-126.4-62.384 126.4-139.504 20.272 100.944 98.384-23.84 138.928 124.768-65.6 124.768 65.6-23.84-138.928c0 0 100.944-98.384 100.944-98.384z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat; }
33
+ .c-rating[data-rating-value="1.25"] button:nth-child(-n+2) {
34
+ background: url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22gold%22%20d%3D%22M457.888 210.672l-139.504-20.272-62.384-126.4-62.384 126.4-139.504 20.272 100.944 98.384-23.84 138.928 124.768-65.6 124.768 65.6-23.84-138.928c0 0 100.944-98.384 100.944-98.384z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat; }
35
+ .c-rating[data-rating-value="1.25"] button:nth-child(2) {
36
+ background: url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22gold%22%20d%3D%22M196.208 415.2v-224.8l-139.504 20.272 100.944 98.384-23.84 138.928z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat, url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22%23ddd%22%20d%3D%22M457.888 210.672l-139.504-20.272-62.384-126.4-62.384 126.4-139.504 20.272 100.944 98.384-23.84 138.928 124.768-65.6 124.768 65.6-23.84-138.928c0 0 100.944-98.384 100.944-98.384z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat; }
37
+ .c-rating[data-rating-value="1.5"] button:nth-child(-n+2) {
38
+ background: url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22gold%22%20d%3D%22M457.888 210.672l-139.504-20.272-62.384-126.4-62.384 126.4-139.504 20.272 100.944 98.384-23.84 138.928 124.768-65.6 124.768 65.6-23.84-138.928c0 0 100.944-98.384 100.944-98.384z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat; }
39
+ .c-rating[data-rating-value="1.5"] button:nth-child(2) {
40
+ background: url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22gold%22%20d%3D%22M258.672 64l-62.384 126.4-139.504 20.272 100.944 98.384-23.84 138.928 124.768-65.6v-318.4z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat, url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22%23ddd%22%20d%3D%22M457.888 210.672l-139.504-20.272-62.384-126.4-62.384 126.4-139.504 20.272 100.944 98.384-23.84 138.928 124.768-65.6 124.768 65.6-23.84-138.928c0 0 100.944-98.384 100.944-98.384z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat; }
41
+ .c-rating[data-rating-value="1.75"] button:nth-child(-n+2) {
42
+ background: url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22gold%22%20d%3D%22M457.888 210.672l-139.504-20.272-62.384-126.4-62.384 126.4-139.504 20.272 100.944 98.384-23.84 138.928 124.768-65.6 124.768 65.6-23.84-138.928c0 0 100.944-98.384 100.944-98.384z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat; }
43
+ .c-rating[data-rating-value="1.75"] button:nth-child(2) {
44
+ background: url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22gold%22%20d%3D%22M321.616 190.496l-0.656-0.096-62.384-126.4-62.384 126.4-139.504 20.272 100.944 98.384-23.84 138.928 124.768-65.6 63.024 33.136z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat, url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22%23ddd%22%20d%3D%22M457.888 210.672l-139.504-20.272-62.384-126.4-62.384 126.4-139.504 20.272 100.944 98.384-23.84 138.928 124.768-65.6 124.768 65.6-23.84-138.928c0 0 100.944-98.384 100.944-98.384z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat; }
45
+ .c-rating[data-rating-value="2"] button:nth-child(-n+2) {
46
+ background: url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22gold%22%20d%3D%22M457.888 210.672l-139.504-20.272-62.384-126.4-62.384 126.4-139.504 20.272 100.944 98.384-23.84 138.928 124.768-65.6 124.768 65.6-23.84-138.928c0 0 100.944-98.384 100.944-98.384z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat; }
47
+ .c-rating[data-rating-value="2.25"] button:nth-child(-n+3) {
48
+ background: url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22gold%22%20d%3D%22M457.888 210.672l-139.504-20.272-62.384-126.4-62.384 126.4-139.504 20.272 100.944 98.384-23.84 138.928 124.768-65.6 124.768 65.6-23.84-138.928c0 0 100.944-98.384 100.944-98.384z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat; }
49
+ .c-rating[data-rating-value="2.25"] button:nth-child(3) {
50
+ background: url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22gold%22%20d%3D%22M196.208 415.2v-224.8l-139.504 20.272 100.944 98.384-23.84 138.928z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat, url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22%23ddd%22%20d%3D%22M457.888 210.672l-139.504-20.272-62.384-126.4-62.384 126.4-139.504 20.272 100.944 98.384-23.84 138.928 124.768-65.6 124.768 65.6-23.84-138.928c0 0 100.944-98.384 100.944-98.384z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat; }
51
+ .c-rating[data-rating-value="2.5"] button:nth-child(-n+3) {
52
+ background: url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22gold%22%20d%3D%22M457.888 210.672l-139.504-20.272-62.384-126.4-62.384 126.4-139.504 20.272 100.944 98.384-23.84 138.928 124.768-65.6 124.768 65.6-23.84-138.928c0 0 100.944-98.384 100.944-98.384z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat; }
53
+ .c-rating[data-rating-value="2.5"] button:nth-child(3) {
54
+ background: url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22gold%22%20d%3D%22M258.672 64l-62.384 126.4-139.504 20.272 100.944 98.384-23.84 138.928 124.768-65.6v-318.4z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat, url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22%23ddd%22%20d%3D%22M457.888 210.672l-139.504-20.272-62.384-126.4-62.384 126.4-139.504 20.272 100.944 98.384-23.84 138.928 124.768-65.6 124.768 65.6-23.84-138.928c0 0 100.944-98.384 100.944-98.384z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat; }
55
+ .c-rating[data-rating-value="2.75"] button:nth-child(-n+3) {
56
+ background: url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22gold%22%20d%3D%22M457.888 210.672l-139.504-20.272-62.384-126.4-62.384 126.4-139.504 20.272 100.944 98.384-23.84 138.928 124.768-65.6 124.768 65.6-23.84-138.928c0 0 100.944-98.384 100.944-98.384z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat; }
57
+ .c-rating[data-rating-value="2.75"] button:nth-child(3) {
58
+ background: url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22gold%22%20d%3D%22M321.616 190.496l-0.656-0.096-62.384-126.4-62.384 126.4-139.504 20.272 100.944 98.384-23.84 138.928 124.768-65.6 63.024 33.136z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat, url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22%23ddd%22%20d%3D%22M457.888 210.672l-139.504-20.272-62.384-126.4-62.384 126.4-139.504 20.272 100.944 98.384-23.84 138.928 124.768-65.6 124.768 65.6-23.84-138.928c0 0 100.944-98.384 100.944-98.384z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat; }
59
+ .c-rating[data-rating-value="3"] button:nth-child(-n+3) {
60
+ background: url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22gold%22%20d%3D%22M457.888 210.672l-139.504-20.272-62.384-126.4-62.384 126.4-139.504 20.272 100.944 98.384-23.84 138.928 124.768-65.6 124.768 65.6-23.84-138.928c0 0 100.944-98.384 100.944-98.384z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat; }
61
+ .c-rating[data-rating-value="3.25"] button:nth-child(-n+4) {
62
+ background: url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22gold%22%20d%3D%22M457.888 210.672l-139.504-20.272-62.384-126.4-62.384 126.4-139.504 20.272 100.944 98.384-23.84 138.928 124.768-65.6 124.768 65.6-23.84-138.928c0 0 100.944-98.384 100.944-98.384z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat; }
63
+ .c-rating[data-rating-value="3.25"] button:nth-child(4) {
64
+ background: url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22gold%22%20d%3D%22M196.208 415.2v-224.8l-139.504 20.272 100.944 98.384-23.84 138.928z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat, url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22%23ddd%22%20d%3D%22M457.888 210.672l-139.504-20.272-62.384-126.4-62.384 126.4-139.504 20.272 100.944 98.384-23.84 138.928 124.768-65.6 124.768 65.6-23.84-138.928c0 0 100.944-98.384 100.944-98.384z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat; }
65
+ .c-rating[data-rating-value="3.5"] button:nth-child(-n+4) {
66
+ background: url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22gold%22%20d%3D%22M457.888 210.672l-139.504-20.272-62.384-126.4-62.384 126.4-139.504 20.272 100.944 98.384-23.84 138.928 124.768-65.6 124.768 65.6-23.84-138.928c0 0 100.944-98.384 100.944-98.384z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat; }
67
+ .c-rating[data-rating-value="3.5"] button:nth-child(4) {
68
+ background: url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22gold%22%20d%3D%22M258.672 64l-62.384 126.4-139.504 20.272 100.944 98.384-23.84 138.928 124.768-65.6v-318.4z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat, url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22%23ddd%22%20d%3D%22M457.888 210.672l-139.504-20.272-62.384-126.4-62.384 126.4-139.504 20.272 100.944 98.384-23.84 138.928 124.768-65.6 124.768 65.6-23.84-138.928c0 0 100.944-98.384 100.944-98.384z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat; }
69
+ .c-rating[data-rating-value="3.75"] button:nth-child(-n+4) {
70
+ background: url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22gold%22%20d%3D%22M457.888 210.672l-139.504-20.272-62.384-126.4-62.384 126.4-139.504 20.272 100.944 98.384-23.84 138.928 124.768-65.6 124.768 65.6-23.84-138.928c0 0 100.944-98.384 100.944-98.384z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat; }
71
+ .c-rating[data-rating-value="3.75"] button:nth-child(4) {
72
+ background: url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22gold%22%20d%3D%22M321.616 190.496l-0.656-0.096-62.384-126.4-62.384 126.4-139.504 20.272 100.944 98.384-23.84 138.928 124.768-65.6 63.024 33.136z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat, url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22%23ddd%22%20d%3D%22M457.888 210.672l-139.504-20.272-62.384-126.4-62.384 126.4-139.504 20.272 100.944 98.384-23.84 138.928 124.768-65.6 124.768 65.6-23.84-138.928c0 0 100.944-98.384 100.944-98.384z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat; }
73
+ .c-rating[data-rating-value="4"] button:nth-child(-n+4) {
74
+ background: url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22gold%22%20d%3D%22M457.888 210.672l-139.504-20.272-62.384-126.4-62.384 126.4-139.504 20.272 100.944 98.384-23.84 138.928 124.768-65.6 124.768 65.6-23.84-138.928c0 0 100.944-98.384 100.944-98.384z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat; }
75
+ .c-rating[data-rating-value="4.25"] button:nth-child(-n+5) {
76
+ background: url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22gold%22%20d%3D%22M457.888 210.672l-139.504-20.272-62.384-126.4-62.384 126.4-139.504 20.272 100.944 98.384-23.84 138.928 124.768-65.6 124.768 65.6-23.84-138.928c0 0 100.944-98.384 100.944-98.384z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat; }
77
+ .c-rating[data-rating-value="4.25"] button:nth-child(5) {
78
+ background: url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22gold%22%20d%3D%22M196.208 415.2v-224.8l-139.504 20.272 100.944 98.384-23.84 138.928z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat, url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22%23ddd%22%20d%3D%22M457.888 210.672l-139.504-20.272-62.384-126.4-62.384 126.4-139.504 20.272 100.944 98.384-23.84 138.928 124.768-65.6 124.768 65.6-23.84-138.928c0 0 100.944-98.384 100.944-98.384z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat; }
79
+ .c-rating[data-rating-value="4.5"] button:nth-child(-n+5) {
80
+ background: url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22gold%22%20d%3D%22M457.888 210.672l-139.504-20.272-62.384-126.4-62.384 126.4-139.504 20.272 100.944 98.384-23.84 138.928 124.768-65.6 124.768 65.6-23.84-138.928c0 0 100.944-98.384 100.944-98.384z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat; }
81
+ .c-rating[data-rating-value="4.5"] button:nth-child(5) {
82
+ background: url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22gold%22%20d%3D%22M258.672 64l-62.384 126.4-139.504 20.272 100.944 98.384-23.84 138.928 124.768-65.6v-318.4z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat, url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22%23ddd%22%20d%3D%22M457.888 210.672l-139.504-20.272-62.384-126.4-62.384 126.4-139.504 20.272 100.944 98.384-23.84 138.928 124.768-65.6 124.768 65.6-23.84-138.928c0 0 100.944-98.384 100.944-98.384z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat; }
83
+ .c-rating[data-rating-value="4.75"] button:nth-child(-n+5) {
84
+ background: url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22gold%22%20d%3D%22M457.888 210.672l-139.504-20.272-62.384-126.4-62.384 126.4-139.504 20.272 100.944 98.384-23.84 138.928 124.768-65.6 124.768 65.6-23.84-138.928c0 0 100.944-98.384 100.944-98.384z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat; }
85
+ .c-rating[data-rating-value="4.75"] button:nth-child(5) {
86
+ background: url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22gold%22%20d%3D%22M321.616 190.496l-0.656-0.096-62.384-126.4-62.384 126.4-139.504 20.272 100.944 98.384-23.84 138.928 124.768-65.6 63.024 33.136z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat, url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22%23ddd%22%20d%3D%22M457.888 210.672l-139.504-20.272-62.384-126.4-62.384 126.4-139.504 20.272 100.944 98.384-23.84 138.928 124.768-65.6 124.768 65.6-23.84-138.928c0 0 100.944-98.384 100.944-98.384z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat; }
87
+ .c-rating[data-rating-value="5"] button:nth-child(-n+5) {
88
+ background: url("data:image/svg+xml;utf8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%22512%22%20height%3D%22512%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22gold%22%20d%3D%22M457.888 210.672l-139.504-20.272-62.384-126.4-62.384 126.4-139.504 20.272 100.944 98.384-23.84 138.928 124.768-65.6 124.768 65.6-23.84-138.928c0 0 100.944-98.384 100.944-98.384z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center/cover no-repeat; }
89
+ .c-rating--small {
90
+ font-size: 50%; }
91
+ .c-rating--big {
92
+ font-size: 150%; }
@@ -0,0 +1,69 @@
1
+
2
+ .highlight {
3
+ background: #fff;
4
+ border: 0;
5
+ padding: 0;
6
+ margin-bottom:1.7rem;
7
+ .c { color: #999988; font-style: italic } /* Comment */
8
+ .err { color: #a61717; background-color: #e3d2d2 } /* Error */
9
+ .k { font-weight: bold } /* Keyword */
10
+ .o { font-weight: bold } /* Operator */
11
+ .cm { color: #999988; font-style: italic } /* Comment.Multiline */
12
+ .cp { color: #999999; font-weight: bold } /* Comment.Preproc */
13
+ .c1 { color: #999988; font-style: italic } /* Comment.Single */
14
+ .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
15
+ .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
16
+ .gd .x { color: #000000; background-color: #ffaaaa } /* Generic.Deleted.Specific */
17
+ .ge { font-style: italic } /* Generic.Emph */
18
+ .gr { color: #aa0000 } /* Generic.Error */
19
+ .gh { color: #999999 } /* Generic.Heading */
20
+ .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
21
+ .gi .x { color: #000000; background-color: #aaffaa } /* Generic.Inserted.Specific */
22
+ .go { color: #888888 } /* Generic.Output */
23
+ .gp { color: #555555 } /* Generic.Prompt */
24
+ .gs { font-weight: bold } /* Generic.Strong */
25
+ .gu { color: #aaaaaa } /* Generic.Subheading */
26
+ .gt { color: #aa0000 } /* Generic.Traceback */
27
+ .kc { font-weight: bold } /* Keyword.Constant */
28
+ .kd { font-weight: bold } /* Keyword.Declaration */
29
+ .kp { font-weight: bold } /* Keyword.Pseudo */
30
+ .kr { font-weight: bold } /* Keyword.Reserved */
31
+ .kt { color: #445588; font-weight: bold } /* Keyword.Type */
32
+ .m { color: #009999 } /* Literal.Number */
33
+ .s { color: #d14 } /* Literal.String */
34
+ .na { color: #008080 } /* Name.Attribute */
35
+ .nb { color: #0086B3 } /* Name.Builtin */
36
+ .nc { color: #445588; font-weight: bold } /* Name.Class */
37
+ .no { color: #008080 } /* Name.Constant */
38
+ .ni { color: #800080 } /* Name.Entity */
39
+ .ne { color: #990000; font-weight: bold } /* Name.Exception */
40
+ .nf { color: #990000; font-weight: bold } /* Name.Function */
41
+ .nn { color: #555555 } /* Name.Namespace */
42
+ .nt { color: #000080 } /* Name.Tag */
43
+ .nv { color: #008080 } /* Name.Variable */
44
+ .ow { font-weight: bold } /* Operator.Word */
45
+ .w { color: #bbbbbb } /* Text.Whitespace */
46
+ .mf { color: #009999 } /* Literal.Number.Float */
47
+ .mh { color: #009999 } /* Literal.Number.Hex */
48
+ .mi { color: #009999 } /* Literal.Number.Integer */
49
+ .mo { color: #009999 } /* Literal.Number.Oct */
50
+ .sb { color: #d14 } /* Literal.String.Backtick */
51
+ .sc { color: #d14 } /* Literal.String.Char */
52
+ .sd { color: #d14 } /* Literal.String.Doc */
53
+ .s2 { color: #d14 } /* Literal.String.Double */
54
+ .se { color: #d14 } /* Literal.String.Escape */
55
+ .sh { color: #d14 } /* Literal.String.Heredoc */
56
+ .si { color: #d14 } /* Literal.String.Interpol */
57
+ .sx { color: #d14 } /* Literal.String.Other */
58
+ .sr { color: #009926 } /* Literal.String.Regex */
59
+ .s1 { color: #d14 } /* Literal.String.Single */
60
+ .ss { color: #990073 } /* Literal.String.Symbol */
61
+ .bp { color: #999999 } /* Name.Builtin.Pseudo */
62
+ .vc { color: #008080 } /* Name.Variable.Class */
63
+ .vg { color: #008080 } /* Name.Variable.Global */
64
+ .vi { color: #008080 } /* Name.Variable.Instance */
65
+ .il { color: #009999 } /* Literal.Number.Integer.Long */
66
+ }
67
+
68
+ td.rouge-code { width: 100%;}
69
+ pre.lineno { color: #9999;}
@@ -0,0 +1,13 @@
1
+ ---
2
+ # Add a comment to make this file sass-y.
3
+ # Change this file for any custom CSS.
4
+ ---
5
+
6
+ // Use partials from `sass_dir` (defaults to `_sass`)
7
+ @use "syntax";
8
+ @use "starsnonscss";
9
+
10
+ /* We need to add display:inline in order to align the '>>' of the 'read more' link */
11
+ .post-excerpt p {
12
+ display:inline;
13
+ }