From b071548965b09e2d4bad42a9ecbafa7e4c826b53 Mon Sep 17 00:00:00 2001 From: Paul Adam Davis Date: Mon, 23 Mar 2015 16:21:53 +0000 Subject: [PATCH] Add menu icon to icon font Closes #186 - Adds the menu icon from Ghost's icon set - Alters CSS to use that new icon --- assets/css/screen.css | 19 +++++++++++++++---- assets/fonts/casper-icons.eot | Bin 3272 -> 2660 bytes assets/fonts/casper-icons.svg | 1 + assets/fonts/casper-icons.ttf | Bin 3108 -> 2504 bytes assets/fonts/casper-icons.woff | Bin 2260 -> 2580 bytes author.hbs | 2 +- index.hbs | 2 +- page.hbs | 2 +- post.hbs | 2 +- tag.hbs | 2 +- 10 files changed, 21 insertions(+), 9 deletions(-) diff --git a/assets/css/screen.css b/assets/css/screen.css index 08d5140..94e873a 100644 --- a/assets/css/screen.css +++ b/assets/css/screen.css @@ -160,6 +160,9 @@ table { border-collapse: collapse; border-spacing: 0; } .icon-link:before { content: "\f608"; } +.icon-menu:before { + content: "\f609"; +} /* ========================================================================== @@ -792,13 +795,18 @@ body.nav-opened .nav { background: rgba(0,0,0,0.1); transition: all 0.5s ease; } +.menu-button:before { + font-size: 12px; + font-weight: bold; + margin-right: 6px; + color: #fff !important; + position: relative; + top: 1px; + transition: all 0.5s ease; +} .menu-button:focus { outline: 0; } -.menu-button .burger { - font-size: 12px; - margin-right: 6px; -} body.nav-opened .menu-button { padding: 0 12px; @@ -843,6 +851,9 @@ body.nav-opened .menu-button .word { border-color: #fff; background: #fff; } +.main-nav.overlay a:hover:before { + color: #222; +} /* Add a border to the buttons on hover */ .menu-button:hover { diff --git a/assets/fonts/casper-icons.eot b/assets/fonts/casper-icons.eot index 0bfce34869bd48dbdd86565ed0f63188311ac6b4..2c0447034d2ba6d99bba32f832ab85d09c84c5e8 100755 GIT binary patch literal 2660 zcmai0O>7&-6@G82o#igcT~g$d68}naC6cltiYB>~W%);O(8PvhB(hSsg^^T>tRGjl ztk_B#_fj2tC>j)T(2L_ro=(At%)w`^j_wEuuUa{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JV%xC;r7AM(Q?9i5 zZaNf((Z%75cs9O;NDB`f%=fnd+So8dP81zTyf#lEa$n*MQ;Umg29ggEZ&rX7% zncM;KDIE)o-$mrQjYc;~QcmKe(`f8Vl8oOUHCshNIGFmWRBA-zu%MD)kKFYlA)%Mf zG$-tb;x&Zcn8ShA?c$~gq>5Z9<+u(D#|c$y0qJ7dPg}@7VGReV>sCCZ60;IA_2YgV zIq(Y)wM199^6WQh2B)Y9YQr|Z?X^t2X6$KG5321(d!{|po9XD&aF`qIA_E#d#UE~b zm<>ijj9tPg7_RWS%5V^cn8ragn0YVrJdeW_90qY`@Eo61zESBy$m$d zDa5^dBO(z(d?sW08OB81*IzfAdYk{|HU1RevKAeH<%KbM+DnV{R{sOBn|tK};ExXq z?dc`Qu|4_TtZ*&cT6Ap36L$|vRZ@JxpBmi8DgIb^0N(?@FE+m5e&O4WbJtK;R}D?q zV+-HnDzEZKl+h?O+p1vuCrqXz|MN!+?xTg6Y1dem)>c<*X*RYi?)SYQ@O&iBLx?}B zW$F09tM~7}IxwDQwLcqrqLTuZxIZzRT8AEVSc48{=;x>jIB(^-+$!|X>hn3R>u7nZ zjoZMN6s5QZ42x8+~XaiFE`LI}>A<0yMhMv&@aC)@EI z#6J!!tCr1aRWskKdTvE2A4E-uPNnX)!<{7IFdjhWl-3L=Sn6&`cLk)MZu$}nbq0b- zd9Vm6A48>NTm07jW9ihb4=yA}zN7#}0PU~+jrR6fRs~$@bd4|#cNBeB(#fG4`t4hb z!BA8TMX!mP^9k=e!1eI1>d|ofxK|C*^Yjb;rghxfMNnEjU+jBf%w9Eo7WEOBC zvw#bk1zgB1V2QP}<=R5#&dc|cFX=mY-ng`~ys~oju{;0H`~HpvbllwdZ_+US5iH>D jum1 + \ No newline at end of file diff --git a/assets/fonts/casper-icons.ttf b/assets/fonts/casper-icons.ttf index f1b8da86f634bbb7876c537b21f09f9850c2b13b..b67da6b831ce98aee5501f45ed6da39ddda883c7 100755 GIT binary patch literal 2504 zcmai0O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S9ZO-U zWX;Q&`<&k6WO-Cr!m62#S%~1?SXPwG$&x9 {{#if @blog.logo}}{{/if}} {{#if @blog.navigation}} - Menu + Menu {{/if}} diff --git a/index.hbs b/index.hbs index 223f9ed..71e5ce4 100644 --- a/index.hbs +++ b/index.hbs @@ -6,7 +6,7 @@
diff --git a/page.hbs b/page.hbs index e77a0bd..74b1319 100644 --- a/page.hbs +++ b/page.hbs @@ -10,7 +10,7 @@ diff --git a/post.hbs b/post.hbs index 4639608..cc48269 100644 --- a/post.hbs +++ b/post.hbs @@ -10,7 +10,7 @@ diff --git a/tag.hbs b/tag.hbs index cebbab8..c2ea918 100644 --- a/tag.hbs +++ b/tag.hbs @@ -6,7 +6,7 @@