summaryrefslogtreecommitdiff
path: root/objectapp/static/objectapp/css/src/_tag-cloud.sass
blob: 6d859b6a8b9ae8f853900f9ed43398262c96c925 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
=tag-cloud($link_color, $base_size: 1em)
  font-size: $base_size
  line-height: 1.2 * $base_size
  .tag_1
    font-size: $base_size / 2
    color: $link_color * 0.3
  .tag_2
    font-size: 2 * $base_size / 3
    color: $link_color * 0.5
  .tag_3
    font-size: 3 * $base_size / 4
    color: $link_color * 0.9
  .tag_4
    font-size: 4 * $base_size / 3
    color: $link_color * 1.1
  .tag_5
    font-size: 3 * $base_size / 2
    color: $link_color * 1.5
  .tag_6
    font-size: 2 * $base_size
    color: $link_color * 1.7