summaryrefslogtreecommitdiff
path: root/static/css/home.css
blob: a4086850c48152631b4ef9ff8b49f12530e08d57 (plain)
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
#home-wrapper {
    background-color: var(--home-bg);
    color: var(--home-fg);

    min-height: 100vh;
    overflow: hidden;

    display: flex;
    justify-content: center;
}

#home {
    max-width: 1300px;
    width: 95%;

    margin: auto;
}

#home #nav-wrapper {
    margin: 3rem 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
}

#home #my-image-wrapper {
    width: 20rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

#home #my-image {
    border-radius: 50%;
    height: 100%;
    width: 100%;
}

#home #title-nav nav {
    display: flex;
    justify-content: left;
    gap: 0.7rem;
}

#home #title-nav nav a {
    color: var(--home-fg);
}

@media only screen and (max-width: 1000px) {
    #home-wrapper {
        display: block;
    }

    #home #nav-wrapper {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        margin: 1rem 0;
        gap: 0;
    }

    #home #my-image-wrapper {
        width: 16rem;
        max-width: 90vw;
    }

    #home #title-nav nav {
        justify-content: center;
        flex-wrap: wrap;
    }
}