From 2d472973248aaf307809248a30bac7d27b04411f Mon Sep 17 00:00:00 2001 From: m-r-r Date: Sat, 18 Aug 2012 13:06:55 +0200 Subject: [dev-random2] Improved the tag cloud --- dev-random2/static/css/theme.css | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'dev-random2/static/css') diff --git a/dev-random2/static/css/theme.css b/dev-random2/static/css/theme.css index bb7f86b..050109a 100644 --- a/dev-random2/static/css/theme.css +++ b/dev-random2/static/css/theme.css @@ -117,16 +117,22 @@ article:last-of-type:after { text-align: center; } -#tag-cloud li:hover { - -webkit-transform: rotate(0deg), scale(1.3, 1.3) !important; - -moz-transform: rotate(0deg), scale(1.3, 1.3) !important; - -ms-transform: rotate(0deg), scale(1.3, 1.3) !important; - -o-transform: rotate(0deg), scale(1.3, 1.3) !important; - transform: rotate(0deg), scale(1.3, 1.3) !important; +#tag-cloud li { + margin: .2em 1em; + transition: transform 200ms linear; } -#tag-cloud a { +#tag-cloud li a { text-decoration: none; + color: #222; +} + +#tag-cloud li:hover { + transform: rotate(0deg) scale(1.3, 1.3)!important; +} + +#tag-cloud li:hover a { + color: black; } h1.small-title { -- cgit