Annotation of www/openbsd.css, Revision 1.13
1.11 bentley 1: :root {
2: --red: #e00000;
3: --green: #008100;
4: --blue: #0000e0;
5: --buildhead: #e0e0e0;
6: }
7:
8: :link {
9: color: #23238e;
10: }
11:
1.1 sthen 12: body {
1.5 tb 13: margin: 15px auto;
1.1 sthen 14: color: #111;
1.8 bentley 15: background-color: #fff;
1.1 sthen 16: padding: 0 10px;
17: }
18:
1.9 tb 19: code {
20: white-space: nowrap;
21: }
22:
1.4 natano 23: @media (min-width: 800px) {
24: body {
1.5 tb 25: max-width: 85%;
1.4 natano 26: }
1.1 sthen 27: }
1.6 tb 28:
29: tt {
30: white-space: pre;
31: }
1.7 tj 32:
33: .cmdbox {
34: background: #f5f5f5;
35: border: 1px solid #aaa;
36: overflow: auto;
37: padding: 10px;
38: }
39:
1.8 bentley 40: #OpenBSD {
41: color: #e00000;
42: }
43:
1.13 ! bentley 44: #OpenBSD :link i, #OpenBSD :visited i {
1.12 bentley 45: color: #0000ff;
46: }
47:
1.13 ! bentley 48: #OpenBSD :link b, #OpenBSD :visited b {
1.8 bentley 49: color: #000084;
50: }
51:
52: #OpenBSD small {
53: font-weight: normal;
54: float: right;
55: }
1.10 bentley 56:
57:
58: /* Project "sidebar" layout */
59:
60: #project-main {
61: height: 100%;
62: border-collapse: collapse;
63: position: absolute;
64: bottom: 0;
65: left: 0;
66: right: 0;
67: top: 0;
68: }
69:
70: #project-main td {
71: padding: 4px;
72: }
73:
74: #project-main tr td:first-child {
75: border-right: 11px solid;
76: }
77:
78: #project-main tr td:first-child {
79: background-color: #6bbdd6;
80: border-color: #007b9c;
81: }
82:
83: #project-main.not-openbsd tr td:first-child {
84: background-color: #99cced;
85: border-color: #0000cc;
86: }
87:
88: #project-main tr td:first-child h1 {
89: margin: 0;
90: font-size: 15pt;
91: white-space: nowrap;
92: }
93:
94: #project-main tr td:first-child ul {
95: margin-top: 0;
96: margin-bottom: 1em;
97: padding-left: 0;
98: }
99:
100: #project-main tr td:first-child ul li {
101: list-style-type: none;
102: list-style-position: inside;
103: margin-left: 0.5em;
104: }
105:
106: #project-main .header {
107: margin: 0;
108: text-align: center;
109: }
110:
111: #callout {
112: text-align: center;
113: }
114:
115: #callout {
116: color: #e00000;
117: font-weight: bold;
118: }
119:
120: .not-openbsd #callout {
121: color: #0000a0;
122: font-weight: normal;
123: }
124:
125: #project-main .align-top {
126: vertical-align: top;
127: }
128:
129: #project-main .align-bottom {
130: vertical-align: bottom;
1.11 bentley 131: }
132:
133: /* errataXX.html */
134:
135: #errata strong {
136: color: var(--green);
137: }
138:
139: /* XX.html */
140:
141: #release #OpenBSD + table {
142: border-spacing: 0;
143: margin-bottom: 1.5em;
144: }
145:
146: #release #OpenBSD + table td {
147: vertical-align: top;
148: }
149:
150: #release #OpenBSD + table > tbody > tr > td {
151: padding-left: 1.4em;
152: }
153:
154: #release #OpenBSD + table ul {
155: margin-left: 0;
156: padding-left: 0;
157: }
158:
159: #release #OpenBSD + table ul li {
160: margin-left: 0;
161: padding-left: 0;
162: }
163:
164: #release cite.isbn {
165: color: var(--red);
166: font-style: normal;
167: }
168:
169: #release code.reldir {
170: color: var(--red);
171: font-family: serif;
172: }
173:
174: #release table.signify {
175: font-family: monospace;
176: }
177:
178: #release table.signify td {
179: padding: 0;
180: }
181:
182: #release h3 {
183: color: var(--blue);
184: }
185:
186: #release #quickinstall h3 {
187: color: var(--red);
188: }
189:
190: #release kbd {
191: font-weight: bolder;
192: }
193:
194: #release #new li p {
195: margin-bottom: 0;
196: }
197:
198: #release #new li p + p {
199: margin-top: 0;
200: }
201:
202: #release #new li + li {
203: margin-top: 1em;
204: }
205:
206: #release #new li li + li {
207: margin-top: 0;
208: }
209:
210: #release #new li li ul {
211: margin-bottom: 0;
212: }
213:
214: #release #quickinstall p:first-child {
215: margin-left: 0;
216: }
217:
218: #release #quickinstall p {
219: margin-left: 2.5em;
220: }
221:
222: #release #quickinstall blockquote {
223: margin-left: 4.5em;
224: }
225:
226: /* platform pages */
227:
228: #platform #OpenBSD + hr + table {
229: margin-bottom: 0;
230: }
231: #platform #OpenBSD + hr + table tr {
232: margin-left: 0;
233: }
234:
235: #platform #OpenBSD + hr + table td {
236: vertical-align: top;
237: padding-left: 0;
238: padding-bottom: 0;
239: }
240:
241: #platform #OpenBSD + hr + table p {
242: margin-top: 0;
243: }
244:
245: #platform #OpenBSD + hr + table p:last-child {
246: margin-bottom: 0;
247: }
248:
249: #platform h3 {
250: color: var(--blue);
251: }
252:
253: @media (prefers-color-scheme: dark) {
254: #OpenBSD :link {
255: text-decoration-color: #cf4229;
1.13 ! bentley 256: -webkit-text-stroke: 1px black;
! 257: font-weight: 1000;
1.11 bentley 258: }
259:
1.13 ! bentley 260: #OpenBSD :link i, #OpenBSD :visited i {
1.11 bentley 261: color: #f2ca30;
262: }
263:
1.13 ! bentley 264: #OpenBSD :link b, #OpenBSD :visited b {
1.11 bentley 265: color: #cf4229;
266: }
1.10 bentley 267: }