Browse Source

Update README.rst

Typo in `<span>.badge` in CSS selector in the example css configuration.
Lilian Besson 6 years ago
parent
commit
f167d002c5
1 changed files with 3 additions and 3 deletions
  1. 3 3
      tag_cloud/README.rst

+ 3 - 3
tag_cloud/README.rst

@@ -88,11 +88,11 @@ For example::
         font-size: 120%;
     }
 
-    ...
+    /* ... add li.tag-3 etc, as much as needed */
 
-    ul.tagcloud .list-group-item <span>.badge {
+    ul.tagcloud .list-group-item span.badge {
         background-color: grey;
         color: white;
     }
 
-By default the tags in the cloud are sorted randomly, but if you prefers to have it alphabetically use the `alphabetically` (ascending) and `alphabetically-rev` (descending). Also is possible to sort the tags by it's size (number of articles with this specific tag) using the values `size` (ascending) and `size-rev` (descending).
+By default the tags in the cloud are sorted randomly, but if you prefers to have it alphabetically use the `alphabetically` (ascending) and `alphabetically-rev` (descending). Also is possible to sort the tags by it's size (number of articles with this specific tag) using the values `size` (ascending) and `size-rev` (descending).