We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42d0602 commit ae171d7Copy full SHA for ae171d7
1 file changed
src/pages/about.js
@@ -16,21 +16,34 @@ const AboutMeHeader = styled.div`
16
}
17
`;
18
19
+const Picture = styled.img`
20
+ border-radius: 50%;
21
+ width: 8em;
22
+ min-width: 8em;
23
+ height: 8em;
24
+
25
+ @media (max-width: 600px) {
26
+ float: right;
27
+ margin-left: 2em;
28
+ }
29
30
+ @media (max-width: 500px) {
31
32
33
34
+ @media (max-width: 475px) {
35
+ display: block;
36
+ float: none;
37
38
+`;
39
40
export default function About() {
41
return (
42
<Layout>
43
<img src={banner} alt="Me standing on stage giving a talk" />
44
<AboutMeHeader>
45
<div>
- <img
- src={me}
- style={{
- borderRadius: '50%',
- width: '10em',
- height: '10em',
- }}
- alt=""
- />
46
+ <Picture src={me} alt="" />
47
</div>
48
49
0 commit comments