aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/header.tag
blob: 1dbe3f8e8daf98dab156cb1817d70adf262e29aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<header>
  <h1>Hello, my name is Jan</h1>

  <style type="less">
    header {
      display: flex;
    }

    h1, a {
      justify-content: space-between;
      align-items: center;
      flex-grow: 1;
    }

    img {
      object-fit: contain;
      max-width: 20%;
    }

    h1 {
      font-size: 5rem;
      font-weight: 300;
    }

    @media screen and (max-width: 600px) {
      h1 {
        font-size: 3rem;
      }
    }
  </style>
</header>