Last active
August 29, 2015 14:04
-
-
Save lisaq/18fcd3f1d7ed8caf82a3 to your computer and use it in GitHub Desktop.
Revisions
-
Lisa Q revised this gist
Jul 16, 2014 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,8 +6,8 @@ font-size: round(@diameter/2); line-height:1em; .border-radius(50%); text-align:center; vertical-align:middle; background-color:@color; color:white; } -
Lisa Q created this gist
Jul 16, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ /* centers text in a circle - input diameter of circle and color */ .circle (@diameter:50px,@color:#000) { height: round(@diameter/2); width: round(@diameter/2); padding: round(@diameter/4); font-size: round(@diameter/2); line-height:1em; .border-radius(50%); background-color:@color; color:white; text-align:center; vertical-align:middle; }