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';
3
3
export default styled . div `
4
4
background: #333;
5
5
color: #fff;
6
- margin-bottom: ${ props => ( props . fullscreen ? `0` : `3em` ) } ;
6
+ margin-bottom: 0 ;
7
7
text-align: center;
8
8
padding: 1em;
9
9
height: ${ props => ( props . fullscreen ? `100vh` : `inherit` ) } ;
@@ -20,8 +20,11 @@ export default styled.div`
20
20
margin-bottom: ${ props => ( props . fullscreen ? `.25em` : `0` ) } ;
21
21
22
22
@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` ) } ;
25
28
}
26
29
}
27
30
Original file line number Diff line number Diff line change @@ -7,6 +7,13 @@ const NavMenuStyle = styled(InlineList)`
7
7
display: flex;
8
8
justify-content: center;
9
9
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
+ }
10
17
` ;
11
18
12
19
export default function NavMenu ( { children } ) {
You can’t perform that action at this time.
0 commit comments