Skip to content

Commit

Permalink
Fixes h1 margin, code font size, and footnotes enumeration indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelnordmeyer committed Nov 5, 2023
1 parent 1892a05 commit 940d4c9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,16 @@
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; text-align: center; font-size: small; }
blockquote { margin: 1em 1.5em 1em 0.5em; padding-left: 1em; border-left: 1px solid lightgrey; }
code { font-size: 1.125em; }
sub, sup { line-height: 0; }
hr { border: 0; border-top: 1px solid; }
body > header > h1 { margin-bottom: 2rem; text-align: center; }
body > header > a { display: block; margin-block-start: 0.67em; margin-block-end: 1em;text-align: center; font-size: 2rem; font-weight: bold; }
body > main > ul { padding: 0; }
body > main > ul > li { margin: 0.5em 0; list-style-type: none; line-height: 1.25em; }
body > main > ul > li time { font-size: small; }
body > header > a { display: block; margin-block-start: 0.67em; margin-block-end: 1em;text-align: center; font-size: 2rem; font-weight: bold; }
article > header { margin-bottom: 2rem; }
article > header > h1 { margin-bottom: 0; }
article h1 { margin-bottom: 1rem; font-size: 2rem; }
article h1 { font-size: 2rem; }
header > time { display: block; color: grey; }
@media (prefers-color-scheme: dark) {
html { background-color: black; color: white; }
Expand All @@ -39,7 +38,6 @@
th, td { border-color: grey; }
}
.footnotes { margin: 0; font-size: small; }
.footnotes ol { padding-inline-start: 30px; }
</style>
<meta name="theme-color" content="#white">
<title>{%- if page.title -%}{{ page.title | smartify }} • {{ site.title | smartify }}{%- else -%}{{ site.title | smartify }} • {{ site.description | smartify }}{%- endif -%}</title>
Expand Down
2 changes: 1 addition & 1 deletion _layouts/error.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
body > header > a { display: block; margin-block-start: 0.67em; margin-block-end: 1em;text-align: center; font-size: 2rem; font-weight: bold; }
article > header { margin-bottom: 2rem; }
article > header > h1 { margin-bottom: 0; }
article h1 { margin-bottom: 1rem; font-size: 2rem; }
article h1 { font-size: 2rem; }
@media (prefers-color-scheme: dark) {
html { background-color: black; color: white; }
a { color: lightskyblue; }
Expand Down
2 changes: 1 addition & 1 deletion jekyll-theme-nix.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Gem::Specification.new do |spec|
spec.name = "jekyll-theme-nix"
spec.version = "1.0.5"
spec.version = "1.0.6"
spec.authors = ["Michael Nordmeyer"]
spec.email = ["[email protected]"]

Expand Down

0 comments on commit 940d4c9

Please sign in to comment.