about summary refs log tree commit diff
path: root/wpisy
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-03-14 08:27:00 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-03-14 08:27:00 +0100
commit27321f190e579d163a56042ff108f8d71ce0e0ae (patch)
treedf40f115768e8746270e11ae1fe64d52594e3bc6 /wpisy
parent156ac95b2bdcc4832c0b6ae6126959dd7119a3ff (diff)
downloadkronika-27321f190e579d163a56042ff108f8d71ce0e0ae.tar.gz
kronika-27321f190e579d163a56042ff108f8d71ce0e0ae.zip
Add article styling
Diffstat (limited to 'wpisy')
-rw-r--r--wpisy/_header.html2
-rw-r--r--wpisy/style.css14
2 files changed, 12 insertions, 4 deletions
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 @@
           <a href="/">Strona główna</a>
           <a href="/do-pobrania">Do pobrania</a>
           <a href="/kontakt">Kontakt</a>
-          <a href="/kronika.html">Kronika</a>
+          <a href="/kronika">Kronika</a>
         </nav>
       </div>
     </header>
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 > * {