|
|
@ -47,6 +47,12 @@ const Header = ({location}) => ( |
|
|
|
marginRight: 10, |
|
|
|
height: '100%', |
|
|
|
alignItems: 'center', |
|
|
|
color: colors.brand, |
|
|
|
|
|
|
|
':focus': { |
|
|
|
outline: 0, |
|
|
|
color: colors.white, |
|
|
|
}, |
|
|
|
|
|
|
|
[media.greaterThan('small')]: { |
|
|
|
width: 'calc(100% / 6)', |
|
|
@ -59,7 +65,7 @@ const Header = ({location}) => ( |
|
|
|
<img src={logoSvg} alt="" height="20" /> |
|
|
|
<span |
|
|
|
css={{ |
|
|
|
color: colors.brand, |
|
|
|
color: 'inherit', |
|
|
|
marginLeft: 10, |
|
|
|
fontWeight: 700, |
|
|
|
fontSize: 20, |
|
|
@ -94,6 +100,7 @@ const Header = ({location}) => ( |
|
|
|
WebkitOverflowScrolling: 'touch', |
|
|
|
height: '100%', |
|
|
|
width: '60%', |
|
|
|
|
|
|
|
[media.size('xsmall')]: { |
|
|
|
flexGrow: '1', |
|
|
|
width: 'auto', |
|
|
@ -170,6 +177,12 @@ const Header = ({location}) => ( |
|
|
|
backgroundPositionY: 'center', |
|
|
|
backgroundPositionX: 'left', |
|
|
|
|
|
|
|
':focus': { |
|
|
|
outline: 0, |
|
|
|
backgroundColor: colors.lighter, |
|
|
|
borderRadius: '0.25rem', |
|
|
|
}, |
|
|
|
|
|
|
|
[media.lessThan('large')]: { |
|
|
|
fontSize: 16, |
|
|
|
}, |
|
|
@ -207,10 +220,18 @@ const Header = ({location}) => ( |
|
|
|
<a |
|
|
|
css={{ |
|
|
|
padding: '5px 10px', |
|
|
|
backgroundColor: colors.lighter, |
|
|
|
borderRadius: 15, |
|
|
|
whiteSpace: 'nowrap', |
|
|
|
...fonts.small, |
|
|
|
|
|
|
|
':hover': { |
|
|
|
color: colors.brand, |
|
|
|
}, |
|
|
|
|
|
|
|
':focus': { |
|
|
|
outline: 0, |
|
|
|
backgroundColor: colors.lighter, |
|
|
|
borderRadius: 15, |
|
|
|
}, |
|
|
|
}} |
|
|
|
href="https://github.com/facebook/react/releases" |
|
|
|
target="_blank" |
|
|
@ -223,9 +244,16 @@ const Header = ({location}) => ( |
|
|
|
marginLeft: 10, |
|
|
|
whiteSpace: 'nowrap', |
|
|
|
...fonts.small, |
|
|
|
|
|
|
|
':hover': { |
|
|
|
color: colors.brand, |
|
|
|
}, |
|
|
|
|
|
|
|
':focus': { |
|
|
|
outline: 0, |
|
|
|
backgroundColor: colors.lighter, |
|
|
|
borderRadius: 15, |
|
|
|
}, |
|
|
|
}} |
|
|
|
href="https://github.com/facebook/react/" |
|
|
|
target="_blank" |
|
|
|