153 lines
3.4 KiB
Plaintext
153 lines
3.4 KiB
Plaintext
---
|
|
import BaseLayout from "../layouts/BaseLayout.astro";
|
|
import NowContent from "../data/now.md";
|
|
---
|
|
|
|
<BaseLayout
|
|
title="Now - Hidden Den Cafe"
|
|
description="A living snapshot of what Latte is building, learning, and focusing on right now."
|
|
>
|
|
<div class="matrix-bg" aria-hidden="true"></div>
|
|
|
|
<main class="main">
|
|
<article class="now-card fade-in">
|
|
<header class="header">
|
|
<h1 class="title">Now</h1>
|
|
<div class="divider">══════════════════════════════</div>
|
|
</header>
|
|
<NowContent />
|
|
</article>
|
|
</main>
|
|
</BaseLayout>
|
|
|
|
<style>
|
|
.matrix-bg {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: -1;
|
|
opacity: 0.03;
|
|
background:
|
|
linear-gradient(var(--color-accent) 1px, transparent 1px),
|
|
linear-gradient(90deg, var(--color-accent) 1px, transparent 1px);
|
|
background-size: 50px 50px;
|
|
animation: grid-move 20s linear infinite;
|
|
}
|
|
|
|
@keyframes grid-move {
|
|
0% { transform: translate(0, 0); }
|
|
100% { transform: translate(50px, 50px); }
|
|
}
|
|
|
|
.main {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: center;
|
|
padding: var(--space-lg) var(--space-md);
|
|
padding-top: calc(var(--space-lg) + 3rem);
|
|
}
|
|
|
|
.now-card {
|
|
width: 100%;
|
|
max-width: 700px;
|
|
background: var(--color-glass);
|
|
backdrop-filter: blur(10px);
|
|
border: 1px solid var(--color-surface);
|
|
border-radius: 8px;
|
|
padding: var(--space-xl);
|
|
}
|
|
|
|
.header {
|
|
margin-bottom: var(--space-lg);
|
|
}
|
|
|
|
.title {
|
|
font-size: 2rem;
|
|
font-weight: 700;
|
|
letter-spacing: 2px;
|
|
text-align: center;
|
|
}
|
|
|
|
.divider {
|
|
color: var(--color-surface);
|
|
text-align: center;
|
|
font-size: 0.75rem;
|
|
margin: var(--space-md) 0;
|
|
user-select: none;
|
|
}
|
|
|
|
.now-card :global(h2) {
|
|
font-size: 1rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 2px;
|
|
margin-top: var(--space-lg);
|
|
margin-bottom: var(--space-sm);
|
|
color: var(--color-accent);
|
|
}
|
|
|
|
.now-card :global(p),
|
|
.now-card :global(li) {
|
|
color: var(--color-text-dim);
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.now-card :global(p) {
|
|
margin-bottom: var(--space-sm);
|
|
}
|
|
|
|
.now-card :global(ul) {
|
|
margin-left: 1.2rem;
|
|
display: grid;
|
|
gap: var(--space-xs);
|
|
}
|
|
|
|
.now-card :global(strong) {
|
|
color: var(--color-accent-bright);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.fade-in {
|
|
animation: fadeIn 0.6s ease-out forwards;
|
|
opacity: 0;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(10px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.now-card {
|
|
padding: var(--space-md);
|
|
}
|
|
|
|
.title {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.divider {
|
|
font-size: 0.6rem;
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.matrix-bg {
|
|
animation: none;
|
|
}
|
|
|
|
.fade-in {
|
|
animation: none;
|
|
opacity: 1;
|
|
}
|
|
}
|
|
</style>
|