Initial blog list with placeholder posts

This commit is contained in:
Dan 2025-12-31 08:30:21 +00:00
parent b2f436d553
commit ad78a3e27e
20 changed files with 1225 additions and 4 deletions

View file

@ -0,0 +1,684 @@
.blogs-page {
min-height: 100vh;
padding: 2rem;
position: relative;
@include media-down(lg) {
padding: 1rem;
}
// Main container with CRT monitor styling
.blogs-container {
max-width: 900px;
margin: 0 auto;
background: linear-gradient(145deg, #e8e0c8, #c4b89a);
border-radius: 12px;
padding: 25px 30px 45px 30px;
box-shadow:
0 30px 60px rgba(0, 0, 0, 0.8),
inset 0 2px 4px rgba(255, 255, 255, 0.3),
inset 0 -2px 4px rgba(0, 0, 0, 0.3);
position: relative;
@include media-down(lg) {
padding: 15px 15px 35px 15px;
border-radius: 8px;
}
// Brand on bezel
&::before {
content: "BLOG TERMINAL";
position: absolute;
bottom: 15px;
left: 50%;
transform: translateX(-50%);
color: #666;
font-size: 11px;
font-weight: bold;
letter-spacing: 2px;
@include media-down(lg) {
font-size: 9px;
}
}
// Power LED indicator
&::after {
content: "";
position: absolute;
bottom: 15px;
right: 40px;
width: 8px;
height: 8px;
background: #0f0;
border-radius: 50%;
box-shadow:
0 0 10px #0f0,
0 0 20px #0f0;
animation: pulse 2s ease-in-out infinite;
@include media-down(lg) {
right: 20px;
width: 6px;
height: 6px;
}
}
}
// CRT screen content area
.blogs-screen {
width: 100%;
min-height: 500px;
background: #000;
border-radius: 8px;
position: relative;
overflow: hidden;
box-shadow:
inset 0 0 80px rgba(0, 255, 100, 0.1),
inset 0 0 40px rgba(0, 255, 100, 0.05),
inset 3px 3px 8px rgba(255, 255, 255, 0.1),
inset -3px -3px 8px rgba(0, 0, 0, 0.5);
@include media-down(lg) {
border-radius: 6px;
min-height: 400px;
}
// Screen curvature/glass emboss
&::before {
content: "";
position: absolute;
top: -5%;
left: -5%;
right: -5%;
bottom: -5%;
background:
radial-gradient(
ellipse at 30% 30%,
rgba(255, 255, 255, 0.15) 0%,
transparent 40%
),
radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
pointer-events: none;
z-index: 3;
border-radius: 8px;
}
// Scanlines
&::after {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: repeating-linear-gradient(
0deg,
rgba(0, 0, 0, 0.15) 0px,
rgba(0, 0, 0, 0.15) 1px,
transparent 1px,
transparent 2px
);
pointer-events: none;
z-index: 2;
animation: scanline 8s linear infinite;
}
}
// Content area (no scrolling, grows with content)
.blogs-content {
position: relative;
width: 100%;
padding: 20px;
color: #0f0;
z-index: 1;
font-family: monospace;
text-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
@include media-down(lg) {
padding: 15px;
}
// Section intro content
> section {
margin-bottom: 30px;
h1 {
font-size: 2rem;
margin-bottom: 1rem;
animation: textGlow 1.5s ease-in-out infinite alternate;
@include media-down(lg) {
font-size: 1.5rem;
}
}
p {
font-size: 1rem;
line-height: 1.6;
margin-bottom: 1rem;
}
}
}
// Blog posts listing
.blog-posts {
display: flex;
flex-direction: column;
gap: 30px;
@include media-down(lg) {
gap: 20px;
}
}
// Individual blog post card
.blog-post-card {
background: rgba(0, 255, 0, 0.05);
border: 1px solid rgba(0, 255, 0, 0.3);
border-radius: 4px;
padding: 20px;
transition: all 0.3s ease;
position: relative;
@include media-down(lg) {
padding: 15px;
}
&:hover {
background: rgba(0, 255, 0, 0.1);
border-color: rgba(0, 255, 0, 0.6);
box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}
// Non-weekly posts use amber color scheme
&.non-weekly {
background: rgba(255, 153, 0, 0.05);
border-color: rgba(255, 153, 0, 0.3);
&:hover {
background: rgba(255, 153, 0, 0.1);
border-color: rgba(255, 153, 0, 0.6);
box-shadow: 0 0 20px rgba(255, 153, 0, 0.3);
}
.blog-title {
color: #ff9900;
.blog-date {
color: #ff9900;
text-shadow: 0 0 5px rgba(255, 153, 0, 0.5);
}
a {
color: #ff9900;
text-shadow: 0 0 5px rgba(255, 153, 0, 0.5);
&::after {
background: #ff9900;
box-shadow: 0 0 10px #ff9900;
}
}
}
.blog-tags .tag {
background: rgba(255, 153, 0, 0.2);
border-color: rgba(255, 153, 0, 0.5);
color: #ff9900;
}
}
// Post title
.blog-title {
font-size: 1.5rem;
margin-bottom: 15px;
line-height: 1.3;
display: flex;
align-items: baseline;
gap: 12px;
flex-wrap: wrap;
@include media-down(lg) {
font-size: 1.2rem;
gap: 8px;
}
// Date stamp (now inline)
.blog-date {
font-size: 0.75rem;
color: #0f0;
opacity: 0.7;
font-family: "DSEG7-Classic", monospace;
text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
white-space: nowrap;
&::before {
content: "[";
margin-right: 2px;
}
&::after {
content: "]";
margin-left: 2px;
}
@include media-down(lg) {
font-size: 0.7rem;
}
}
a {
color: greenyellow;
text-decoration: none;
position: relative;
&::after {
content: "";
position: absolute;
bottom: -2px;
left: 0;
width: 0;
height: 2px;
background: greenyellow;
transition: width 0.3s ease;
box-shadow: 0 0 10px greenyellow;
}
&:hover::after {
width: 100%;
}
}
}
// Tags container
.blog-tags {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 12px;
.tag {
display: inline-block;
padding: 4px 10px;
background: rgba(0, 255, 0, 0.2);
border: 1px solid rgba(0, 255, 0, 0.5);
border-radius: 3px;
font-size: 0.75rem;
color: #0f0;
font-family: monospace;
text-transform: uppercase;
letter-spacing: 0.5px;
&::before {
content: "#";
}
}
}
// Summary text
.blog-summary {
font-size: 0.95rem;
line-height: 1.6;
opacity: 0.9;
color: #0f0;
@include media-down(lg) {
font-size: 0.9rem;
}
// Links in content
a {
color: greenyellow;
text-decoration: none;
position: relative;
padding-bottom: 2px;
border-bottom: 1px dotted rgba(173, 255, 47, 0.5);
transition: all 0.3s ease;
text-shadow: 0 0 5px rgba(173, 255, 47, 0.3);
&:hover {
border-bottom-style: solid;
border-bottom-color: rgba(173, 255, 47, 0.8);
text-shadow: 0 0 10px rgba(173, 255, 47, 0.8);
background: rgba(173, 255, 47, 0.05);
}
}
// Headings in content
h2, h3, h4, h5, h6 {
margin-top: 1.5em;
margin-bottom: 0.75em;
color: greenyellow;
text-shadow: 0 0 10px rgba(173, 255, 47, 0.5);
}
h2 {
font-size: 1.5rem;
border-bottom: 1px solid rgba(0, 255, 0, 0.3);
padding-bottom: 0.5rem;
margin-top: 2rem;
@include media-down(lg) {
font-size: 1.3rem;
}
}
h3 {
font-size: 1.25rem;
@include media-down(lg) {
font-size: 1.15rem;
}
}
// Code blocks
code {
background: rgba(0, 255, 0, 0.1);
border: 1px solid rgba(0, 255, 0, 0.3);
padding: 2px 6px;
border-radius: 3px;
font-family: "Courier New", monospace;
font-size: 0.9em;
}
pre {
background: rgba(0, 255, 0, 0.05);
border: 1px solid rgba(0, 255, 0, 0.3);
border-radius: 4px;
padding: 15px;
overflow-x: auto;
margin: 1.5em 0;
code {
background: transparent;
border: none;
padding: 0;
}
}
// Blockquotes
blockquote {
border-left: 3px solid rgba(0, 255, 0, 0.5);
padding-left: 1rem;
margin: 1.5em 0;
font-style: italic;
opacity: 0.9;
}
// Lists
ul, ol {
margin: 1em 0;
padding-left: 2em;
li {
margin: 0.5em 0;
}
}
.read-more {
display: inline-block;
margin-top: 10px;
color: greenyellow;
text-decoration: none;
font-weight: bold;
position: relative;
padding: 5px 0;
&::after {
content: "";
position: absolute;
bottom: 3px;
left: 0;
width: 0;
height: 2px;
background: greenyellow;
transition: width 0.3s ease;
box-shadow: 0 0 10px greenyellow;
}
&:hover::after {
width: 100%;
}
}
}
}
// Tag filter navigation
.blog-tags-filter {
margin-bottom: 30px;
padding: 15px;
background: rgba(0, 255, 0, 0.05);
border: 1px solid rgba(0, 255, 0, 0.3);
border-radius: 4px;
.filter-label {
display: block;
font-size: 0.9rem;
margin-bottom: 10px;
color: greenyellow;
text-shadow: 0 0 5px rgba(173, 255, 47, 0.5);
font-weight: bold;
}
.tag-links {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.tag-filter-link {
display: inline-block;
padding: 6px 12px;
background: rgba(0, 255, 0, 0.1);
border: 1px solid rgba(0, 255, 0, 0.3);
border-radius: 3px;
color: #0f0;
text-decoration: none;
font-size: 0.85rem;
font-family: monospace;
transition: all 0.3s ease;
text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
&:hover {
background: rgba(0, 255, 0, 0.2);
border-color: rgba(0, 255, 0, 0.6);
box-shadow: 0 0 10px rgba(0, 255, 0, 0.4);
text-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
}
&.active {
background: rgba(0, 255, 0, 0.3);
border-color: rgba(0, 255, 0, 0.8);
box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
text-shadow: 0 0 10px rgba(0, 255, 0, 1);
}
}
}
// Navigation styling
.blog-navigation {
margin-bottom: 20px;
padding-bottom: 15px;
border-bottom: 1px solid rgba(0, 255, 0, 0.2);
}
.blog-post-navigation {
margin-top: 30px;
padding-top: 20px;
border-top: 1px solid rgba(0, 255, 0, 0.2);
.post-nav-links {
display: flex;
justify-content: space-between;
gap: 20px;
flex-wrap: wrap;
@include media-down(lg) {
flex-direction: column;
gap: 10px;
}
}
}
.nav-link {
display: inline-block;
padding: 10px 15px;
background: rgba(0, 255, 0, 0.1);
border: 1px solid rgba(0, 255, 0, 0.3);
color: #0f0;
text-decoration: none;
font-family: monospace;
font-size: 0.9rem;
transition: all 0.3s ease;
text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
border-radius: 3px;
&:hover:not(.disabled) {
background: rgba(0, 255, 0, 0.2);
border-color: rgba(0, 255, 0, 0.6);
box-shadow: 0 0 10px rgba(0, 255, 0, 0.4);
text-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
}
&.disabled {
opacity: 0.3;
cursor: not-allowed;
}
&.back-link {
font-weight: bold;
}
&.prev-post,
&.next-post {
flex: 1;
text-align: center;
max-width: 400px;
@include media-down(lg) {
max-width: 100%;
}
}
&.prev-post {
text-align: left;
}
&.next-post {
text-align: right;
}
}
// Pagination styling
.pagination {
margin-top: 30px;
padding-top: 20px;
border-top: 1px solid rgba(0, 255, 0, 0.2);
text-align: center;
ul {
display: flex;
justify-content: center;
align-items: center;
gap: 5px;
list-style: none;
padding: 0;
flex-wrap: wrap;
li {
a, span {
display: block;
padding: 6px 12px;
background: transparent;
border: 1px solid rgba(0, 255, 0, 0.3);
color: #0f0;
text-decoration: none;
font-family: "DSEG7-Classic", monospace;
font-size: 0.9rem;
transition: all 0.3s ease;
min-width: 35px;
text-align: center;
text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
&:hover {
background: rgba(0, 255, 0, 0.1);
border-color: rgba(0, 255, 0, 0.7);
box-shadow:
0 0 10px rgba(0, 255, 0, 0.4),
inset 0 0 10px rgba(0, 255, 0, 0.1);
text-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
}
}
&.active span {
background: rgba(0, 255, 0, 0.2);
border-color: rgba(0, 255, 0, 0.8);
box-shadow:
0 0 15px rgba(0, 255, 0, 0.5),
inset 0 0 10px rgba(0, 255, 0, 0.2);
text-shadow: 0 0 10px rgba(0, 255, 0, 1);
}
// Previous/Next buttons
&:first-child a,
&:last-child a {
&::before,
&::after {
font-family: monospace;
font-weight: bold;
}
}
// Disabled state
&.disabled {
a, span {
opacity: 0.3;
cursor: not-allowed;
&:hover {
background: transparent;
border-color: rgba(0, 255, 0, 0.3);
box-shadow: none;
}
}
}
}
}
}
}
@keyframes textGlow {
from {
text-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
}
to {
text-shadow:
0 0 20px rgba(0, 255, 0, 1),
0 0 30px rgba(0, 255, 0, 0.6);
}
}
@keyframes scanline {
0% {
transform: translateY(0);
}
100% {
transform: translateY(10px);
}
}
@keyframes pulse {
0%,
100% {
opacity: 1;
box-shadow:
0 0 10px #0f0,
0 0 20px #0f0;
}
50% {
opacity: 0.5;
box-shadow:
0 0 5px #0f0,
0 0 10px #0f0;
}
}

View file

@ -18,6 +18,7 @@
@import "pages/about";
@import "pages/audio";
@import "pages/now";
@import "pages/blogs";
@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Neonderthaw&display=swap");