all repos — searchix @ 934a0693213df901078cd1bc75a5b7e1b5c87555

Search engine for NixOS, nix-darwin, home-manager and NUR users

frontend/static/style.css (view raw)

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
:root {
  --standard-border-radius: 0;
  --preformatted: var(--code);
  --min-width: 60rem;
  --accent-error: #ffe0e0;
}

@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;
}
body > header > :only-child {
  margin-block-start: 1ex;
}
header > nav {
  width: min(var(--min-width), 90%);
  display: flex;
  padding: 0.5rem 0;
}
header > nav a {
  margin-bottom: 1ex;
  font-size: 1.15rem;
}
nav > h1 > a {
  margin-left: unset;
  padding-left: unset;
  border: 1px transparent;
}
body > header h1 {
  margin: unset;
  font-size: 1.15rem;
  line-height: 2;
}

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);
}

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

.error {
  background: var(--accent-error);
}

h2 {
  font-size: 1.5rem;
}

h2:only-child {
  margin-top: 0;
}

h3 {
  margin: unset;
  font-size: 1.25rem;
  display: inline-block;
}

blockquote > p {
  margin: unset;
}