/* $MirOS: www/files/vstyle.css,v 1.87 2025/06/01 20:21:39 tg Exp $ */

/*-
 * MirBSD webpages: copyrighted material; read LICENCE for terms of use.
 */


/*
 * Fonts
 */

/*
 * IE-less; order is: local(postscriptname), local(fullname), woff2, TTF/OTF
 * $ fc-scan --format "%{postscriptname}|%{fullname}\n" *.[to]tf
 */

@font-face {
	font-family:"Gentium Plus";
	font-style:normal;
	font-weight:normal;
	src:local("GentiumPlus"),
	    local("Gentium Plus"),
	    url("FNT/GentiumPlus-Regular.woff2") format("woff2"),
	    url("FNT/GentiumPlusmbp-Regular.ttf") format("truetype");
	font-display:swap;
}

@font-face {
	font-family:"Gentium Plus";
	font-style:italic;
	font-weight:normal;
	src:local("GentiumPlus-Italic"),
	    local("Gentium Plus Italic"),
	    url("FNT/GentiumPlus-Italic.woff2") format("woff2"),
	    url("FNT/GentiumPlusmbp-Italic.ttf") format("truetype");
	font-display:swap;
}

@font-face {
	font-family:"Gentium Plus";
	font-style:normal;
	font-weight:bold;
	src:local("GentiumPlus-Bold"),
	    local("Gentium Plus Bold"),
	    url("FNT/GentiumPlus-Bold.woff2") format("woff2"),
	    url("FNT/GentiumPlusmbp-Bold.ttf") format("truetype");
	font-display:swap;
}

@font-face {
	font-family:"Gentium Plus";
	font-style:italic;
	font-weight:bold;
	src:local("GentiumPlus-BoldItalic"),
	    local("Gentium Plus Bold Italic"),
	    url("FNT/GentiumPlus-BoldItalic.woff2") format("woff2"),
	    url("FNT/GentiumPlusmbp-BoldItalic.ttf") format("truetype");
	font-display:swap;
}

/* also use for main body default font */
body, .gentium {
	font-family:"Gentium Plus",
	    "Bitstream Vera Serif", "DejaVu Serif", FreeSerif,
	    Palatino, "Palatino Linotype", "Book Antiqua", serif;
	font-feature-settings:"kern", "cv37", "cv47", "cv68", "cv69",
	    "cv77", "cv79", "ss01", "ss11", "ss12";
	line-height:1.5;
}

/*
 * Styles
 */

/* browser workarounds */

button, input, input::file-selector-button {
	appearance:none;
}
input[type=checkbox], input[type=radio], input[type=range] {
	appearance:auto;
}

code, kbd, pre, samp, tt, /* convenience */ .tt {
	font-family:FixedMisc, Inconsolatazi4varl_qu,
	    Fixed, "Inconsolata LGC", Inconsolata, monospace;
	/* no OpenType features in Inconsolatus QL [MirOS] */
	font-feature-settings:normal;
	font-size:1em;
}

/* body, generics */

body {
	max-width:100%;
	min-width:42em;
	background-color:#DDDDDD;
	margin:0px;
	padding:0px;
	-webkit-font-smoothing:antialiased;
	font-variant-emoji:text;
	/* work around https://github.com/silnrsi/font-gentium/issues/34 */
	font-size:12.5pt;
}

body, p, #content, .content {
	color:#333333;
}

kbd {
	background-color:#EEEEEE;
	padding:2px 1px;
	border:1px outset #999999;
	border-radius:3px;
	margin:0px 1px;
}

.manbody p {
	color:#666666;
}

:target:not(#content)::before {
	content:url("vmark.png");
	margin-right:.25em;
}

.manbody :target::before {
	content:"";
	margin-right:0px;
}

.note {
	font-size:9pt;
	color:#333333;
}

img {
	border:none;
}

table {
	border-collapse:collapse;
}

th {
	border-top:2px solid #FFFFFF;
	border-bottom:2px solid #FFFFFF;
}

td {
	border-bottom:2px solid #FFFFFF;
}

tt {
	white-space:nowrap;
}

/* for pre, tt */
.dowrap {
	white-space:normal;
}

/* links */

a {
	color:#990000;
	text-decoration:none;
	border-bottom:1px solid #990000;
}

a:visited {
	border-bottom:1px dashed #990000;
}

a:hover {
	color:#000000;
}

a.manlink {
	color:#660000;
	text-decoration:none;
	border-bottom:1px solid #000099;
}

a.manlink:visited {
	border-bottom:1px dashed #000099;
}

a.manlink:hover {
	color:#000000;
}

/*
 * Display an “external link” marker after absolute links.
 * Unfortunately, form buttons cannot be styled like this,
 * so check any action= targets and apply a span.vextform
 * around each submit button these have (only those whose
 * form @action actually goes externally, no autodetect).
 */

a[href^="//"]:after,
a[href^="ftp://"]:after,
a[href^="http://"]:after,
a[href^="https://"]:after,
a[href^="irc://"]:after,
a[href^="mailto:"]:after,
a[href^="news:"]:after,
a[href^="nntp://"]:after,
span.vextform:after {
	content:url(/vextlnk.png);
	margin:0 0 0 3px;
	white-space:nowrap;
	display:inline-block;
	width:10px;
	height:10px;
}

/* these are whitelisted as “internal link” */

a[href^="http://fish.mirbsd.org/"]:after,
a[href^="http://www.mirbsd.org/"]:after,
a[href^="https://www.mirbsd.org/"]:after {
	content:"";
	margin:0px;
	display:none;
}

/* encasing div blocks */

.heading {
	position:absolute;
		top:0px; left:0px;
		right:0px; height:125px;
	font-size:12px;
	background:#242424;
	border-bottom:5px solid #FFB000;
}

.trailing {
	position:absolute;
		top:130px;
		left:0px; right:0px;
}

.lynxonly {
	display:none;
}

/* stuff outside of encasing div blocks */

#skiplinks {
	position:absolute;
		top:0px; left:-10000px;
	width:1px;
	height:1px;
	overflow:visible;
}

#skiplinks a {
	display:inline-block;
	position:absolute;
		top:0px; left:0px;
	width:1px;
	height:1px;
	overflow:hidden;
}

#skiplinks a:focus {
	position:absolute;
		top:6px; left:10006px;
	width:auto;
	height:auto;
	white-space:nowrap;
	z-index:100;
	border:1px solid #FFB000;
	/*       ↑   →   ↓   ←   */
	padding:3px 6px 6px 6px;
	background-color:#0000FF;
	color:#FFFF00;
}

h1 {
	position:absolute;
		top:36px; left:200px;
	margin:0px;
	color:#FFFFFF;
	z-index:2;
}

/* stuff in .heading */

.hdrlnks {
	position:absolute;
		top:0px; left:27px;
	z-index:1;
}

/* encasing blocks inside .trailing */

.index {
	float:left;
	width:170px;
	border-right:5px solid #FFFFFF;
}

#content,
.content {
	margin-left:170px;
	padding:0px 2em 6px 12px;
	border-left:5px solid #FFFFFF;
	text-align:justify;
	text-justify:inter-word;
}

#content pre, #content tt,
.content pre, .content tt {
	/*XXX doesn’t work */
	text-align:left;
	text-justify:none;
}

.footer {
	clear:both;
	padding:0px 2em 0px 4px;
	font-size:10pt;
	border-top:2px solid #333333;
}

.footer p {
	line-height:1.2;
}

/* man.cgi */

.manbody {
	margin:-6px;
	padding:6px;
	line-height:normal;
	text-align:left;
}

.manbody .footer3, .manbody #footerImprint {
	display:none;
}

/* lists */

ul.lv1 {
	padding-left:20px;
	width:150px; /* .index width minus padding */
	list-style-image:none;
	list-style-type:circle;
}

ul.lv2 {
	padding-left:20px;
	width:130px; /* .lv1 width minus padding */
	list-style-image:none;
	list-style-type:disc;
}

li.markindex {
	list-style:url("vmark.png") square;
}

/* design elements */

.spacer {
	margin-bottom:1em;
}

.rcsdiv {
	white-space:normal;
}

.rcsid {
	white-space:nowrap;
}

.admin {
	display:none;
}

/* styles for the wlog, news, … */

div.wlsep {
	margin-top:3px;
	border-top:1px dotted #AAAAAA;
	font-size:smaller;
}

div.wlentry {
	padding-top:9px;
	/*      ↑   →   ↓   ←   */
	margin:0px 0px 1em 0px;
}

div.wlentry p {
	margin-bottom:0px;
}

div.wltitle {
	padding-bottom:3px;
	border-bottom:2px solid #666;
}

h3.wlentry {
	display:inline;
}

h3.wlentry tt {
	font-weight:normal;
}

h2.wlentry {
	font-weight:normal;
	font-size:150%;
	display:inline;
}

div.newsrss div:not(:first-of-type) {
	margin-top:9px;
}

h2 a {
	text-decoration:none;
	font-style:italic;
	border-bottom:none !important;
}

.manbody h2 a {
	font-style:normal;
}

h5, h6 {
	text-decoration:underline;
}
h5 > a {
	color:#000000;
	border:0px;
}

.wlsubtitle {
	font-weight:bold;
	color:#777777;
	display:inline;
	white-space:nowrap;
}

.wlsubtitle:before {
	content:" ";
}

.wltagtitle {
	font-weight:normal;
	font-size:80%;
}

.wltagtitle:before {
	content:" ";
}

.linkbot {
	padding:18px 0px 14px 0px;
	border-top:2px solid #666666;
}

.mirbsdwebsitehidefromnonrss {
	display:none;
}

/* put stuff into nice boxes */

.boxhead {
	margin-bottom:0px;
}

.boxtext {
	border:4px ridge blue;
	margin:0px 24px 0px 18px;
	padding:2px 3px 2px 3px;
}

.boxfoot {
	margin-top:0px;
}

pre {
	/*      ↑   →   ↓    ←   */
	margin:0px 9px 0px 15px;
}

blockquote {
	/*      ↑   →   ↓   ←   */
	margin:1em 3em 1em 0px;
	border-left:6px groove green;
	/*       ↑   →   ↓      ←   */
	padding:0px 0px 0px 1.25em;
}

blockquote > ul {
	padding-left:1em;
}

/* put text into indented box for WP listings */

.gc_body {
	border:2px solid green;
	padding:2px 12px 2px 3px;
	margin-left:3%;
	width:90%;
}

.gc_prospective {
	color:#666666;
}

/* put text into a white-on-black rectangle */

.revbox {
	background:#242424;
	color:#FFFFFF;
	padding:7px;
}

/* float and clear to the right (for in-text logos) */

.fr {
	float:right;
	margin-left:1em;
	margin-bottom:3px;
}

.cr {
	clear:right;
}

/* float to the left and clear all (box for banner galleries) */

.fl {
	float:left;
	margin-right:1em;
	margin-bottom:3px;
}

.flbox {
	float:left;
	margin:0px;
	padding:6px;
	border:1px solid #666;
}

.cb {
	clear:both;
}

.m0 {
	margin:0px;
}

.badgetext, /* convenience */ .sans {
	font-family:"Fira Sans", sans-serif;
	font-feature-settings:"kern", "cpsp", "zero", "ss04", "ss05";
}

.badgetext {
	font-size:x-small;
	text-align:center;
}

/* colours and other styles */

.greyed {
	color:#666666;
}

.b {
	font-weight:bold;
}

.i {
	font-style:italic;
}

.s {
	text-decoration:line-through;
}

.u {
	text-decoration:underline;
}

.hover {
	text-decoration:dashed underline;
}

/* you forgot the alt attribute */
img[alt=""], img:not([alt]) {
	border:5px dashed #CC0000;
}
