figures and media queries

This commit is contained in:
Motiejus Jakštys 2022-04-24 06:45:41 +03:00
parent b91e540761
commit dd1c65af7f
2 changed files with 21 additions and 2 deletions

View File

@ -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;

View File

@ -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.
{{<figure src="https://dl.jakstys.lt/mtpad/house.jpg"
alt="House of Duplo pieces"
caption="House of Duplo pieces"
width="50%"
>}}
This is why I am always hesitant to pull in code to my project, and have a my
dependency checklist: