File: [local] / www / openbsd.css (download)
Revision 1.14, Wed May 29 14:41:58 2019 UTC (5 years ago) by bentley
Branch: MAIN
Changes since 1.13: +2 -0 lines
Add an rcsid to the CSS.
|
/* $OpenBSD: openbsd.css,v 1.14 2019/05/29 14:41:58 bentley Exp $ */
:root {
--red: #e00000;
--green: #008100;
--blue: #0000e0;
--buildhead: #e0e0e0;
}
:link {
color: #23238e;
}
body {
margin: 15px auto;
color: #111;
background-color: #fff;
padding: 0 10px;
}
code {
white-space: nowrap;
}
@media (min-width: 800px) {
body {
max-width: 85%;
}
}
tt {
white-space: pre;
}
.cmdbox {
background: #f5f5f5;
border: 1px solid #aaa;
overflow: auto;
padding: 10px;
}
#OpenBSD {
color: #e00000;
}
#OpenBSD :link i, #OpenBSD :visited i {
color: #0000ff;
}
#OpenBSD :link b, #OpenBSD :visited b {
color: #000084;
}
#OpenBSD small {
font-weight: normal;
float: right;
}
/* Project "sidebar" layout */
#project-main {
height: 100%;
border-collapse: collapse;
position: absolute;
bottom: 0;
left: 0;
right: 0;
top: 0;
}
#project-main td {
padding: 4px;
}
#project-main tr td:first-child {
border-right: 11px solid;
}
#project-main tr td:first-child {
background-color: #6bbdd6;
border-color: #007b9c;
}
#project-main.not-openbsd tr td:first-child {
background-color: #99cced;
border-color: #0000cc;
}
#project-main tr td:first-child h1 {
margin: 0;
font-size: 15pt;
white-space: nowrap;
}
#project-main tr td:first-child ul {
margin-top: 0;
margin-bottom: 1em;
padding-left: 0;
}
#project-main tr td:first-child ul li {
list-style-type: none;
list-style-position: inside;
margin-left: 0.5em;
}
#project-main .header {
margin: 0;
text-align: center;
}
#callout {
text-align: center;
}
#callout {
color: #e00000;
font-weight: bold;
}
.not-openbsd #callout {
color: #0000a0;
font-weight: normal;
}
#project-main .align-top {
vertical-align: top;
}
#project-main .align-bottom {
vertical-align: bottom;
}
/* errataXX.html */
#errata strong {
color: var(--green);
}
/* XX.html */
#release #OpenBSD + table {
border-spacing: 0;
margin-bottom: 1.5em;
}
#release #OpenBSD + table td {
vertical-align: top;
}
#release #OpenBSD + table > tbody > tr > td {
padding-left: 1.4em;
}
#release #OpenBSD + table ul {
margin-left: 0;
padding-left: 0;
}
#release #OpenBSD + table ul li {
margin-left: 0;
padding-left: 0;
}
#release cite.isbn {
color: var(--red);
font-style: normal;
}
#release code.reldir {
color: var(--red);
font-family: serif;
}
#release table.signify {
font-family: monospace;
}
#release table.signify td {
padding: 0;
}
#release h3 {
color: var(--blue);
}
#release #quickinstall h3 {
color: var(--red);
}
#release kbd {
font-weight: bolder;
}
#release #new li p {
margin-bottom: 0;
}
#release #new li p + p {
margin-top: 0;
}
#release #new li + li {
margin-top: 1em;
}
#release #new li li + li {
margin-top: 0;
}
#release #new li li ul {
margin-bottom: 0;
}
#release #quickinstall p:first-child {
margin-left: 0;
}
#release #quickinstall p {
margin-left: 2.5em;
}
#release #quickinstall blockquote {
margin-left: 4.5em;
}
/* platform pages */
#platform #OpenBSD + hr + table {
margin-bottom: 0;
}
#platform #OpenBSD + hr + table tr {
margin-left: 0;
}
#platform #OpenBSD + hr + table td {
vertical-align: top;
padding-left: 0;
padding-bottom: 0;
}
#platform #OpenBSD + hr + table p {
margin-top: 0;
}
#platform #OpenBSD + hr + table p:last-child {
margin-bottom: 0;
}
#platform h3 {
color: var(--blue);
}
@media (prefers-color-scheme: dark) {
#OpenBSD :link {
text-decoration-color: #cf4229;
-webkit-text-stroke: 1px black;
font-weight: 1000;
}
#OpenBSD :link i, #OpenBSD :visited i {
color: #f2ca30;
}
#OpenBSD :link b, #OpenBSD :visited b {
color: #cf4229;
}
}