Blob


1 /* $OpenBSD: openbsd.css,v 1.9 2019/06/03 02:43:03 deraadt Exp $ */
3 :root {
4 --red: #E00000;
5 --green: #008100;
6 --blue: #0000E0;
7 --buildhead: #E0E0E0;
8 }
10 :link {
11 color: #23238E;
12 }
14 :visited {
15 color: #008088;
16 }
18 body {
19 background-color: #FFFFFF;
20 color: #111111;
21 margin: 15px auto;
22 padding: 0 10px;
23 }
25 code {
26 white-space: nowrap;
27 }
29 @media (min-width: 800px) {
30 body {
31 max-width: 85%;
32 }
33 }
35 tt {
36 white-space: pre;
37 }
39 .cmdbox {
40 background: #F5F5F5;
41 border: 1px solid #AAAAAA;
42 overflow: auto;
43 padding: 10px;
44 }
46 #OpenBSD {
47 color: #E00000;
48 }
50 #OpenBSD :link i, #OpenBSD :visited i {
51 color: #0000FF;
52 }
54 #OpenBSD :link b, #OpenBSD :visited b {
55 color: #000084;
56 }
58 #OpenBSD small {
59 font-weight: normal;
60 float: right;
61 }
63 /* sidebar layout */
65 #project-main {
66 height: 100%;
67 border-collapse: collapse;
68 position: absolute;
69 bottom: 0;
70 left: 0;
71 right: 0;
72 top: 0;
73 }
75 #project-main td {
76 padding: 4px;
77 }
79 #project-main tr td:first-child {
80 border-right: 11px solid;
81 }
83 #project-main tr td:first-child {
84 background-color: #6BBDD6;
85 border-color: #007B9C;
86 }
88 #project-main.not-openbsd tr td:first-child {
89 background-color: #6BBDD6;
90 border-color: #007B9C;
91 }
93 #project-main tr td:first-child h1 {
94 margin: 0;
95 font-size: 15pt;
96 white-space: nowrap;
97 }
99 #project-main tr td:first-child ul {
100 margin-top: 0;
101 margin-bottom: 1em;
102 padding-left: 0;
105 #project-main tr td:first-child ul li {
106 list-style-type: none;
107 list-style-position: inside;
108 margin-left: 0.5em;
111 #project-main .header {
112 margin: 0;
113 text-align: center;
116 #callout {
117 color: #E00000;
118 font-weight: bold;
119 text-align: center;
122 .not-openbsd #callout {
123 color: #0000A0;
124 font-weight: normal;
127 #project-main .align-top {
128 vertical-align: top;
131 #project-main .align-bottom {
132 vertical-align: bottom;
135 /* errataXX.html */
137 #errata strong {
138 color: var(--green);
141 /* XX.html */
143 #release #OpenBSD + table {
144 border-spacing: 0;
145 margin-bottom: 1.5em;
148 #release #OpenBSD + table td {
149 vertical-align: top;
152 #release #OpenBSD + table > tbody > tr > td {
153 padding-left: 1.4em;
156 #release #OpenBSD + table ul {
157 margin-left: 0;
158 padding-left: 0;
161 #release #OpenBSD + table ul li {
162 margin-left: 0;
163 padding-left: 0;
166 #release cite.isbn {
167 color: var(--red);
168 font-style: normal;
171 #release code.reldir {
172 color: var(--red);
173 font-family: serif;
176 #release table.signify {
177 font-family: monospace;
180 #release table.signify td {
181 padding: 0;
184 #release h3 {
185 color: var(--blue);
188 #release #quickinstall h3 {
189 color: var(--red);
192 #release kbd {
193 font-weight: bolder;
196 #release #new li p {
197 margin-bottom: 0;
200 #release #new li p + p {
201 margin-top: 0;
204 #release #new li + li {
205 margin-top: 1em;
208 #release #new li li + li {
209 margin-top: 0;
212 #release #new li li ul {
213 margin-bottom: 0;
216 #release #quickinstall p:first-child {
217 margin-left: 0;
220 #release #quickinstall p {
221 margin-left: 2.5em;
224 #release #quickinstall blockquote {
225 margin-left: 4.5em;
228 /* platform pages */
230 #platform #OpenBSD + hr + table {
231 margin-bottom: 0;
233 #platform #OpenBSD + hr + table tr {
234 margin-left: 0;
237 #platform #OpenBSD + hr + table td {
238 vertical-align: top;
239 padding-left: 0;
240 padding-bottom: 0;
243 #platform #OpenBSD + hr + table p {
244 margin-top: 0;
247 #platform #OpenBSD + hr + table p:last-child {
248 margin-bottom: 0;
251 #platform h3 {
252 color: var(--blue);
255 /* redefine colors for dark mode */
257 @media (prefers-color-scheme: dark) {
258 :root {
259 --red: #E05434;
260 --green: #20B700;
261 --blue: #A7C1E5;
262 --buildhead: #474749;
265 :link {
266 color: #BAD7FF;
269 :visited {
270 color: #F6BAFF;
273 body {
274 background-color: #1E1F21;
275 color: #EEEFF1;
278 .cmdbox {
279 background: #000000;
280 color: #FFFFFFF;
283 #OpenBSD :link {
284 text-decoration-color: #CF4229;
287 #OpenBSD :link i, #OpenBSD :visited i {
288 color: #F2CA30;
291 #OpenBSD :link b, #OpenBSD :visited b {
292 color: #CF4229;
295 #OpenBSD {
296 color: #EEEFF1;
299 #faq #OpenBSD small :link {
300 text-decoration-color: #BAD7FF;
303 #project-main tr td:first-child {
304 background-color: #202F51;
305 border-color: #97BADB;
308 #project-main.not-openbsd tr td:first-child {
309 background-color: #202F51;
310 border-color: #97BADB;
313 #callout {
314 color: #E05434;
317 .not-openbsd #callout {
318 color: #E05434;