Merge pull request #1202 from tomtung/patch-2

Update settings.rst to match tag cloud code
This commit is contained in:
Justin Mayer 2014-02-05 07:43:51 -08:00
commit 9dd8e3954c

View file

@ -543,8 +543,8 @@ The default theme does not include a tag cloud, but it is pretty easy to add one
{% endfor %} {% endfor %}
</ul> </ul>
You should then also define CSS styles with appropriate classes (tag-0 to tag-N, You should then also define CSS styles with appropriate classes (tag-1 to tag-N,
where N matches ``TAG_CLOUD_STEPS`` -1), tag-0 being the most frequent, and where N matches ``TAG_CLOUD_STEPS``), tag-1 being the most frequent, and
define a ``ul.tagcloud`` class with appropriate list-style to create the cloud. define a ``ul.tagcloud`` class with appropriate list-style to create the cloud.
For example:: For example::
@ -557,11 +557,11 @@ For example::
display: inline-block; display: inline-block;
} }
li.tag-0 { li.tag-1 {
font-size: 150%; font-size: 150%;
} }
li.tag-1 { li.tag-2 {
font-size: 120%; font-size: 120%;
} }