Credits here: FortAwesome/Font-Awesome#4167
I agree. Use Pure css, with border-radius and a fixed width and height.
For example:
.social [class*="fa fa-"] {
background-color: #333;
border-radius: 30px;
| const PASS = ['32']; // green | |
| const FAIL = ['31', '1']; // red, bold | |
| function logStyle(ansiEscapeCodes, text) { | |
| console.log(`\x1b[${ansiEscapeCodes.join(';')}m${text}\x1b[0m`); | |
| } | |
| class Tester { | |
| constructor() {} |
| # Ruby is our language as asciidoctor is a ruby gem. | |
| lang: ruby | |
| before_install: | |
| - sudo apt-get install pandoc | |
| - gem install asciidoctor | |
| script: | |
| - make | |
| after_success: | |
| - .travis/push.sh | |
| env: |
| require('font-awesome/css/font-awesome.css'); | |
| document.body.innerHTML = '<i class="fa fa-fw fa-question"></i>'; |
This gist assumes:
| <snippet> | |
| <!-- put this file in /packages/User/<Folder Name>/console_log.sublime-snippet then restart your Sublime Text 2 --> | |
| <content><![CDATA[console.log($1);$0]]></content> | |
| <tabTrigger>conl</tabTrigger> | |
| <scope>text.html,source.js</scope> | |
| <description>console.log()</description> | |
| </snippet> | |
| <snippet> | |
| <!-- put this in another file /packages/User/<Folder Name>/console_dir.sublime-snippet then restart your Sublime Text 2 --> |