From 34d88b8de7910ad212eb738bee4086022a2426c1 Mon Sep 17 00:00:00 2001 From: jultty Date: Mon, 20 May 2024 16:25:14 -0300 Subject: [PATCH] Align title with main article --- assets/css/style.css | 11 +++++++++++ posts/meeting-the-bsd-family.html | 2 ++ posts/scripts-em-ocaml.html | 2 ++ posts/template.html | 2 ++ 4 files changed, 17 insertions(+) diff --git a/assets/css/style.css b/assets/css/style.css index 8cb7cc1..bc88ef5 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -82,6 +82,9 @@ footer { .article p { margin: 25px 0px; } + h1 { + margin-left: 45px; + } } /* widescreen */ @@ -94,6 +97,14 @@ footer { grid-column-start: 2; margin: 15px; } + #title-container { + display: grid; + grid-template-columns: 1fr 700px 1fr; + } + #title-container h1 { + grid-column-start: 2; + margin: 80px 15px 30px 15px; + } } /* phone */ diff --git a/posts/meeting-the-bsd-family.html b/posts/meeting-the-bsd-family.html index be0bfcf..2d923ee 100644 --- a/posts/meeting-the-bsd-family.html +++ b/posts/meeting-the-bsd-family.html @@ -23,7 +23,9 @@
+

Meeting the BSD family

+

During this year I have been delving deeper and deeper in the BSD diff --git a/posts/scripts-em-ocaml.html b/posts/scripts-em-ocaml.html index 2ca4f87..0d9461a 100644 --- a/posts/scripts-em-ocaml.html +++ b/posts/scripts-em-ocaml.html @@ -84,7 +84,9 @@

+

Scripts em OCaml

+

Este blog gera suas postagens com o Pandoc, mas quem faz o trabalho diff --git a/posts/template.html b/posts/template.html index 3b30b9f..cbeda63 100644 --- a/posts/template.html +++ b/posts/template.html @@ -39,7 +39,9 @@ $include-before$ $endfor$ $if(title)$

+

$title$

+
$if(subtitle)$

$subtitle$

$endif$