design: 90s MTV/GeoCities retro layout (Bungee Shade + Impact + rainbow marquee)

This commit is contained in:
2026-04-20 05:07:22 +00:00
parent cdf833d61b
commit 20caafeeda

View File

@@ -45,172 +45,385 @@ const year = new Date().getFullYear();
<link rel="alternate" type="application/rss+xml" title={`${site.name} RSS`} href="/rss.xml" /> <link rel="alternate" type="application/rss+xml" title={`${site.name} RSS`} href="/rss.xml" />
<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=Bungee+Shade&family=Rubik+Glitch&display=swap" rel="stylesheet" />
<style is:global> <style is:global>
* { margin: 0; padding: 0; box-sizing: border-box; } * { margin: 0; padding: 0; box-sizing: border-box; }
html { background: #ff00aa; }
body { body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-family: "Comic Sans MS", "Chalkboard SE", cursive, sans-serif;
line-height: 1.6; font-size: 17px;
color: #333; line-height: 1.55;
max-width: 800px; color: #000;
background:
repeating-linear-gradient(45deg, #ff0080 0 14px, #ffd500 14px 28px, #00d4ff 28px 42px, #8a2be2 42px 56px);
background-attachment: fixed;
min-height: 100vh;
padding: 14px;
}
.page-wrap {
max-width: 900px;
margin: 0 auto; margin: 0 auto;
padding: 20px; background: #fff;
border: 6px ridge #ffd500;
outline: 4px solid #ff0080;
outline-offset: -10px;
padding: 0;
box-shadow: 8px 8px 0 #000;
} }
header {
border-bottom: 2px solid #eee; @keyframes rainbow {
padding-bottom: 20px; 0% { color: #ff0080; }
margin-bottom: 30px; 25% { color: #ffd500; }
50% { color: #00d4ff; }
75% { color: #8a2be2; }
100% { color: #ff0080; }
} }
header h1 { margin-bottom: 10px; } @keyframes blinker { 50% { opacity: 0.2; } }
header nav a { @keyframes wiggle { 0%,100% { transform: rotate(-1.5deg); } 50% { transform: rotate(1.5deg); } }
margin-right: 20px;
text-decoration: none; .hot-banner {
color: #666; background: #000;
} color: #ffd500;
header nav a:hover { color: #333; } padding: 6px 0;
.post {
border-bottom: 1px solid #eee;
padding: 20px 0;
}
.post-title { font-size: 1.5rem; margin-bottom: 10px; }
.post-title a { text-decoration: none; color: #333; }
.post-title a:hover { color: #0066cc; }
.post-meta { color: #999; font-size: 0.9rem; margin-bottom: 10px; }
.post-excerpt { color: #666; }
.post-content { line-height: 1.8; font-size: 1.1rem; }
.post-content h1, .post-content h2, .post-content h3 {
margin-top: 30px;
margin-bottom: 15px;
}
.post-content code {
background: #f4f4f4;
padding: 2px 6px;
border-radius: 3px;
}
.post-content pre {
background: #f4f4f4;
padding: 15px;
border-radius: 5px;
overflow-x: auto;
}
.post-content img { max-width: 100%; height: auto; }
.video-container {
position: relative;
padding-bottom: 56.25%;
height: 0;
overflow: hidden; overflow: hidden;
max-width: 100%; white-space: nowrap;
margin: 20px 0; font-family: "Impact", "Arial Black", sans-serif;
font-size: 18px;
letter-spacing: 2px;
border-bottom: 3px solid #ff0080;
} }
.video-container iframe { .hot-banner span {
display: inline-block;
padding-left: 100%;
animation: mqr 24s linear infinite;
}
@keyframes mqr { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }
header.vmv-head {
text-align: center;
padding: 22px 14px 14px;
background:
radial-gradient(circle at 20% 30%, rgba(255,0,128,0.25), transparent 40%),
radial-gradient(circle at 85% 70%, rgba(0,212,255,0.25), transparent 45%),
#fff;
border-bottom: 4px dashed #ff0080;
}
.brand-row {
display: inline-flex;
align-items: center;
gap: 12px;
}
.brand-row img {
width: 56px; height: 56px;
border-radius: 10px;
border: 4px ridge #ffd500;
box-shadow: 4px 4px 0 #000;
}
.brand-name {
font-family: "Bungee Shade", "Impact", sans-serif;
font-size: 48px;
line-height: 1;
animation: rainbow 3s infinite;
text-shadow: 3px 3px 0 #000;
letter-spacing: 1px;
}
.tagline {
display: inline-block;
margin-top: 10px;
padding: 4px 12px;
background: #ffd500;
color: #000;
border: 2px dashed #ff0080;
font-family: "Impact", "Arial Black", sans-serif;
transform: rotate(-2deg);
}
.tagline::before { content: "★ "; color: #ff0080; }
.tagline::after { content: " ★"; color: #ff0080; }
nav.vmv-nav {
margin-top: 14px;
}
nav.vmv-nav a {
display: inline-block;
margin: 4px;
padding: 4px 12px;
background: #00d4ff;
color: #000;
text-decoration: none;
border: 3px outset #ffd500;
font-weight: bold;
text-transform: uppercase;
}
nav.vmv-nav a:hover {
background: #ff0080;
color: #fff;
border-style: inset;
}
main { padding: 18px 22px; background: #fff; }
.hot-strip {
background: #ff0080;
color: #fff;
padding: 4px 10px;
margin-bottom: 14px;
font-family: "Impact", sans-serif;
font-size: 15px;
letter-spacing: 2px;
text-align: center;
animation: blinker 1.4s infinite;
border: 2px dashed #ffd500;
}
.post {
background: #fff7e0;
border: 3px double #ff0080;
padding: 14px 16px;
margin-bottom: 16px;
position: relative;
}
.post::before {
content: "HOT!!";
position: absolute; position: absolute;
top: 0; top: -12px; left: 10px;
left: 0; background: #ff0080;
width: 100%; color: #fff;
height: 100%; font-family: "Impact", sans-serif;
border: 0; padding: 2px 8px;
border: 2px solid #000;
transform: rotate(-6deg);
animation: wiggle 1.2s infinite;
} }
.tiktok-embed { margin: 20px 0; } .post-title {
.twitter-tweet { margin: 20px auto; } font-family: "Impact", "Arial Black", sans-serif;
font-size: 24px;
line-height: 1.15;
text-transform: uppercase;
letter-spacing: 1px;
margin-bottom: 6px;
}
.post-title a {
color: #8a2be2;
text-decoration: none;
text-shadow: 2px 2px 0 #ffd500;
}
.post-title a:hover { color: #ff0080; text-decoration: underline wavy; }
.post-meta {
color: #666;
font-size: 13px;
margin-bottom: 8px;
font-style: italic;
}
.post-meta::before { content: "📺 "; }
.post-excerpt { color: #222; }
.tag { .tag {
display: inline-block; display: inline-block;
background: #eee; background: #ffd500;
padding: 2px 8px; color: #000;
border-radius: 3px; padding: 1px 8px;
font-size: 0.85rem; margin-right: 4px;
margin-right: 5px; font-size: 13px;
font-weight: bold;
border: 2px solid #000;
text-transform: uppercase;
transform: rotate(-1deg);
} }
.tag a { color: inherit; text-decoration: none; } .tag a { color: inherit; text-decoration: none; }
.post-content {
background: #fff;
border: 4px ridge #00d4ff;
padding: 20px 24px;
line-height: 1.7;
}
.post-content h1 {
font-family: "Impact", sans-serif;
font-size: 32px;
line-height: 1.1;
text-transform: uppercase;
letter-spacing: 1px;
color: #8a2be2;
text-shadow: 3px 3px 0 #ffd500, 6px 6px 0 #ff0080;
margin-bottom: 10px;
}
.post-content h2 {
font-family: "Impact", sans-serif;
font-size: 22px;
color: #ff0080;
margin-top: 24px;
border-bottom: 3px dotted #ffd500;
}
.post-content h3 {
font-size: 18px;
color: #00a0cc;
margin-top: 16px;
}
.post-content p { margin-bottom: 12px; }
.post-content a {
color: #ff0080;
font-weight: bold;
text-decoration: underline;
}
.post-content a:visited { color: #8a2be2; }
.post-content img {
max-width: 100%;
height: auto;
border: 4px groove #ffd500;
box-shadow: 4px 4px 0 #000;
margin: 12px 0;
}
.post-content blockquote {
background: #ffd500;
border-left: 8px solid #ff0080;
padding: 8px 14px;
margin: 12px 0;
font-style: italic;
transform: rotate(-0.4deg);
}
.post-content code {
background: #000;
color: #00ff00;
padding: 1px 6px;
font-family: "Courier New", monospace;
}
.post-content pre {
background: #000;
color: #00ff00;
padding: 12px;
border: 3px ridge #ffd500;
overflow-x: auto;
}
.video-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; margin: 14px 0; border: 4px ridge #ffd500; }
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.back-link { .back-link {
display: inline-block; display: inline-block;
margin-bottom: 20px; margin-bottom: 12px;
color: #0066cc; padding: 3px 10px;
background: #00d4ff;
color: #000;
text-decoration: none; text-decoration: none;
border: 3px outset #ffd500;
font-weight: bold;
} }
footer { .back-link::before { content: "<< "; }
margin-top: 50px;
padding-top: 20px;
border-top: 1px solid #eee;
color: #999;
font-size: 0.9rem;
}
.pagination { .pagination {
margin-top: 50px; margin-top: 20px;
padding-top: 30px; padding-top: 14px;
border-top: 1px solid #eee; border-top: 4px dashed #ff0080;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
gap: 8px;
} }
.pagination-link { .pagination-link {
display: inline-block; display: inline-block;
padding: 10px 20px; padding: 6px 14px;
background: #f4f4f4; background: #ffd500;
border-radius: 5px; color: #000;
text-decoration: none; text-decoration: none;
color: #333; border: 3px outset #ff0080;
font-family: "Impact", sans-serif;
text-transform: uppercase;
} }
.pagination-info { color: #666; } .pagination-link:hover { background: #ff0080; color: #fff; border-style: inset; }
.pagination-info { color: #555; font-size: 13px; }
.related-posts { .related-posts {
margin-top: 60px; margin-top: 28px;
padding-top: 40px; padding-top: 14px;
border-top: 2px solid #eee; border-top: 4px double #8a2be2;
} }
.related-posts h3 { .related-posts h3 {
font-size: 1.5rem; font-family: "Impact", sans-serif;
margin-bottom: 25px; font-size: 22px;
color: #333; text-transform: uppercase;
color: #ff0080;
text-shadow: 2px 2px 0 #ffd500;
margin-bottom: 12px;
text-align: center;
} }
.related-posts h3::before { content: "🌟 "; }
.related-posts h3::after { content: " 🌟"; }
.related-posts-grid { .related-posts-grid {
display: grid; display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
gap: 20px; gap: 10px;
} }
.related-post-card { .related-post-card {
border: 1px solid #eee; background: #fff7e0;
border-radius: 8px; border: 3px double #00d4ff;
padding: 20px; padding: 10px 12px;
transition: box-shadow 0.2s;
} }
.related-post-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.related-post-link { text-decoration: none; color: inherit; } .related-post-link { text-decoration: none; color: inherit; }
.related-post-link h4 { .related-post-link h4 {
font-size: 1.1rem; font-family: "Impact", sans-serif;
margin-bottom: 10px; font-size: 16px;
color: #333; text-transform: uppercase;
color: #8a2be2;
margin-bottom: 6px;
} }
.related-post-excerpt { .related-post-excerpt { font-size: 13px; color: #333; }
font-size: 0.9rem; .related-post-date { font-size: 11px; color: #888; font-style: italic; }
color: #666;
margin-bottom: 10px; footer {
line-height: 1.5; margin-top: 0;
padding: 14px 18px;
background: #000;
color: #ffd500;
font-family: "Impact", sans-serif;
text-align: center;
font-size: 14px;
letter-spacing: 2px;
border-top: 4px ridge #ff0080;
} }
.related-post-date { font-size: 0.8rem; color: #999; } footer::before { content: "★ ✦ ★ "; color: #ff0080; }
footer::after { content: " ★ ✦ ★"; color: #ff0080; }
@media (max-width: 600px) { @media (max-width: 600px) {
.brand-name { font-size: 34px; }
.post-title { font-size: 20px; }
.post-content h1 { font-size: 24px; }
.related-posts-grid { grid-template-columns: 1fr; } .related-posts-grid { grid-template-columns: 1fr; }
} }
</style> </style>
</head> </head>
<body> <body>
<header> <div class="page-wrap">
<h1 style="display:flex; align-items:center; gap:12px; margin-bottom:10px;"> <div class="hot-banner">
<a href="/" style="display:flex; align-items:center; gap:12px; text-decoration: none; color: #333;"> <span>🔥 VIRAL NOW!! 🔥 ISHOWSPEED BROKE THE INTERNET 🔥 MRBEAST CHALLENGES 🔥 CHARLI D'AMELIO 🔥 WHO'S FAMOUS TODAY?! 🔥 FRESH VIRAL TEA STRAIGHT TO YOUR SCREEN 🔥 &nbsp;</span>
<img src="/favicon.png" alt="" width="40" height="40" style="border-radius: 8px; flex-shrink:0;" /> </div>
<span>{site.name}</span>
<header class="vmv-head">
<a href="/" style="text-decoration: none;">
<div class="brand-row">
<img src="/favicon.png" alt="" width="56" height="56" />
<span class="brand-name">{site.name}</span>
</div>
</a> </a>
</h1> <div class="tagline">{site.description}</div>
<p style="color: #666; margin-bottom: 15px;">{site.description}</p> <nav class="vmv-nav">
<nav> <a href="/">Home</a>
<a href="/">Home</a> <a href="/about/">About</a>
<a href="/about/">About</a> <a href="/rss.xml">RSS</a>
</nav> </nav>
</header> </header>
<main> <main>
<slot /> <div class="hot-strip">★★★ TODAY'S VIRAL VICTIMS ★★★</div>
</main> <slot />
</main>
<footer> <footer>
<p>&copy; {year} {site.name}. Powered by Astro.</p> &copy; {year} {site.name} &nbsp;—&nbsp; BEST VIEWED IN NETSCAPE NAVIGATOR 4.0
</footer> </footer>
</div>
</body> </body>
</html> </html>