Skip to content

Commit

Permalink
Remove font-awesome. Replace mobile nav link with an SVG. (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
ndorfin authored and mermop committed Sep 10, 2017
1 parent c28bd38 commit 4898563
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 5,014 deletions.
2,337 changes: 0 additions & 2,337 deletions source/assets/public/font-awesome/index.css

This file was deleted.

Binary file removed source/assets/public/fonts/FontAwesome.otf
Binary file not shown.
Binary file removed source/assets/public/fonts/fontawesome-webfont.eot
Binary file not shown.
2,671 changes: 0 additions & 2,671 deletions source/assets/public/fonts/fontawesome-webfont.svg

This file was deleted.

Binary file removed source/assets/public/fonts/fontawesome-webfont.ttf
Binary file not shown.
Binary file removed source/assets/public/fonts/fontawesome-webfont.woff
Binary file not shown.
Binary file removed source/assets/public/fonts/fontawesome-webfont.woff2
Binary file not shown.
3 changes: 3 additions & 0 deletions source/assets/public/images/bg_menu.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 9 additions & 6 deletions source/assets/public/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
}

/* Importing css files */
@import "./font-awesome/index.css";
@import "./grid";
@import "./footer";

Expand Down Expand Up @@ -148,12 +147,16 @@ body {
padding: 2rem;
font-size: 2rem;
border-bottom: 1px solid #EEE;
color: var(--font-body);
}
.nav--mobile__show:hover {
cursor: pointer;
}
.nav--mobile__show span {
margin-left: 1rem;
.nav--mobile__show::before {
content: '';
background: url("images/bg_menu.svg") 50% 0 no-repeat;
display: inline-block;
width: 2rem;
height: 2rem;
vertical-align: middle;
margin-right: 1rem;
}

.breakpoint-phone .nav--mobile .nav__content {
Expand Down

0 comments on commit 4898563

Please sign in to comment.