blob: 327b6aa94ccd26042805e8534e1d1019d8cf0aa7 (
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
|
.home {
display: flex;
flex-direction: column;
text-align: center;
}
.avatar {
border-radius: 20%;
}
#title {
font-size: 2.3em;
}
.description h2 {
margin: 0.1em 0;
}
.social {
display: flex;
flex-direction: row;
justify-content: center;
font-size: 3.2em;
gap: 1.4em;
}
.email-contact {
font-weight: 300;
font-size: 1.2em;
}
.headline h3 {
margin: 0.5em;
}
.information {
display: grid;
grid-template-columns: 1fr 0.7fr;
grid-template-rows: auto auto;
gap: 1em;
margin: 2em 10em 2em 10em;
}
.box {
padding: 2px 10px 10px 25px;
text-align: left;
background: #3B513B;
border-radius: 20px;
}
.box:nth-child(1), .box:nth-child(2) {
grid-column: 1;
}
.latest-posts {
grid-column: 2;
grid-row: 1 / span 2;
}
/* Mobile view */
@media (max-width: 992px) {
.social {
font-size: 3em;
gap: 1em;
}
.information {
margin: 2em;
grid: auto auto auto / 1fr;
}
.box:nth-child(1), .box:nth-child(2), .latest-posts {
grid-column: 1;
}
.latest-posts {
grid-row: auto;
}
}
|