Skip to content

Instantly share code, notes, and snippets.

@passy
Created February 3, 2010 11:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save passy/293553 to your computer and use it in GitHub Desktop.
Save passy/293553 to your computer and use it in GitHub Desktop.
/* line 7, ../../src/partials/tagcloud.sass */
.tags { font-size: 100%; }
/* line 2, ../../src/partials/tagcloud.sass */
.tags .tagcloud-1 { font-size: 110%; }
/* line 2, ../../src/partials/tagcloud.sass */
.tags .tagcloud-2 { font-size: 120%; }
/* line 2, ../../src/partials/tagcloud.sass */
.tags .tagcloud-3 { font-size: 130%; }
/* line 2, ../../src/partials/tagcloud.sass */
.tags .tagcloud-4 { font-size: 140%; }
/* line 2, ../../src/partials/tagcloud.sass */
.tags .tagcloud-5 { font-size: 150%; }
/* line 2, ../../src/partials/tagcloud.sass */
.tags .tagcloud-6 { font-size: 160%; }
/* line 2, ../../src/partials/tagcloud.sass */
.tags .tagcloud-7 { font-size: 170%; }
/* line 2, ../../src/partials/tagcloud.sass */
.tags .tagcloud-8 { font-size: 180%; font-weight: bold; }
/* line 2, ../../src/partials/tagcloud.sass */
.tags .tagcloud-9 { font-size: 190%; font-weight: bold; }
/* line 2, ../../src/partials/tagcloud.sass */
.tags .tagcloud-10 { font-size: 200%; font-weight: bold; }
=tagcloud(!index)
.tagcloud-#{!index}
font-size= 100% + ( !index * 10 )
@if !index >= 8
font-weight: bold
.tags
font-size: 100%
@for !i from 1 through 10
+tagcloud(!i)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment