From dd1c65af7f069a244a5474820303564bde963d38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Sun, 24 Apr 2022 06:45:41 +0300 Subject: [PATCH] figures and media queries --- assets/_cheese/styles.scss | 14 +++++++++++++- content/log/git-subtrac.md | 9 ++++++++- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/assets/_cheese/styles.scss b/assets/_cheese/styles.scss index 2f87407..9fd2065 100644 --- a/assets/_cheese/styles.scss +++ b/assets/_cheese/styles.scss @@ -72,7 +72,11 @@ article h6 { font-size: 100% } -img { +figure { + margin: 40px 0; +} + +img,figcaption { margin: 10px auto; width: 90%; max-width: 600px; @@ -81,6 +85,14 @@ img { display: block } +@media (max-width:500px) { + img,figcaption { + margin: 0; + padding: 0; + width: 100%; + } +} + hr { border: none; border-top: 1px dashed $border; diff --git a/content/log/git-subtrac.md b/content/log/git-subtrac.md index cced5fc..fe5ca1a 100644 --- a/content/log/git-subtrac.md +++ b/content/log/git-subtrac.md @@ -64,7 +64,14 @@ maintenance costs. To sum up, the "modern" languages optimize for initial development experience, not maintenance. And as [Corbet says][linux-rust]. "We can't understand why Kids These Days just don't want to live that way". Kids want to build, John, -not maintain. +not maintain. This house is in desperate need of maintenance, but my son +refuses to do so, and builds a new car instead. + +{{
}} This is why I am always hesitant to pull in code to my project, and have a my dependency checklist: