summaryrefslogtreecommitdiff
path: root/src/styles/styles.css
blob: 1bf4663e8b7c409d7438207b5832510368e60800 (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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
@font-face {
    font-family: 'fantasque';
    src: url('/fonts/fantasque.woff');
}

:root {
    --content-padding: 2rem;
    --border-radius: 10px;

    --font: 'fantasque';
    --font-fallback: monospace;
}

/* <global> */
* {
    cursor: url('/img/cursor/regular.png'), auto !important;
    color: var(--foreground);
    font-family: var(--font), var(--font-fallback);

    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
/* </global> */

/* <layout> */
html {
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: var(--content-padding);

    background-image: url('/img/background.jpg');
    background-repeat: repeat;
}

body {
    display: grid;
    grid-template-rows: auto 1fr auto;

    padding: var(--content-padding);
    padding-left: auto;
    border-radius: var(--border-radius);
    min-height: calc(100vh - 2 * var(--content-padding));

    width: 100%;
    max-width: 1200px;
    background-color: var(--background-body);
    backdrop-filter: blur(16px);
}

main {
    height: 100%;
    overflow-y: scroll;
}
/* </layout> */

/* <typography> */
h1 {
    font-size: 3rem;
}
h2 {
    font-size: 2rem;
}
h3 {
    font-size: 1.45rem;
}
hr {
    margin: 1rem;
    border: 0;
    height: 1px;
    background-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.1),
        var(--foreground),
        rgba(0, 0, 0, 0.1)
    );
}
a {
    color: var(--regular6);
}
/* </typography> */

/* <footer> */
.blinkies {
    display: flex;
    justify-content: left;
    flex-wrap: wrap;
    gap: 10px 10px;
}
/* </footer> */

/* <form> */
textarea {
    height: 30rem;
    border: 3px solid var(--regular3);
    padding: 1rem;
    border-radius: 4px;
    background: none;
    resize: vertical;
}
textarea:hover {
    cursor: url('/img/cursor/hover.png'), auto !important;
}
*:focus {
    border-color: var(--regular6);
    outline: none;
    transition: border-color 0.5s;
}
/* </form> */

/* <visibility> */
.maybe-visible {
    transition: opacity 0.5s;
}

.visible {
    opacity: 1;
}

.invisible {
    opacity: 0;
}
/* </visibility> */

/* <buttons> */
button {
    background: none;
    display: block;
    border: 3px solid var(--regular3);
    border-radius: 4px;
    width: 100%;
    padding: 8px;
}
button:hover {
    cursor: url('/img/cursor/hover.png'), auto !important;
    border: 3px solid var(--regular6);
    transition: border-color 0.2s;
}
/* </buttons> */