Skip to content

Commit d173c94

Browse files
committed
More styling changes for responsiveness
1 parent 6cc1269 commit d173c94

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

src/components/header.js

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,19 @@ export default styled.div`
2020
margin-bottom: ${props => (props.fullscreen ? `.25em` : `0`)};
2121
2222
@media (max-width: 800px) {
23-
font-size: ${props => (props.fullscreen ? `4em` : `2.5em`)};
23+
font-size: ${props => (props.fullscreen ? `4em` : `3em`)};
2424
}
2525
26-
@media (max-width: 400px) {
27-
font-size: ${props => (props.fullscreen ? `4em` : `1.75em`)};
26+
@media (max-width: 650px) {
27+
font-size: ${props => (props.fullscreen ? `2em` : `2.5em`)};
28+
}
29+
30+
@media (max-width: 650px) {
31+
font-size: ${props => (props.fullscreen ? `2em` : `2.5em`)};
2832
}
29-
}
3033
31-
@media (max-width: 800px) {
32-
margin-bottom: 1em;
34+
@media (max-width: 400px) {
35+
font-size: ${props => (props.fullscreen ? `1.75em` : `1.75em`)};
36+
}
3337
}
3438
`;

src/pages/about.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ const Picture = styled.img`
4545
margin-top: 0;
4646
margin-left: 0;
4747
48-
width: 11em;
49-
min-width: 11em;
50-
height: 11em;
48+
width: 9em;
49+
min-width: 9em;
50+
height: 9em;
5151
}
5252
`;
5353

0 commit comments

Comments
 (0)