-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
162 lines (138 loc) · 2.64 KB
/
style.css
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
@font-face {
font-synthesis: none;
font-display: block;
font-family: "Fira Sans";
font-weight: 300;
src: local("FiraSans-ExtraLight"), url("fonts/FiraSans-ExtraLight.woff2") format("woff2"),
url("fonts/FiraSans-ExtraLight.woff") format("woff"), url("fonts/FiraSans-ExtraLight.ttf") format("truetype");
}
@font-face {
font-synthesis: none;
font-display: block;
font-family: "Fira Sans";
font-weight: 500;
src: local("FiraSans-Medium"), url("fonts/FiraSans-Medium.woff2") format("woff2"),
url("fonts/FiraSans-Medium.woff") format("woff"), url("fonts/FiraSans-Medium.ttf") format("truetype");
}
body, h1, h2, h3, h4, p {
margin: 0;
padding: 0;
}
html {
scroll-behavior: smooth;
}
body {
color: #1e1e1e;
font-family: "Fira Sans", sans-serif;
padding: min(8vw, 40px);
overflow-x: hidden;
}
.header {
display: flex;
flex-direction: column;
}
.header-image {
height: auto;
margin-bottom: min(48px, 5vw);
margin-left: auto;
margin-right: auto;
margin-top: min(16px, 2vw);
width: min(600px, 95%);
}
.header-text {
text-align: center;
}
.header-faq {
color: #000;
cursor: default;
text-decoration-style: dotted;
margin: 2em auto 0;
text-align: center;
}
.header-faq:hover {
text-decoration-style: solid;
}
.text {
font-weight: 300;
}
.text--bold {
font-family: 'Fira Sans';
font-weight: 500;
}
.image-container {
display: grid;
gap: 40px;
grid-template-columns: repeat(auto-fill, minmax(0, 250px));
/*grid-template-rows: repeat(auto-fill, minmax(0, 250px));*/
margin: 5em auto;
min-height: 250px;
width: 95%;
justify-content: center;
}
image-component {
aspect-ratio: 1 / 1;
/* needed to avoid layout shifts with image */
opacity: 0;
visibility: hidden;
}
.faq {
width: 100%;
max-width: 700px;
margin: 5em auto 0;
text-align: center;
}
.faq-headline {
font-family: 'Fira Sans';
font-weight: 500;
margin-bottom: 2rem;
}
.faq-question {
font-family: 'Fira Sans';
font-weight: 500;
}
.faq-answer {
margin-top: 1em;
margin-bottom: 2em;
}
.socialmedia {
display: flex;
gap: 40px;
justify-content: center;
}
.contact--mail {
margin-top: -1em;
color: #000;
text-decoration: none;
}
.contact--github {
display: block;
margin-top: 1em;
}
lightbox-component {
display: none;
}
/* For path animation in image*/
image-component svg > path {
visibility: hidden;
}
@keyframes pathAnimation {
from {
visibility: hidden;
stroke-dashoffset: var(--strokeDasharray);
}
to {
visibility: visible;
stroke-dashoffset: 0;
}
}
@keyframes hideAndShowImage {
0% {
opacity: 0;
}
99% {
opacity: 0;
}
100% {
opacity: 1;
}
}