610 lines
14 KiB
HTML
610 lines
14 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=Helvetica+Neue:wght@300;400;700&family=DM+Sans:ital,wght@0,300;0,400;0,500;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: #3d2b1f; }
|
|
* {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
:root {
|
|
--wood: #3d2b1f;
|
|
--wood-light: #5a3d2a;
|
|
--vinyl: #1a1a1a;
|
|
--vinyl-groove: #0d0d0d;
|
|
--label-bg: #f5c842;
|
|
--label-text: #1a1208;
|
|
--cream: #faf3e0;
|
|
--amber: #d4891a;
|
|
--text-dark: #1c1208;
|
|
--text-mid: #5a4020;
|
|
--text-dim: #9a7850;
|
|
--border: #e0d4b8;
|
|
}
|
|
|
|
body {
|
|
background: var(--wood);
|
|
background-image:
|
|
repeating-linear-gradient(
|
|
90deg,
|
|
rgba(0,0,0,0.08) 0px,
|
|
rgba(0,0,0,0.08) 1px,
|
|
transparent 1px,
|
|
transparent 12px
|
|
),
|
|
repeating-linear-gradient(
|
|
0deg,
|
|
rgba(0,0,0,0.03) 0px,
|
|
rgba(0,0,0,0.03) 1px,
|
|
transparent 1px,
|
|
transparent 24px
|
|
),
|
|
radial-gradient(ellipse at 20% 50%, rgba(90,61,42,0.6) 0%, transparent 60%),
|
|
radial-gradient(ellipse at 80% 50%, rgba(90,61,42,0.5) 0%, transparent 60%);
|
|
color: var(--text-dark);
|
|
font-family: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
font-size: 22px;
|
|
line-height: 1.55;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.player-layout {
|
|
display: flex;
|
|
min-height: 100vh;
|
|
flex-direction: column;
|
|
}
|
|
|
|
/* Player top section */
|
|
.player-top {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 0;
|
|
padding: 40px 40px 32px;
|
|
}
|
|
|
|
/* Turntable platter */
|
|
.turntable-section {
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 16px;
|
|
padding-right: 40px;
|
|
}
|
|
|
|
.platter {
|
|
width: 280px;
|
|
height: 280px;
|
|
border-radius: 50%;
|
|
background: radial-gradient(circle,
|
|
rgba(80,60,40,0.3) 0%,
|
|
rgba(60,40,20,0.5) 60%,
|
|
rgba(30,20,10,0.7) 100%
|
|
);
|
|
border: 4px solid rgba(255,255,255,0.05);
|
|
box-shadow:
|
|
0 0 0 8px rgba(0,0,0,0.3),
|
|
0 8px 40px rgba(0,0,0,0.5),
|
|
inset 0 0 40px rgba(0,0,0,0.4);
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
/* Vinyl record */
|
|
.vinyl {
|
|
width: 240px;
|
|
height: 240px;
|
|
border-radius: 50%;
|
|
background:
|
|
radial-gradient(circle at center, transparent 14%, rgba(255,255,255,0.02) 14.5%, transparent 15%),
|
|
radial-gradient(circle at center, transparent 18%, rgba(255,255,255,0.02) 18.5%, transparent 19%),
|
|
radial-gradient(circle at center, transparent 22%, rgba(255,255,255,0.02) 22.5%, transparent 23%),
|
|
radial-gradient(circle at center, transparent 26%, rgba(255,255,255,0.02) 26.5%, transparent 27%),
|
|
radial-gradient(circle at center, transparent 30%, rgba(255,255,255,0.02) 30.5%, transparent 31%),
|
|
radial-gradient(circle at center, transparent 34%, rgba(255,255,255,0.02) 34.5%, transparent 35%),
|
|
radial-gradient(circle at center, transparent 38%, rgba(255,255,255,0.02) 38.5%, transparent 39%),
|
|
radial-gradient(circle at center, transparent 42%, rgba(255,255,255,0.02) 42.5%, transparent 43%),
|
|
radial-gradient(circle at center, transparent 46%, rgba(255,255,255,0.02) 46.5%, transparent 47%),
|
|
conic-gradient(
|
|
from 0deg,
|
|
#111 0deg, #1a1a1a 2deg, #0d0d0d 4deg, #1a1a1a 6deg,
|
|
#111 8deg, #1a1a1a 10deg, #0d0d0d 12deg, #1a1a1a 14deg,
|
|
#111 16deg, #1a1a1a 18deg, #0d0d0d 20deg, #1a1a1a 22deg,
|
|
#111 24deg, #1a1a1a 26deg, #0d0d0d 28deg, #1a1a1a 30deg,
|
|
#111 360deg
|
|
);
|
|
animation: spin 3.5s linear infinite;
|
|
position: relative;
|
|
box-shadow: 0 4px 20px rgba(0,0,0,0.6), inset 0 0 8px rgba(0,0,0,0.4);
|
|
}
|
|
|
|
@keyframes spin {
|
|
from { transform: rotate(0deg); }
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
/* Record label in center */
|
|
.record-label {
|
|
position: absolute;
|
|
width: 90px;
|
|
height: 90px;
|
|
border-radius: 50%;
|
|
background: var(--label-bg);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
/* Counter-rotate so label stays readable while record spins */
|
|
animation: counter-spin 3.5s linear infinite;
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.4);
|
|
}
|
|
|
|
@keyframes counter-spin {
|
|
from { transform: rotate(0deg); }
|
|
to { transform: rotate(-360deg); }
|
|
}
|
|
|
|
.label-title {
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.1em;
|
|
color: var(--label-text);
|
|
text-align: center;
|
|
padding: 0 6px;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.label-side {
|
|
font-size: 24px;
|
|
font-weight: 700;
|
|
color: var(--label-text);
|
|
line-height: 1;
|
|
}
|
|
|
|
.label-site {
|
|
font-size: 9px;
|
|
color: rgba(26,18,8,0.6);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.1em;
|
|
text-align: center;
|
|
padding: 0 6px;
|
|
}
|
|
|
|
/* Center spindle hole */
|
|
.spindle {
|
|
position: absolute;
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 50%;
|
|
background: #333;
|
|
border: 2px solid #555;
|
|
z-index: 10;
|
|
}
|
|
|
|
/* Tonearm */
|
|
.tonearm {
|
|
position: absolute;
|
|
right: -28px;
|
|
top: 20px;
|
|
width: 120px;
|
|
height: 4px;
|
|
background: linear-gradient(90deg, rgba(200,180,140,0.8), rgba(160,140,100,0.6));
|
|
border-radius: 2px;
|
|
transform-origin: left center;
|
|
transform: rotate(25deg);
|
|
box-shadow: 0 1px 3px rgba(0,0,0,0.4);
|
|
}
|
|
|
|
.tonearm::after {
|
|
content: "";
|
|
position: absolute;
|
|
right: 0;
|
|
top: -3px;
|
|
width: 10px;
|
|
height: 10px;
|
|
background: rgba(140,120,80,0.8);
|
|
border-radius: 2px;
|
|
transform: rotate(-10deg);
|
|
}
|
|
|
|
/* Controls strip */
|
|
.controls-strip {
|
|
background: rgba(0,0,0,0.3);
|
|
border-radius: 8px;
|
|
padding: 10px 16px;
|
|
display: flex;
|
|
gap: 16px;
|
|
align-items: center;
|
|
}
|
|
|
|
.ctrl {
|
|
font-size: 27px;
|
|
color: rgba(200,180,140,0.7);
|
|
cursor: default;
|
|
}
|
|
|
|
.ctrl-play {
|
|
width: 36px;
|
|
height: 36px;
|
|
background: var(--amber);
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 21px;
|
|
color: #fff;
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.4);
|
|
}
|
|
|
|
/* Track info */
|
|
.track-info {
|
|
flex: 1;
|
|
padding-left: 8px;
|
|
}
|
|
|
|
.track-side-label {
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.2em;
|
|
color: var(--amber);
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.track-title {
|
|
font-size: 42px;
|
|
font-weight: 700;
|
|
color: var(--cream);
|
|
letter-spacing: -0.02em;
|
|
line-height: 1.15;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.track-meta {
|
|
display: flex;
|
|
gap: 20px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.track-meta-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
|
|
.track-meta-label {
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.14em;
|
|
color: rgba(200,180,140,0.5);
|
|
}
|
|
|
|
.track-meta-value {
|
|
font-size: 21px;
|
|
font-weight: 500;
|
|
color: var(--cream);
|
|
}
|
|
|
|
.track-tags {
|
|
display: flex;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
margin-top: 14px;
|
|
}
|
|
|
|
.track-tag {
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.1em;
|
|
color: var(--amber);
|
|
border: 1px solid rgba(212,137,26,0.4);
|
|
padding: 3px 9px;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
/* Liner notes */
|
|
.liner-notes {
|
|
background: var(--cream);
|
|
flex: 1;
|
|
padding: 40px 48px 64px;
|
|
}
|
|
|
|
.liner-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 32px;
|
|
padding-bottom: 16px;
|
|
border-bottom: 2px solid var(--border);
|
|
}
|
|
|
|
.liner-label {
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.2em;
|
|
color: var(--text-dim);
|
|
}
|
|
|
|
.liner-catalog {
|
|
font-size: 16px;
|
|
color: var(--text-dim);
|
|
font-family: "Courier New", monospace;
|
|
}
|
|
|
|
.content-area h1 {
|
|
font-size: 33px;
|
|
font-weight: 700;
|
|
color: var(--text-dark);
|
|
margin-top: 32px;
|
|
margin-bottom: 10px;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
.content-area h2 {
|
|
font-size: 24px;
|
|
font-weight: 700;
|
|
color: var(--amber);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
font-size: 16px;
|
|
margin-top: 28px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.content-area h3 {
|
|
font-size: 22px;
|
|
font-weight: 700;
|
|
color: var(--text-dark);
|
|
margin-top: 22px;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.content-area h4, .content-area h5, .content-area h6 {
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
color: var(--text-mid);
|
|
margin-top: 16px;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.content-area p {
|
|
font-size: 22px;
|
|
margin-bottom: 14px;
|
|
color: var(--text-mid);
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.content-area a {
|
|
color: var(--amber);
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.content-area a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.content-area code {
|
|
font-family: "Courier New", monospace;
|
|
font-size: 20px;
|
|
background: rgba(0,0,0,0.06);
|
|
color: var(--text-dark);
|
|
padding: 2px 6px;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.content-area pre {
|
|
background: var(--wood);
|
|
color: var(--cream);
|
|
border-radius: 8px;
|
|
padding: 16px 18px;
|
|
margin: 14px 0;
|
|
overflow-x: auto;
|
|
font-size: 20px;
|
|
}
|
|
|
|
.content-area pre code {
|
|
background: none;
|
|
color: inherit;
|
|
padding: 0;
|
|
}
|
|
|
|
.content-area blockquote {
|
|
border-left: 3px solid var(--amber);
|
|
background: rgba(212,137,26,0.06);
|
|
border-radius: 0 8px 8px 0;
|
|
padding: 12px 18px;
|
|
margin: 14px 0;
|
|
}
|
|
|
|
.content-area blockquote p {
|
|
color: var(--amber);
|
|
font-weight: 500;
|
|
margin: 0;
|
|
font-style: italic;
|
|
}
|
|
|
|
.content-area ul {
|
|
margin: 8px 0 14px 0;
|
|
list-style: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.content-area ul li {
|
|
padding-left: 18px;
|
|
margin-bottom: 5px;
|
|
color: var(--text-mid);
|
|
position: relative;
|
|
}
|
|
|
|
.content-area ul li::before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 4px;
|
|
top: 9px;
|
|
width: 6px;
|
|
height: 2px;
|
|
background: var(--amber);
|
|
}
|
|
|
|
.content-area ol {
|
|
margin: 8px 0 14px 22px;
|
|
color: var(--text-mid);
|
|
}
|
|
|
|
.content-area li {
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.content-area table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin: 14px 0;
|
|
font-size: 21px;
|
|
}
|
|
|
|
.content-area th {
|
|
background: rgba(0,0,0,0.06);
|
|
padding: 8px 12px;
|
|
text-align: left;
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
color: var(--text-dim);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.06em;
|
|
border-bottom: 2px solid var(--border);
|
|
}
|
|
|
|
.content-area td {
|
|
padding: 8px 12px;
|
|
border-bottom: 1px solid var(--border);
|
|
color: var(--text-mid);
|
|
}
|
|
|
|
.content-area img {
|
|
max-width: 100%;
|
|
border-radius: 6px;
|
|
margin: 12px 0;
|
|
}
|
|
|
|
.content-area hr {
|
|
border: none;
|
|
border-top: 1px solid var(--border);
|
|
margin: 24px 0;
|
|
}
|
|
|
|
.liner-footer {
|
|
margin-top: 40px;
|
|
padding-top: 16px;
|
|
border-top: 1px solid var(--border);
|
|
display: flex;
|
|
justify-content: space-between;
|
|
font-size: 16px;
|
|
color: var(--text-dim);
|
|
}
|
|
|
|
@media (max-width: 800px) {
|
|
.player-top { flex-direction: column; padding: 24px 20px 20px; }
|
|
.turntable-section { padding-right: 0; padding-bottom: 24px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); width: 100%; }
|
|
.track-info { padding-left: 0; }
|
|
.liner-notes { padding: 28px 20px 48px; }
|
|
}
|
|
</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="player-layout">
|
|
|
|
<div class="player-top">
|
|
|
|
<div class="turntable-section">
|
|
<div class="platter">
|
|
<div class="vinyl">
|
|
<div class="record-label">
|
|
<div class="label-side">A</div>
|
|
<div class="label-title">{{ title | truncate(20) }}</div>
|
|
<div class="label-site">{{ config.site.name }}</div>
|
|
</div>
|
|
<div class="spindle"></div>
|
|
</div>
|
|
<div class="tonearm"></div>
|
|
</div>
|
|
|
|
<div class="controls-strip">
|
|
<div class="ctrl">◀◀</div>
|
|
<div class="ctrl-play">▶</div>
|
|
<div class="ctrl">▶▶</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="track-info">
|
|
<div class="track-side-label">Side A — {{ config.site.name }}</div>
|
|
<div class="track-title">{{ title }}</div>
|
|
<div class="track-meta">
|
|
<div class="track-meta-item">
|
|
<div class="track-meta-label">Artist</div>
|
|
<div class="track-meta-value">{{ config.site.author }}</div>
|
|
</div>
|
|
<div class="track-meta-item">
|
|
<div class="track-meta-label">Released</div>
|
|
<div class="track-meta-value">{{ published_date }}</div>
|
|
</div>
|
|
<div class="track-meta-item">
|
|
<div class="track-meta-label">Duration</div>
|
|
<div class="track-meta-value">{{ reading_time }}</div>
|
|
</div>
|
|
{% if updated_date %}
|
|
<div class="track-meta-item">
|
|
<div class="track-meta-label">Reissued</div>
|
|
<div class="track-meta-value">{{ updated_date }}</div>
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
{% if taxonomy.tags %}
|
|
<div class="track-tags">
|
|
{% for tag in taxonomy.tags %}
|
|
<span class="track-tag">{{ tag }}</span>
|
|
{% endfor %}
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="liner-notes">
|
|
<div class="liner-header">
|
|
<div class="liner-label">Liner Notes</div>
|
|
<div class="liner-catalog">CAT-{{ published_date | replace("-", "") }}</div>
|
|
</div>
|
|
|
|
<div class="content-area">
|
|
{{ content | safe }}
|
|
</div>
|
|
|
|
<div class="liner-footer">
|
|
<span>© {{ config.site.author }} · {{ config.site.name }}</span>
|
|
<span>{{ published_date }}</span>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|