From 78f31ae3dee15ee9918d6e9b5a62e71ebcbee4c2 Mon Sep 17 00:00:00 2001 From: Marcin Kulik Date: Wed, 25 Jun 2014 17:57:48 +0200 Subject: [PATCH] Powerline symbols! --- app/assets/fonts/PowerlineSymbols.otf | Bin 0 -> 2264 bytes app/assets/stylesheets/application.css | 1 + app/assets/stylesheets/powerline-symbols.css.erb | 4 ++++ vendor/assets/stylesheets/asciinema-player.css | 2 +- 4 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 app/assets/fonts/PowerlineSymbols.otf create mode 100644 app/assets/stylesheets/powerline-symbols.css.erb diff --git a/app/assets/fonts/PowerlineSymbols.otf b/app/assets/fonts/PowerlineSymbols.otf new file mode 100644 index 0000000000000000000000000000000000000000..b1582afb39a5f302941859c28ddbe652d3be54d9 GIT binary patch literal 2264 zcmd^BeQZ-z6hF7^YdcoDq3ish=^ii=NL=?ioahjP!__PsVU9@@MCjI6+OdAFOPOSB z637O(phI9E4EN!LED!>sjFFK*OpFR*^bbvpf6QbCLPC@TeNWyq_1yN2=t4rmzuuR7 z&+nXj-uZgxzW3JF)vbkW=m0$ktKDw?=8b+4fExnP{o;1lt?|_iZU!)q0)YM1S1R0) z0}kYOBkx$duDB%Ws4WK|Jn~x_f}Y6K#Vj*`;Te?G`bCdd*;0QV_a<>Z=SP9@X;O;# zF3v)KFuvUo2WI~=^7%o}_6TIvAS6%XVhnkL;^OPK-$1?t;~9&Do8zf3;3u;h2zH#LEXJ~3VRjFH`zks|MbWDl^@6lgKRl)`xhx^mI1!+r} zz08W57)KT|1|3K40*C(h=~x!Y3?)J;qv0HsdIWh^*n6A z7{+mv#he*DWHPYA>HE@Wp;5yGOtP9bLBj^fCA&4uAs*MT5%Dd2qQt;r zW3|X&f*uDotOE;tuVFnVdqcwp;7PrPImCxGY()GetcDnf;DI=xfnVZ}$0KFM#Xgk!nAF+qbB4q?-c^GJ6KEm^O&Az6whme$2=yp$LKjdI zPKdFlKuBEI8mtdDp=1pzc~Q9q)nJY24YVMAP%>qh$iwXOm>>@>SPn(F7GVJdq|4CY z{S35Q8(3HAth^vS%k(zA;PSTDw!1K|)a2rj1} z2q<|3FW5z_k22G)by_v+4wTu!fUejXOP@0A`jM$~sT2UBp{X;e)K9Gi^#!kMccCI4 z1mnLCLt6BITv$bMq&^4s&SSOw&mdqh03l@F?5+WP`w&lg#Sm7i<7VN!~m=EU@b?KL**%gc0UK9?XY@c({!^P0_LHApAvB74a`LP?VB zCkG&l#hnj}pc5uYHF=XnNe4M{DPJy?$JA2eB{gA_E2Qt#3X}C-wZX1*%l&pk*kqNw zirXf&o9L$pPxg)+85;Uj4>oyHng93W=;M~$Xj4|n*{jql zi5d?y*yu}#6;YWheX@d5wdzMoZ|#z5C5v+QXG-NN&MMjRr5@wN$jC&2G;NwpjCvi? zQWL$=SecEOLML^$(KC_pa0Csg8p#7aCz(`*OeAJA(X APXGV_ literal 0 HcmV?d00001 diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index 241ca56..c4b8498 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -2,6 +2,7 @@ *= require bootstrap *= require auth-buttons *= require source-sans-pro + *= require powerline-symbols *= require base *= require header *= require flash diff --git a/app/assets/stylesheets/powerline-symbols.css.erb b/app/assets/stylesheets/powerline-symbols.css.erb new file mode 100644 index 0000000..30cd68e --- /dev/null +++ b/app/assets/stylesheets/powerline-symbols.css.erb @@ -0,0 +1,4 @@ +@font-face { + font-family: 'Powerline Symbols'; + src: local('Powerline Symbols'), local('PowerlineSymbols'), url('<%= asset_path("PowerlineSymbols.otf") %>') format('opentype'); +} diff --git a/vendor/assets/stylesheets/asciinema-player.css b/vendor/assets/stylesheets/asciinema-player.css index 9f37d10..b88fbac 100644 --- a/vendor/assets/stylesheets/asciinema-player.css +++ b/vendor/assets/stylesheets/asciinema-player.css @@ -37,7 +37,7 @@ word-break: normal; border-radius: 0; cursor: text; - font-family: Consolas, Menlo, "Bitstream Vera Sans Mono", monospace; } + font-family: Consolas, Menlo, "Bitstream Vera Sans Mono", monospace, "Powerline Symbols"; } .asciinema-terminal .line { letter-spacing: normal; overflow: hidden; }