summaryrefslogtreecommitdiff
path: root/dev/data/legal-npm.css
blob: dde8d5d2b447859c4676ed400474948f71197024 (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
body {
    font: 16px/1.5 monospace;
}

table {
    border-collapse: collapse;
}

th,
td {
    padding: 3px;
}

/* Light mode */
@media (prefers-color-scheme: light) {
    body {
        background-color: #f8f9fa;
        color: #000000;
    }
    th {
        background-color: #ffffff;
    }
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #0a0a0a;
        color: #ffffff;
    }
    th {
        background-color: #1e1e1e;
    }

    /* Scrollbars */
    :root {
        scrollbar-color: #444444 #2f2f2f;
    }
    :root::-webkit-scrollbar {
        width: auto;
    }
    :root::-webkit-scrollbar-button {
        height: 0;
    }
    :root::-webkit-scrollbar-thumb {
        background-color: #444444;
    }
    :root::-webkit-scrollbar-track {
        background-color: #444444;
    }
    :root::-webkit-scrollbar-track-piece {
        background-color: #2f2f2f;
    }
    :root::-webkit-scrollbar-corner {
        background-color: #2f2f2f;
    }
}