Update ruby version, Gemfile, and post CSS

This commit is contained in:
Tyler Hallada 2022-09-26 00:57:23 -04:00
parent 724daefe72
commit afefaadabd
3 changed files with 42 additions and 6 deletions

1
.ruby-version Normal file
View File

@ -0,0 +1 @@
3.1.2

View File

@ -1,7 +1,4 @@
source 'http://rubygems.org'
require 'json'
require 'open-uri'
versions = JSON.parse(open('https://pages.github.com/versions.json').read)
gem 'github-pages', versions['github-pages']
gem "webrick"
gem 'github-pages', group: :jekyll_plugins

View File

@ -48,7 +48,18 @@ a {
}
p {
margin: 0 0 10px;
margin: 0 0 12px;
font-size: 1rem;
line-height: 1.45rem;
}
img + em {
display: block;
margin-top: 4px;
}
li {
margin-bottom: 12px;
}
table {
@ -377,6 +388,33 @@ a.rss img {
}
}
.post .row {
display: flex;
align: center;
justify-content: center;
gap: 8px 8px;
flex-wrap: wrap;
}
.post .row figure {
flex-basis: calc(50% - 8px);
}
@media (max-width: 40rem) {
.post .row {
flex-direction: column;
}
}
.post figure {
margin: 0;
}
.post figure figurecaption {
display: block;
margin-top: 4px;
}
/*****************************************************************************/
/*
/* Subscribe form