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