Skip to content

Commit 4898563

Browse files
ndorfinmermop
authored andcommitted
Remove font-awesome. Replace mobile nav link with an SVG. (#44)
1 parent c28bd38 commit 4898563

File tree

9 files changed

+12
-5014
lines changed

9 files changed

+12
-5014
lines changed

source/assets/public/font-awesome/index.css

Lines changed: 0 additions & 2337 deletions
This file was deleted.
-132 KB
Binary file not shown.
-162 KB
Binary file not shown.

source/assets/public/fonts/fontawesome-webfont.svg

Lines changed: 0 additions & 2671 deletions
This file was deleted.
-162 KB
Binary file not shown.
-95.7 KB
Binary file not shown.
-75.4 KB
Binary file not shown.
Lines changed: 3 additions & 0 deletions
Loading

source/assets/public/index.css

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
}
3434

3535
/* Importing css files */
36-
@import "./font-awesome/index.css";
3736
@import "./grid";
3837
@import "./footer";
3938

@@ -148,12 +147,16 @@ body {
148147
padding: 2rem;
149148
font-size: 2rem;
150149
border-bottom: 1px solid #EEE;
150+
color: var(--font-body);
151151
}
152-
.nav--mobile__show:hover {
153-
cursor: pointer;
154-
}
155-
.nav--mobile__show span {
156-
margin-left: 1rem;
152+
.nav--mobile__show::before {
153+
content: '';
154+
background: url("images/bg_menu.svg") 50% 0 no-repeat;
155+
display: inline-block;
156+
width: 2rem;
157+
height: 2rem;
158+
vertical-align: middle;
159+
margin-right: 1rem;
157160
}
158161

159162
.breakpoint-phone .nav--mobile .nav__content {

0 commit comments

Comments
 (0)