From 27321f190e579d163a56042ff108f8d71ce0e0ae Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Sun, 14 Mar 2021 08:27:00 +0100 Subject: Add article styling --- wpisy/_header.html | 2 +- wpisy/style.css | 14 +++++++++++--- 2 files changed, 12 insertions(+), 4 deletions(-) (limited to 'wpisy') diff --git a/wpisy/_header.html b/wpisy/_header.html index 020675c..075ce32 100644 --- a/wpisy/_header.html +++ b/wpisy/_header.html @@ -30,7 +30,7 @@ Strona główna Do pobrania Kontakt - Kronika + Kronika diff --git a/wpisy/style.css b/wpisy/style.css index a3cfd4f..8aabd95 100644 --- a/wpisy/style.css +++ b/wpisy/style.css @@ -38,6 +38,7 @@ main { header { box-shadow: 0 0 20px rgb(0 0 0 / 10%); + padding: 2ex 0; } header > div { @@ -59,12 +60,19 @@ nav a { margin: 0.5em; } -main h1, -main h2, -main h3 { +main > p { text-align: center; } +main img { + display: block; + margin: 0 auto; +} + +article { + text-align: left; +} + header > *, main, footer > * { -- cgit 1.4.1