From 46334326ae70e756c9bb7359d73b4873e9e0cffa Mon Sep 17 00:00:00 2001 From: Alvin Date: Mon, 26 Oct 2026 23:40:31 +0100 Subject: [PATCH] s --- opencode/index.html | 77 ++++++++++++++++++++------------- opencode/style.css | 102 ++++++++++++++++++++++++++++++++++---------- 2 files changed, 127 insertions(+), 52 deletions(-) diff --git a/opencode/index.html b/opencode/index.html index e87dd79..cb7d6e4 100644 --- a/opencode/index.html +++ b/opencode/index.html @@ -3,18 +3,18 @@ - Modern Blog - My Name + My Portfolio & Blog
-

My Modern Blog

+

My Hub

@@ -22,44 +22,63 @@
-
-

Latest Articles

-
-
-

First Post Title

-

Dive into the latest insights and discoveries. This is placeholder content for the most recent article.

- Published on: October 26, 2026 -
-
-

Another Placeholder Article

-

Explore deeper topics and gain new perspectives. This section holds more detailed information.

- Published on: October 25, 2026 -
+ +
+

Welcome to My Digital Space

+

This is the main landing area. Discover my projects, read my latest articles, and see my professional work.

+ View Portfolio +
+ + +
+

My Portfolio

+
+
+

Project Alpha

+

A brief description of a key project. Link to live demo/repo here.

+ View Details +
+
+

Project Beta

+

Another impressive project showcasing my skills in [Skill 1] and [Skill 2].

+ View Details +
+
+

Project Gamma

+

A third example demonstrating creative problem-solving.

+ View Details +
-
-

About Me

-

Welcome to my corner of the internet! I share thoughts on technology, life, and creative pursuits. Feel free to explore!

-
- -
-

All Posts

+ +
+

My Blog

- -

No other posts found yet.

+

Latest Articles

+
+

First Post Title

+

Dive into the latest insights and discoveries. (October 26, 2026)

+ Read More +
+
+

Another Placeholder Article

+

Explore deeper topics and gain new perspectives. (October 25, 2026)

+ Read More +
+
-

Get In Touch

+

Contact Me

I'm always open to new ideas. Reach me at your_email@example.com or connect on social media.

diff --git a/opencode/style.css b/opencode/style.css index ef128f3..e4d1e9f 100644 --- a/opencode/style.css +++ b/opencode/style.css @@ -31,7 +31,7 @@ body { display: flex; justify-content: space-between; align-items: center; - flex-wrap: wrap; /* For responsiveness */ + flex-wrap: wrap; } .header h1 { @@ -58,14 +58,14 @@ nav ul li a:hover { border-radius: 4px; } -/* --- Main Content --- */ +/* --- Main Content Sections --- */ main { padding: 30px 0; - min-height: 60vh; + min-height: 80vh; /* Increased height for better section separation */ } .content-section { - margin-bottom: 40px; + margin-bottom: 50px; padding: 20px 0; } @@ -73,47 +73,104 @@ main { color: #2c3e50; border-bottom: 3px solid #3498db; /* Highlight color */ padding-bottom: 10px; - margin-bottom: 20px; - font-size: 2rem; + margin-bottom: 25px; + font-size: 2.2rem; } +/* Landing Page Specific Styles */ .hero-section { text-align: center; - padding: 40px 0; + padding: 60px 0; background-color: #ecf0f1; - border-radius: 8px; + border-radius: 10px; + margin-bottom: 30px; } -.post-grid { +.hero-section p { + font-size: 1.1rem; + margin-bottom: 20px; +} + +.btn { + display: inline-block; + background-color: #3498db; + color: white; + padding: 12px 25px; + text-decoration: none; + border-radius: 5px; + font-weight: bold; + transition: background-color 0.3s; +} + +.btn:hover { + background-color: #2980b9; +} + +/* Portfolio Specific Styles */ +.portfolio-section { + background-color: #ffffff; + border-radius: 10px; + padding: 30px; + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); +} + +.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; } -.post-card { - background-color: white; +.project-card { + background-color: #f4f4f9; border: 1px solid #ddd; border-radius: 8px; padding: 20px; - box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05); + box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); transition: transform 0.3s ease; } -.post-card:hover { - transform: translateY(-5px); - box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1); +.project-card:hover { + transform: translateY(-8px); + box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); } -.post-card h3 { - color: #2980b9; +.project-card h3 { + color: #2c3e50; margin-top: 0; } -.meta { - display: block; - margin-top: 15px; - font-size: 0.9em; - color: #7f8c8d; +/* Blog Specific Styles */ +.blog-section { + background-color: #ffffff; + border-radius: 10px; + padding: 30px; + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); +} + +.post-list { + display: flex; + flex-direction: column; + gap: 20px; +} + +.post-summary { + border-bottom: 1px solid #eee; + padding-bottom: 15px; +} + +.post-summary h4 { + color: #3498db; + margin-top: 0; +} + +.post-summary p { + color: #666; +} + +.post-summary a { + color: #2c3e50; + text-decoration: none; + font-weight: bold; } /* --- Footer --- */ @@ -122,7 +179,6 @@ main { color: white; text-align: center; padding: 1.5rem 0; - margin-top: 30px; } .footer .container {