File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed
Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import styled from 'styled-components';
33export default styled . div `
44 background: #333;
55 color: #fff;
6- margin-bottom: ${ props => ( props . fullscreen ? `0` : `3em` ) } ;
6+ margin-bottom: 0 ;
77 text-align: center;
88 padding: 1em;
99 height: ${ props => ( props . fullscreen ? `100vh` : `inherit` ) } ;
@@ -20,8 +20,11 @@ export default styled.div`
2020 margin-bottom: ${ props => ( props . fullscreen ? `.25em` : `0` ) } ;
2121
2222 @media (max-width: 800px) {
23- font-size: ${ props => ( props . fullscreen ? `3em` : `2.5em` ) } ;
24- margin-bottom: 0;
23+ font-size: ${ props => ( props . fullscreen ? `4em` : `2.5em` ) } ;
24+ }
25+
26+ @media (max-width: 400px) {
27+ font-size: ${ props => ( props . fullscreen ? `4em` : `1.75em` ) } ;
2528 }
2629 }
2730
Original file line number Diff line number Diff line change @@ -7,6 +7,13 @@ const NavMenuStyle = styled(InlineList)`
77 display: flex;
88 justify-content: center;
99 flex-wrap: wrap;
10+ font-size: 1.3em;
11+ margin: 0;
12+ margin-top: 0.5em;
13+
14+ @media (max-width: 400px) {
15+ font-size: 1em;
16+ }
1017` ;
1118
1219export default function NavMenu ( { children } ) {
You can’t perform that action at this time.
0 commit comments