aboutsummaryrefslogtreecommitdiff
path: root/src/styles/index.css
blob: 8df217d6ee3f43a53e7432244fab64fb4c2fffb8 (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
.home {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.avatar {
    border-radius: 20%;
}

#title {
    font-size: 2.3em;
}

p {
    font-size: 1.1em;
}

.description {
    line-height: 0.4;
}

.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;
}

.information {
    display: grid;
    grid-template-columns: 1fr 0.7fr;
    grid-template-rows: auto auto;
    gap: 1em;
    padding: 30px;
}

.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: 768px) {
    .social {
        font-size: 2.6em;
        gap: 1em;
    }

    .information {
        grid: auto auto auto / 1fr;
    }

    .box:nth-child(1), .box:nth-child(2), .latest-posts {
        grid-column: 1;
    }

    .latest-posts {
        grid-row: auto;
    }
}