File tree Expand file tree Collapse file tree 6 files changed +23
-11
lines changed Expand file tree Collapse file tree 6 files changed +23
-11
lines changed Original file line number Diff line number Diff line change 11import React from 'react' ;
22import ReactDOM from 'react-dom' ;
33import { hashHistory } from 'react-router' ;
4+
45import Routes from './router' ;
6+
7+ import '../styles/fonts.css' ;
58import './index.css' ;
69
710ReactDOM . render (
Original file line number Diff line number Diff line change 1+ @font-face {
2+ font-family : 'rac-icons' ;
3+ src : url ('./../fonts/rack-icons.woff2' ) format ('woff2' ),
4+ url ('./../fonts/rack-icons.woff' ) format ('woff' );
5+ font-weight : normal;
6+ font-style : normal;
7+ }
Original file line number Diff line number Diff line change 2020
2121.hamburger__node--contracted ::before {
2222 position : absolute;
23- top : 9 px ;
23+ top : 14 px ;
2424 right : 12px ;
25- content : '+' ;
26- font : 20 px/1 Arial;
25+ content : '\EA06' ;
26+ font-family : rack-icons;
27+ font-size : 22px ;
28+ line-height : 1 ;
2729 color : white;
2830 z-index : 1 ;
2931}
3032
3133.hamburger__node--expanded ::before {
3234 position : absolute;
33- top : 6 px ;
34- right : 14 px ;
35- content : '- ' ;
36- font : 24 px /1 Arial ;
35+ top : 14 px ;
36+ right : 12 px ;
37+ content : '\EA07 ' ;
38+ font : 22 px /1 rack-icons ;
3739 color : white;
3840 z-index : 1 ;
3941}
4042
4143.hamburger__node--leaf ::before {
4244 position : absolute;
43- top : 13 px ;
44- right : 6 px ;
45- content : '〉 ' ;
46- font : 13 px /1 Arial ;
45+ top : 14 px ;
46+ right : 12 px ;
47+ content : '\EA0A ' ;
48+ font : 22 px /1 rack-icons ;
4749 color : white;
4850}
4951
You can’t perform that action at this time.
0 commit comments