From cc7481777bba646cfc254be497d6a5d682fa0cd4 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sat, 13 Mar 2021 00:02:58 +0400 Subject: [PATCH] Embedding photographs of my cat. :3 --- static/dwelling/assets/css/main.css | 4 ++++ views/dwelling/about.pug | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/static/dwelling/assets/css/main.css b/static/dwelling/assets/css/main.css index 05ad62c..a9e2062 100644 --- a/static/dwelling/assets/css/main.css +++ b/static/dwelling/assets/css/main.css @@ -68,8 +68,12 @@ h3 { font-size: 1.05rem; } small, figure figcaption { font-size: .8rem; } +figure.center { text-align: center; } + figure img { width: 100%; } +figure.center img { width: 60%; } + figure figcaption { text-align: center; } table { diff --git a/views/dwelling/about.pug b/views/dwelling/about.pug index d5bd9a3..281f3f1 100644 --- a/views/dwelling/about.pug +++ b/views/dwelling/about.pug @@ -25,6 +25,11 @@ block content p #[span.highlighted Why English only?] I want this place to be accessible by wide audience, and English happen to be todays lingua franca. Second, I do that to practice English. And I'm lazy to maintain two versions of the same thing. p P.S.: Yeah, I'm not so glad that this site partially repeats neocities' one. p Contact information and banners are #[a(href='#contacts') at the bottom of this page]. Yes, I totally agree with you not wanting to add my banner since I don't have a link page myself. :) Well, it's way easier to make a banner than a links page. :) + section#my-cat + h2 My cat :3 + figure.center + a(href='/assets/img/my_cat.webp') + img(src='/assets/img/my_cat_thumb.webp' title=':3' alt='My cat. :3') section#servers-summary h2 My servers p I have two of them, the first one is a #[a(href='https://www.raspberrypi.org/products/raspberry-pi-3-model-b/' rel='nofollow noreferrer') Raspberry Pi 3 rev. B] single board computer and the second one is a laptop. Yeah, not quite impressive, but they do their work just fine.