summaryrefslogtreecommitdiff
path: root/terminal.css
blob: 7788263db530fc8e2568673f6cde81d2cb511b7d (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
141
142
:root {
    --background: rgb(62, 59, 55);
    --foreground: rgb(222, 213, 200);
    --faded: rgb(222, 213, 200);
    --black: rgb(30, 27, 25);
    --blue: rgb(186, 209, 249);
    --green: rgb(190, 248, 215);
    --cyan: rgb(230, 252, 246);
    --red: rgb(237, 173, 173);
    --magenta: rgb(242, 202, 226);
    --yellow: rgb(254, 245, 175);
    --white: rgb(254, 252, 248);
}

html {
    background-color: var(--background);
    color: var(--foreground);
}

body {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-top: 32px;
    max-width: 40em;
    margin: auto;
    font-family: monospace;
    font-size: 1.2em;
    min-height: 120vh;

    & main {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

    & footer {
        padding-bottom: 64px;
    }
}

.fakelink {
    color: var(--foreground);
    text-decoration: none;
}

a {
    color: var(--blue);
    &:visited {
        color: var(--magenta);
    }
}

ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;

    & li, a {
        display: flex;
        flex-direction: column;

        & time {
            opacity: 0.5;
        }
    }
}

section {
    & h2 {
        padding-bottom: 4px;
    }
}

.fg-black {
    color: var(--black);
}

.fg-blue {
    color: var(--blue);
}

.fg-green {
    color: var(--green);
}

.fg-cyan {
    color: var(--cyan);
}

.fg-red {
    color: var(--red);
}

.fg-magenta {
     color: var(--magenta);
}

.fg-yellow {
    color: var(--yellow);
}

.fg-white {
    color: var(--white);
}

.bg-text {
    background-color: var(--foreground);
}

.bg-black {
    background-color: var(--black);
}

.bg-blue {
    background-color: var(--blue);
}

.bg-green {
    background-color: var(--green);
}

.bg-cyan {
    background-color: var(--cyan);
}

.bg-red {
    background-color: var(--red);
}

.bg-magenta {
    background-color: var(--magenta);
}

.bg-yellow {
    background-color: var(--yellow);
}

.bg-white {
    background-color: var(--white);
}