Commit e0df815cfb52441b1015fcac0a677ae53d322d86
1 parent
4b5c732d
Exists in
master
and in
1 other branch
Improve badge stars layout
Showing
1 changed file
with
7 additions
and
2 deletions
Show diff stats
public/style.css
@@ -204,12 +204,17 @@ | @@ -204,12 +204,17 @@ | ||
204 | .rating > span { | 204 | .rating > span { |
205 | display: inline-block; | 205 | display: inline-block; |
206 | position: relative; | 206 | position: relative; |
207 | - font-size: 20px; | 207 | + font-size: 32px; |
208 | width: 1.1em; | 208 | width: 1.1em; |
209 | bottom: 0px; | 209 | bottom: 0px; |
210 | + margin: 0 -7px; | ||
211 | + color: #C0C0C0; | ||
210 | } | 212 | } |
211 | .rating > span.earned:before { | 213 | .rating > span.earned:before { |
212 | content: "\2605"; | 214 | content: "\2605"; |
213 | position: absolute; | 215 | position: absolute; |
214 | - color: gold; | 216 | + color: #FFE13D; |
217 | + font-size: 42px; | ||
218 | + top: -7px; | ||
219 | + left: 0px; | ||
215 | } | 220 | } |