aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/landing/sections/Hero.module.css
blob: bc5c1518d8bd46f97ec6bcb45389fcb305d25c2d (plain) (blame)
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
81
/*
 * SPDX-FileCopyrightText: 2023 Kristóf Marussy
 *
 * SPDX-License-Identifier: MIT
 */

.hero {
  /* Reserve space for the bottom padding of the avatar in single-column mode. */
  padding-bottom: 2rem;
  --ifm-link-color: #6ea1f7;
  --ifm-link-hover-color: var(--ifm-link-color);
}

.hero__col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 2rem;
}

.avatar {
  align-items: center;
}

.avatar__image {
  width: 100%;
  max-width: 298px;
  border-radius: 100em;
}

.introduction {
  font-family: var(--ifm-font-family-base);
  font-weight: 500;
  --casl: 0;
  font-size: 1.5rem;
}

.introduction__name {
  font-family: var(--ifm-heading-font-family);
  font-weight: var(--ifm-heading-font-weight);
  --casl: 1;
  font-size: 2.5rem;
  white-space: pre;
}

.cta {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
}

.cta__button {
  flex: 1;
}

.contacts {
  display: flex;
  flex-direction: row;
  flex-grow: 999999;
  margin: 0 0 0 -0.5rem;
  padding: 0;
}

.contacts__item {
  display: flex;
  align-items: center;
}

.contacts__icon {
  padding: 0.375rem 0.5rem;
  display: flex;
  --ifm-link-color: var(--ifm-color-secondary);
  --ifm-link-hover-color: var(--ifm-color-secondary-dark);
  --ifm-link-text-decoration: none;
}

.contacts__icon svg {
  width: 2rem;
  height: 2rem;
}