From f4932816fd51a8ad0082dbacc305ce0811a66f34 Mon Sep 17 00:00:00 2001 From: Daniel Goldsmith Date: Wed, 31 Jul 2013 23:42:42 +0100 Subject: [PATCH] Changed tag_cloud documentation to produce a working tag cloud --- docs/settings.rst | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/docs/settings.rst b/docs/settings.rst index eb0d028f..95f87e0e 100644 --- a/docs/settings.rst +++ b/docs/settings.rst @@ -497,12 +497,22 @@ The default theme does not include a tag cloud, but it is pretty easy to add:: You should then also define a CSS style with the appropriate classes (tag-0 to tag-N, where -N matches `TAG_CLOUD_STEPS` -1). +N matches `TAG_CLOUD_STEPS` -1), tag-0 being the largest. + + span.tag-0 { + font-size: 150%; + } + + span.tag-1 { + font-size: 120%; + } + + ... Translations ============