Skip to content

Commit cfd0d2f

Browse files
authored
Merge pull request #9 from rbonick/styles
Fix reputation icons not showing
2 parents 9f6d24d + fd30d0a commit cfd0d2f

1 file changed

Lines changed: 20 additions & 4 deletions

File tree

styles/prosilver/theme/reputation_common.css

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,25 @@
129129
height: 16px;
130130
}
131131

132-
.reputation-rating.positive.image { background-image: url("./images/pos.png"); }
132+
.reputation-rating.positive.image::before,
133+
.reputation-rating.negative.image::before {
134+
display: inline-block;
135+
font-style: normal;
136+
font-variant: normal;
137+
text-rendering: auto;
138+
-webkit-font-smoothing: antialiased;
139+
font-family: "FontAwesome";
140+
font-weight: 900;
141+
font-size: 14px;
142+
}
143+
144+
.reputation-rating.positive.image::before {
145+
content: "\f055";
146+
}
133147

134-
.reputation-rating.negative.image { background-image: url("./images/neg.png"); }
148+
.reputation-rating.negative.image::before {
149+
content: "\f056";
150+
}
135151

136152
.reputation-action {
137153
margin-bottom: 5px;
@@ -215,5 +231,5 @@
215231

216232
#post-reputation-list::-webkit-scrollbar-thumb {
217233
border-radius: 10px;
218-
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
219-
}
234+
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
235+
}

0 commit comments

Comments
 (0)