openbsd-webzine/issues/_common/header

158 lines
3.2 KiB
Plaintext

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="alternate" type="application/rss+xml" href="https://webzine.puffy.cafe/atom.xml">
<meta property="og:title" content="OpenBSD webzine __TITLE__" />
<meta property="og:description" content="Webzine created by volunteers who are passionate about the OpenBSD project development." />
<meta property="og:url" content="https://webzine.puffy.cafe/__FILENAME__" />
<meta property="og:type" content="website" />
<meta property="og:locale" content="en_EN" />
<title>OpenBSD_WEBZINE_ISSUE #__ISSUE__</title>
<style>
#title {
text-align: center;
font-size:3em;
font-weight:bold;
margin:0.75em auto;
}
#title a {
text-decoration: none;
}
#banner {
border-top: .2em double black;
border-bottom: .2em double black;
padding: .5em;
margin-bottom: 2em;
text-align:center;
display: flex;
justify-content: space-between;
}
.puffies {
margin: auto;
text-align: center;
}
.permalink {
color: steelblue;
text-decoration: underline;
}
a {
color:black;
text-decoration:underline;
}
.permalink::before { content: "↗ "; }
.permalink:hover { color: plum; }
h1 {
font-size: 1.5em;
line-height: 0.9em;
}
p {
text-align: justify;
text-justify: auto;
}
html, body {
font-size: 1.1em;
font-family:serif;
background-color: #fff;
}
body {
margin: 1em auto;
padding-left: 30px;
padding-right: 30px;
padding-bottom: 30px;
max-width: 80ch;
border: 1px solid #111;
background-color: #eee;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
line-height: 1.5;
}
main {
column-count: 2;
column-gap: 2em;
}
img {
max-width: 100%;
height: auto;
margin: auto;
border: 3px solid black;
padding: .25em;
}
ul {
padding-left: .5em;
}
blockquote {
position: relative;
padding: 1.5rem;
}
blockquote:before,
blockquote:after {
position: absolute;
font-size: 4rem;
color:rgba(128,128,128,0.5);
}
blockquote:before {
content: open-quote;
left: -1rem;
top: -1rem;
}
blockquote:after {
content: close-quote;
right: -1rem;
bottom: -1rem;
}
cite {
font-size: smaller;
text-align: right;
width:100%;
display:block;
}
p:first-of-type:first-letter {
float:left;
font-size: 3em;
padding: 0.05em 0.05em 0 0;
}
@media print {
body { background-color:white; max-width:100%;}
main { column-count:1; }
}
@media screen and (max-width:800px) {
main { column-count: 1; }
}
@media (prefers-color-scheme: dark) {
body { color: #eee; background-color: #111; }
html { background-color: black; }
.permalink { color: deepskyblue; }
img { border-color: #eee; }
#banner { border-color:#eee; }
a { color:#eee; }
}
</style>
</head>
<body>