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