summaryrefslogtreecommitdiff
path: root/assets/css/prismite.css
blob: 5d118387de0f92033c308928f01f16462cb340ac (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
#logo {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    line-height: 1.25;
    font-family: "Aporetic Mono", monospace;
    margin-bottom: var(--padding-big);
}

#logo > span {
    white-space: pre;
}

#color_showcase {
    color: var(--bg);
    /* writing-mode: sideways-lr; */
    max-width: 100%;
    display: flex;
    /* flex-direction: column; */
    flex-wrap: wrap;
    gap: var(--padding-big);
}

#color_showcase > div {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: var(--padding-big);
}

#color_showcase > div:not(:first-child) {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(20vw, 1fr));
}

#color_showcase > div > div {
    border-radius: var(--border-radius);
    overflow: hidden;
}

#color_showcase > div > div {
    display: flex;
    gap: var(--padding);
}

#color_showcase > div > div > div {
    padding: var(--padding);
    font-size: 0.75em;
    transition: color 0.3s var(--easing);
    font-family: "Aporetic Mono", monospace;
    flex: 1;
}

#color_showcase > div:last-child > div {
    flex-direction: column;
}

/* #color_showcase > div > div:hover { */
/*     color: transparent; */
/*     user-select: none; */
/* } */

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

main > div > h2 {
    text-align: center;
}