about summary refs log tree commit diff stats
path: root/frontend/static/style.css
blob: 8f9307947d6244da3a546e2978b5f2cfd86d66b8 (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
:root {
  --standard-border-radius: 0;
  --preformatted: var(--code);
  --min-width: 60rem;
}

@media (prefers-color-scheme: light) {
  :root {
    --text: black;
    --text-light: #212121;
  }
}

body {
  grid-template-columns: 1fr min(var(--min-width), 90%) 1fr;
}

body > header {
  align-items: center;
  display: flex;
  justify-content: center;
  padding: unset;
  & > :only-child {
    margin-block-start: 0;
  }
  & > nav {
    width: min(var(--min-width), 90%);
    display: flex;
    padding: 0.5rem 0;

    a {
      margin-bottom: unset;
    }

    & h1 {
      margin: unset;
      font-size: unset;
      line-height: 2;
      & > a {
        margin-left: unset;
        padding-left: unset;
        border: 1px transparent;
      }
    }
  }
}

form {
  margin: 1.5rem 0;
}

fieldset {
  display: flex;
  column-gap: 1ex;
  border: none;
  padding: unset;
  margin: unset;
}

section {
  border-top: none;
  margin: unset;
  padding: unset;
}

input[type="search"] {
  width: 100%;
}

dt::after {
  content: ": ";
}

dd {
  margin-inline-start: 1rem;
}

dd > p {
  margin: unset;
}

dl {
  display: grid;
  align-items: baseline;
  grid-row-gap: 1ch;
  grid-template-rows: 1fr;
  grid-template-columns: max-content minmax(90%, 1fr);
}

pre {
  margin: unset;
  padding: 1ch 1.4ch;
}

pre:has(> code) {
  background: var(--bg);
}

section {
  nav {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    a[rel="next"] {
      margin-left: auto;
    }
  }
  footer {
    text-align: center;
  }
}