515 lines
12 KiB
HTML
515 lines
12 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
|
|
<title>{{ title }} — {{ config.site.name }}</title>
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link href="https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400&family=Libre+Caslon+Text:ital,wght@0,400;0,700;1,400&display=swap" rel="stylesheet">
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/katex.min.css">
|
|
<style>
|
|
html { background: #1a1a2e; }
|
|
* {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
:root {
|
|
--navy: #0a1628;
|
|
--navy-mid: #122244;
|
|
--gold: #c9a84c;
|
|
--gold-light: #e8c97a;
|
|
--paper: #f5f0e5;
|
|
--paper-dark: #e8e0cc;
|
|
--ink: #1a1410;
|
|
--ink-dim: #3d3020;
|
|
--ink-light: #7a6a50;
|
|
}
|
|
|
|
body {
|
|
background: #1a1a2e;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: flex-start;
|
|
padding: 40px 16px 60px;
|
|
font-family: "Libre Caslon Text", "Georgia", serif;
|
|
}
|
|
|
|
.document {
|
|
width: 100%;
|
|
max-width: 720px;
|
|
}
|
|
|
|
/* Passport cover */
|
|
.passport-cover {
|
|
background: var(--navy);
|
|
background-image:
|
|
repeating-linear-gradient(45deg,
|
|
rgba(201,168,76,0.03) 0px,
|
|
rgba(201,168,76,0.03) 1px,
|
|
transparent 1px,
|
|
transparent 12px
|
|
);
|
|
padding: 32px 40px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
text-align: center;
|
|
border-bottom: 3px solid var(--gold);
|
|
}
|
|
|
|
.cover-emblem {
|
|
width: 80px;
|
|
height: 80px;
|
|
border: 2px solid var(--gold);
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-bottom: 16px;
|
|
position: relative;
|
|
}
|
|
|
|
.cover-emblem::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 6px;
|
|
border: 1px solid rgba(201,168,76,0.4);
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.cover-emblem-inner {
|
|
font-size: 42px;
|
|
color: var(--gold);
|
|
font-weight: 700;
|
|
letter-spacing: -0.02em;
|
|
}
|
|
|
|
.cover-country {
|
|
font-family: "Courier Prime", monospace;
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.3em;
|
|
text-transform: uppercase;
|
|
color: var(--gold-light);
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.cover-type {
|
|
font-size: 36px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.12em;
|
|
text-transform: uppercase;
|
|
color: var(--gold);
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.cover-type-de {
|
|
font-size: 21px;
|
|
letter-spacing: 0.08em;
|
|
color: rgba(201,168,76,0.6);
|
|
}
|
|
|
|
/* Security watermark pattern */
|
|
.cover-watermark {
|
|
margin-top: 20px;
|
|
font-size: 14px;
|
|
font-family: "Courier Prime", monospace;
|
|
color: rgba(201,168,76,0.2);
|
|
letter-spacing: 0.3em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
/* Photo + biodata page */
|
|
.biodata-page {
|
|
background: var(--paper);
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Ccircle cx='50' cy='50' r='30' fill='none' stroke='%23c9a84c' stroke-width='0.3' stroke-opacity='0.15'/%3E%3C/svg%3E");
|
|
background-size: 60px 60px;
|
|
padding: 28px 32px;
|
|
border-bottom: 2px solid var(--gold);
|
|
}
|
|
|
|
.biodata-top {
|
|
display: grid;
|
|
grid-template-columns: 100px 1fr;
|
|
gap: 20px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.photo-box {
|
|
width: 100px;
|
|
height: 120px;
|
|
border: 1px solid var(--gold);
|
|
background: var(--paper-dark);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.photo-placeholder {
|
|
font-size: 60px;
|
|
color: var(--ink-light);
|
|
line-height: 1;
|
|
}
|
|
|
|
.photo-box-label {
|
|
position: absolute;
|
|
bottom: 4px;
|
|
left: 0;
|
|
right: 0;
|
|
text-align: center;
|
|
font-family: "Courier Prime", monospace;
|
|
font-size: 12px;
|
|
letter-spacing: 0.12em;
|
|
color: var(--ink-light);
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.biodata-fields {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 10px;
|
|
align-content: start;
|
|
}
|
|
|
|
.field {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1px;
|
|
}
|
|
|
|
.field-label {
|
|
font-family: "Courier Prime", monospace;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.2em;
|
|
text-transform: uppercase;
|
|
color: var(--ink-light);
|
|
}
|
|
|
|
.field-value {
|
|
font-size: 21px;
|
|
color: var(--ink);
|
|
font-weight: 700;
|
|
border-bottom: 1px solid var(--ink-light);
|
|
padding-bottom: 2px;
|
|
}
|
|
|
|
.field-value-sm {
|
|
font-size: 18px;
|
|
font-weight: 400;
|
|
}
|
|
|
|
/* Document number banner */
|
|
.doc-number-strip {
|
|
background: var(--navy-mid);
|
|
color: var(--gold);
|
|
font-family: "Courier Prime", monospace;
|
|
font-size: 16px;
|
|
letter-spacing: 0.3em;
|
|
padding: 6px 32px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
/* Tags as stamps */
|
|
.stamps-section {
|
|
background: var(--paper);
|
|
padding: 20px 32px;
|
|
border-bottom: 1px solid var(--paper-dark);
|
|
}
|
|
|
|
.stamps-label {
|
|
font-family: "Courier Prime", monospace;
|
|
font-size: 14px;
|
|
letter-spacing: 0.2em;
|
|
text-transform: uppercase;
|
|
color: var(--ink-light);
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.stamps-grid {
|
|
display: flex;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.stamp-item {
|
|
border: 2px solid var(--ink-light);
|
|
padding: 6px 12px;
|
|
transform: rotate(-2deg);
|
|
font-family: "Courier Prime", monospace;
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.1em;
|
|
color: var(--ink-dim);
|
|
}
|
|
|
|
.stamp-item:nth-child(2n) { transform: rotate(1.5deg); }
|
|
.stamp-item:nth-child(3n) { transform: rotate(-1deg); border-color: var(--navy-mid); color: var(--navy-mid); }
|
|
.stamp-item:nth-child(4n) { transform: rotate(2.5deg); }
|
|
|
|
/* Content / observations pages */
|
|
.content-pages {
|
|
background: var(--paper);
|
|
padding: 28px 36px 48px;
|
|
}
|
|
|
|
.observations-header {
|
|
font-family: "Courier Prime", monospace;
|
|
font-size: 14px;
|
|
letter-spacing: 0.2em;
|
|
text-transform: uppercase;
|
|
color: var(--ink-light);
|
|
border-bottom: 1px solid var(--paper-dark);
|
|
padding-bottom: 6px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.content-area h1 {
|
|
font-family: "Libre Caslon Text", serif;
|
|
font-size: 33px;
|
|
font-weight: 700;
|
|
color: var(--ink);
|
|
margin-top: 28px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.content-area h2 {
|
|
font-size: 27px;
|
|
font-weight: 700;
|
|
color: var(--ink-dim);
|
|
margin-top: 22px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.content-area h3 {
|
|
font-size: 22px;
|
|
font-weight: 700;
|
|
color: var(--ink-dim);
|
|
margin-top: 18px;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.content-area h4, .content-area h5, .content-area h6 {
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
color: var(--ink-light);
|
|
margin-top: 14px;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.content-area p {
|
|
font-size: 22px;
|
|
margin-bottom: 12px;
|
|
color: var(--ink);
|
|
line-height: 1.7;
|
|
text-align: justify;
|
|
hyphens: auto;
|
|
}
|
|
|
|
.content-area a {
|
|
color: var(--navy-mid);
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.content-area code {
|
|
font-family: "Courier Prime", monospace;
|
|
font-size: 20px;
|
|
background: var(--paper-dark);
|
|
color: var(--ink-dim);
|
|
padding: 1px 5px;
|
|
}
|
|
|
|
.content-area pre {
|
|
background: var(--paper-dark);
|
|
border-left: 3px solid var(--navy-mid);
|
|
padding: 12px 16px;
|
|
margin: 12px 0;
|
|
overflow-x: auto;
|
|
font-size: 20px;
|
|
font-family: "Courier Prime", monospace;
|
|
}
|
|
|
|
.content-area pre code {
|
|
background: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.content-area blockquote {
|
|
border-left: 3px solid var(--gold);
|
|
padding: 10px 16px;
|
|
margin: 12px 0;
|
|
background: rgba(201,168,76,0.06);
|
|
font-style: italic;
|
|
color: var(--ink-dim);
|
|
}
|
|
|
|
.content-area ul {
|
|
margin: 8px 0 14px 22px;
|
|
color: var(--ink);
|
|
}
|
|
|
|
.content-area ol {
|
|
margin: 8px 0 14px 26px;
|
|
color: var(--ink);
|
|
}
|
|
|
|
.content-area li {
|
|
margin-bottom: 5px;
|
|
font-size: 22px;
|
|
}
|
|
|
|
.content-area table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin: 12px 0;
|
|
font-size: 21px;
|
|
}
|
|
|
|
.content-area th {
|
|
background: var(--navy-mid);
|
|
color: var(--gold-light);
|
|
padding: 7px 12px;
|
|
text-align: left;
|
|
font-family: "Courier Prime", monospace;
|
|
font-size: 16px;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.content-area td {
|
|
padding: 7px 12px;
|
|
border-bottom: 1px solid var(--paper-dark);
|
|
}
|
|
|
|
.content-area img {
|
|
max-width: 100%;
|
|
border: 1px solid var(--paper-dark);
|
|
margin: 10px 0;
|
|
}
|
|
|
|
.content-area hr {
|
|
border: none;
|
|
border-top: 1px solid var(--paper-dark);
|
|
margin: 20px 0;
|
|
}
|
|
|
|
/* MRZ (Machine Readable Zone) */
|
|
.mrz {
|
|
background: var(--navy);
|
|
padding: 12px 20px;
|
|
font-family: "Courier Prime", monospace;
|
|
font-size: 18px;
|
|
color: var(--gold-light);
|
|
letter-spacing: 0.15em;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.mrz-line {
|
|
white-space: nowrap;
|
|
margin-bottom: 2px;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.biodata-top { grid-template-columns: 1fr; }
|
|
.biodata-fields { grid-template-columns: 1fr; }
|
|
.content-pages { padding: 20px 20px 40px; }
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<a href="/{{ preview_query }}" style="position:fixed;top:calc(1rem + env(safe-area-inset-top, 0px));left:calc(1rem + env(safe-area-inset-left, 0px));z-index:9999;font-family:system-ui,-apple-system,sans-serif;font-size: 1.08rem;padding:0.5rem 0.9rem;background:rgba(255,255,255,0.95);color:#000;text-decoration:none;border-radius:999px;box-shadow:0 2px 8px rgba(0,0,0,0.15);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border:1px solid rgba(0,0,0,0.1);transition:transform 0.2s">← back</a>
|
|
|
|
<div class="document">
|
|
|
|
<div class="passport-cover">
|
|
<div class="cover-emblem">
|
|
<div class="cover-emblem-inner">{{ config.site.author | first }}</div>
|
|
</div>
|
|
<div class="cover-country">{{ config.site.name }}</div>
|
|
<div class="cover-type">REISEPASS</div>
|
|
<div class="cover-type-de">PASSPORT / PASSEPORT</div>
|
|
<div class="cover-watermark">
|
|
DOCUMENT FOR READING ONLY · DOKUMENT NUR ZUM LESEN · DOCUMENT POUR LECTURE UNIQUEMENT
|
|
</div>
|
|
</div>
|
|
|
|
<div class="doc-number-strip">
|
|
<span>P<DEU</span>
|
|
<span>{{ published_date | replace("-", "") }}</span>
|
|
<span>{{ config.site.name | upper | truncate(12, true, "") | replace(" ", "") }}</span>
|
|
</div>
|
|
|
|
<div class="biodata-page">
|
|
<div class="biodata-top">
|
|
<div class="photo-box">
|
|
<div class="photo-placeholder">☺</div>
|
|
<div class="photo-box-label">Photo</div>
|
|
</div>
|
|
<div class="biodata-fields">
|
|
<div class="field">
|
|
<div class="field-label">Surname / Nom</div>
|
|
<div class="field-value">{{ config.site.author | upper }}</div>
|
|
</div>
|
|
<div class="field">
|
|
<div class="field-label">Type / Type</div>
|
|
<div class="field-value field-value-sm">ARTICLE</div>
|
|
</div>
|
|
<div class="field">
|
|
<div class="field-label">Date of Publication</div>
|
|
<div class="field-value field-value-sm">{{ published_date }}</div>
|
|
</div>
|
|
<div class="field">
|
|
<div class="field-label">Reading Time</div>
|
|
<div class="field-value field-value-sm">{{ reading_time }}</div>
|
|
</div>
|
|
{% if updated_date %}
|
|
<div class="field">
|
|
<div class="field-label">Revised / Überarbeitet</div>
|
|
<div class="field-value field-value-sm">{{ updated_date }}</div>
|
|
</div>
|
|
{% endif %}
|
|
<div class="field">
|
|
<div class="field-label">Issuing Authority</div>
|
|
<div class="field-value field-value-sm">{{ config.site.name }}</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{% if taxonomy.tags %}
|
|
<div class="stamps-section">
|
|
<div class="stamps-label">Entry Stamps / Einreisestempel</div>
|
|
<div class="stamps-grid">
|
|
{% for tag in taxonomy.tags %}
|
|
<div class="stamp-item">{{ tag }}</div>
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
{% endif %}
|
|
|
|
<div class="content-pages">
|
|
<div class="observations-header">Observations / Bemerkungen — {{ title }}</div>
|
|
<div class="content-area">
|
|
{{ content | safe }}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="mrz">
|
|
<div class="mrz-line">P<DEU{{ config.site.author | upper | replace(" ", "<") }}<<<<<<<<<<<<<<<<<<<<<<<<</div>
|
|
<div class="mrz-line">{{ published_date | replace("-", "") }}0DEU9991231M{{ updated_date | default("0000000") | replace("-", "") }}<<<<<<<<{{ reading_time | replace(" min read", "") | replace(" ", "") }}</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|