From 115d75378ab594348c14c0488bd16100f27450b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Mart=C3=ADnez=20Portela?= Date: Thu, 3 Apr 2025 13:11:26 +0200 Subject: [PATCH] Update blog style. --- static/style.css | 36 +++++++++++++++++++++++++++--------- 1 file changed, 27 insertions(+), 9 deletions(-) diff --git a/static/style.css b/static/style.css index 95c86a6..18bad8b 100644 --- a/static/style.css +++ b/static/style.css @@ -466,15 +466,27 @@ code, .verbatim { overflow-y: auto; } - .content { margin: 1ex; } -article.post { - max-width: min(650px, 100ex); - margin: 0 auto; +/* Blog */ +.blog { + background-color: #ddd; } + +.post-title { + border-bottom: 2px solid #444; +} + +article.post { + max-width: min(1000px, 120ex); + margin: 0 auto; + padding: 1em; + background-color: #fff; + border-radius: 3px; +} + /* Header */ .site-header { background-color: #002b36; @@ -526,12 +538,8 @@ article.post { /* Post index. */ .post-index .post-container { - /* box-shadow: 0px 2px 4px 2px rgba(0, 0, 0, 0.26); */ - /* border-radius: 2px; */ - /* padding: 1ex; */ margin-bottom: 1em; padding-bottom: 1em; - border-bottom: #000 2px dashed; } .index-pages { @@ -651,7 +659,7 @@ tr.__table-separator { } /* Header */ .site-header { - background-color: #303033; + background-color: #47414e; border-bottom: rgba(0,0,0,0.1) 1px solid; } .site-header h1 { @@ -796,4 +804,14 @@ tr.__table-separator { .connections svg path { stroke: white; } + + /* Blog */ + .blog { + background-color: #000; + } + + article.post { + background-color: #222; + } + }