aboutsummaryrefslogtreecommitdiffstats
path: root/scss/_header.scss
blob: 56138291586f0e66681c40dbd3564dd4e992fbb8 (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
32
33
34
35
36
37
38
39
40
header {
  font-family: 'Source Sans Pro', sans-serif;
  padding: 1rem 2rem;
  text-align: right;

  color: $gray-bright;
  background: $gray-dark;

  h1 {
    display: flex;
    justify-content: space-around;
    align-items: baseline;
    margin: 0;

    font-size: 4rem;
    font-weight: 200;

    > b {
      flex: 1;
    }

    .bold {
      font-weight: 400;
    }
  }

  .sun {
    font-style: normal;
    font-weight: 800;
    font-size: 0.7em;
    vertical-align: -0.04em;

    transform: perspective(100rem) rotateY(0deg);
    transition: transform 100ms;

    body.loading & {
      transform: perspective(100rem) rotateY(90deg);
    }
  }
}