summaryrefslogtreecommitdiff
path: root/static/style/style.css
blob: a2c894e7a6d4c3195f74f933167c9e7bc98bedb1 (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
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
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/static/montserrat/Montserrat-VariableFont_wght.ttf) format('woff2');
}

@font-face {
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url(/static/montserrat/Montserrat-Italic-VariableFont_wght.ttf) format('woff2');
}

@font-face {
    font-family: 'MsMadi';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/static/msmadi/MsMadi-Regular.ttf) format('woff2');
}

html {
    font-family: 'Montserrat', sans-serif;
    --dark-color: hsl(65, 14%, 17%);
    --heavy-color: hsl(65, 14%, 33%);
    --accent-color: hsl(60, 50%, 60%);
    --light-color: hsl(168, 6%, 83%);
    background-color: var(--light-color);
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

#header-bg {
    background-image: linear-gradient(transparent 80%, var(--light-color)), url("/static/img/bgcropped.webp");
    background-size: cover;
}

header {
    color: var(--dark-color);
    text-align: center;
    font-size: 2em;
    transform: rotate(-2deg);
    text-wrap: nowrap;
    width: fit-content;
    margin: auto;

    h1 {
        font-family: "MsMadi", cursive;
        margin: 0;
    }

    span {
        transform: translate(-2.5em, -1.25em);
        font-size: 0.5em;
        display: block;
    }

    a {
        color: inherit;
        text-decoration: none;
    }
}

a {
    color: var(--heavy-color);
}

footer {
    display: flex;
    flex-direction: row;
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 0.35em;

    >span {
        flex-grow: 1;
        text-align: center;
    }
}

main {
    flex-grow: 1;
}

main.centered {
    width: 40%;
    margin: auto;
}

#flashes {
    font-size: 0.8em;
    position: absolute;
    top: 0;
    right: 0;
    margin: 1em;
    z-index: 1;
    border: 2px solid var(--dark-color);
    background-color: var(--light-color);
    color: var(--heavy-color);
    font-weight: bold;
    border-radius: 1em;

    ul {
        padding: 0;
        margin: 0;
    }

    li {
        padding: 0.25em;
        list-style: none;
    }
}