aboutsummaryrefslogtreecommitdiff
path: root/src/scss/style.scss
blob: c0f977bf8c94eed2289243d792b5345c45f6a8ad (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
@use "reset";

body {
  font-size: 22px;
  font-family: sans-serif;
}

h1 {
  font-size: 3em;
  font-weight: bold;
  margin-bottom: 1rem;
  font-family: serif;
}

h2 {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5em;
}

h4 {
  font-size: 1.25em;
}

p {
  line-height: 1.15em;
}

header {
  height: 100vh;
  box-sizing: border-box;
  padding: 2.5% 5%;
  color: white;
  background-image: url("/home.jpg");
  background-size: cover;
  background-position: center;
}

.tags {
  display: flex;
  gap: 1rem;
  font-size: 1.75rem;
}

article {
  min-height: 100vh;
  position: relative;
}

.content {
  position: absolute;
  display: flex;
  flex-direction: column;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  gap: 1rem;
  background: black;
  color: white;
  max-width: 800px;
  margin: auto;
  padding: 2rem;

  &__header {
    text-align: center;
    margin-bottom: 2rem;

    &:last-child {
      margin-bottom: 0;
    }
  }
}

.bg img {
  height: 100%;
}