summaryrefslogtreecommitdiff
path: root/lib/static/styles.css
blob: ae8a86c4d4aae90ee82c1de7d741d1893f401d8f (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
@import url("fonts/Inter-4.1/web/inter.css");

body {
    font-family: Inter, sans-serif;
    max-width: 50em;
    margin: auto;
    padding: 0 1em;
    background-color: #181818;
    color: white;
}

nav#top {
    background-color: black;
    border-radius: 0.25rem;
}

nav#top ul {
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    padding: 0;
}

nav#top ul li {
    padding: 0.5em 0;
    border-radius: 0.25rem;
}

nav#top ul li a {
    color: white;
    text-decoration: none;
    padding: 0.5em 1em;
}

nav#top ul li a:hover {
    background-color: white;
    color: black;
}

nav#top ul li#active {
    border-radius: 0.25rem;
    background-color: rgb(194, 79, 30);
}

nav#top ul li#active a:hover {
    border-radius: 0.25rem;
    background-color: rgb(132, 40, 0);
    color: white;
}

div#main ul {
    padding-left: 0;
    list-style: none;
}

div#main ul li {
    border: 1px solid #303030;
}

div#main ul li a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 0.5em;
}

div#main a:hover {
    background-color: white;
    color: black;
    text-decoration: revert;
}

h1 {
    position: sticky;
    top: 0;
    background: inherit;
    padding: 0.5em 0;
}
Copyright 2019--2025 Marius PETER