Skip to content
This repository
Browse code

#24 - Use Unicode values in CSS content attribute

  • Loading branch information...
commit 75a9db1248e6de633081d4cc3c5fbf55015e6377 1 parent a3ce4a1
Per Sandström authored

Showing 1 changed file with 8 additions and 16 deletions. Show diff stats Hide diff stats

  1. 24  style.css
24  style.css
@@ -170,16 +170,6 @@ q {
170 170
 	font-style: italic;
171 171
 }
172 172
 
173  
-q:before {
174  
-	content: "“";
175  
-	font-style: normal;
176  
-}
177  
-
178  
-q:after {
179  
-	content: "”";
180  
-	font-style: normal;
181  
-}
182  
-
183 173
 blockquote a,
184 174
 q a {
185 175
 	color: #888;
@@ -196,7 +186,7 @@ q cite {
196 186
 
197 187
 blockquote cite:before,
198 188
 q cite:before {
199  
-	content: "  ";
  189
+	content: " \2014  ";
200 190
 }
201 191
 
202 192
 strong {
@@ -772,7 +762,7 @@ iframe {
772 762
 
773 763
 #nav .has-children > a:after {
774 764
 	display: inline-block;
775  
-	content: "";
  765
+	content: "\25BC";
776 766
 	font: normal 8px/14px Arial, sans-serif;
777 767
 	margin-left: 10px;
778 768
 	opacity: .5;
@@ -780,7 +770,7 @@ iframe {
780 770
 }
781 771
 
782 772
 #nav li .has-children > a:after {
783  
-	content: "";
  773
+	content: "\25B6";
784 774
 }
785 775
 
786 776
 #nav li .has-children > a:after {
@@ -943,7 +933,8 @@ iframe {
943 933
 }
944 934
 
945 935
 #footer-nav li:before {
946  
-  content: " – ";
  936
+  content: " \2014  ";
  937
+  font-family: Arial, sans-serif;
947 938
 }
948 939
 
949 940
 #footer-nav li:first-child:before {
@@ -1247,7 +1238,8 @@ nav li {
1247 1238
 
1248 1239
 .type-post footer span:before,
1249 1240
 .type-attachment footer span:before {
1250  
-	content: " – ";
  1241
+	content: " \2014  ";
  1242
+	font-family: Arial, sans-serif;
1251 1243
 }
1252 1244
 
1253 1245
 .type-post footer span:first-child:before,
@@ -1261,7 +1253,7 @@ nav li {
1261 1253
 }
1262 1254
 
1263 1255
 .back-to-post:before {
1264  
-	content: "  ";
  1256
+	content: " \2190  ";
1265 1257
 	font-family: Arial, sans-serif;
1266 1258
 }
1267 1259
 

0 notes on commit 75a9db1

Please sign in to comment.
Something went wrong with that request. Please try again.