blob: c157f7deef9416cea33bfdb62aefedb5cbfe3dd5 (
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
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
|
@import "https://www.nerdfonts.com/assets/css/webfont.css";
* {
margin: 0;
box-sizing: border-box;
}
@font-face {
font-family: "OpenSans";
src: url(/OpenSans-VariableFont_wdth,wght.ttf);
}
:root {
--night: #0c090b;
--pink: #ea46c5;
--beige: #e9eddd;
--rose: #9e0012;
--green: #5a851c;
--green-1: #486a16;
--green-2: #364f10;
color: var(--night);
}
body {
font-family: OpenSans;
background-color: #eee;
}
header section {
padding-block: 0.6em;
text-align: center;
font-size: 32px;
background-color: var(--green);
display: grid;
place-items: center;
color: var(--beige);
}
@media (min-width: 500px) {
header section {
font-size: 48px;
}
}
header nav {
display: flex;
justify-content: center;
background-color: var(--green-1);
gap: 0.5em;
}
header nav a, header nav a:visited {
padding: 0.5em 1em;
color: var(--beige);
text-decoration: none;
}
main {
padding: 2em;
padding-top: 4em;
max-width: 1000px;
margin-inline: auto;
}
#about-text {
padding-bottom: 4em;
display: grid;
gap: 2em;
grid-template-columns: auto;
grid-template-areas: "p1" "img" "p2" "p3";
}
@media (min-width: 500px) {
#about-text {
grid-template-columns: auto auto;
grid-template-areas: "p1 img" "p2 p2" "p3 p3";
}
}
@media (min-width: 650px) {
main article {
grid-template-areas: "p1 img" "p2 img" "p3 img";
}
}
main article img {
max-width: 220px;
height: auto;
object-fit: contain;
grid-area: img;
}
main section {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1em;
padding-bottom: 3em;
}
main section img {
width: 100%;
height: auto;
}
button {
background-color: var(--green);
border: none;
border-radius: 4px;
padding: 0.5em;
color: var(--beige);
}
button:active {
background-color: var(--green-1);
}
.height-transition-wrapper {
display: grid;
grid-template-rows: 0fr;
transition: grid-template-rows 0.3s ease-in-out;
}
.height-transition-wrapper.open {
grid-template-rows: 1fr;
}
.height-transition-wrapper > * {
overflow: hidden;
}
|