diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2025-01-25 14:45:18 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2025-01-25 14:45:18 +0100 |
commit | 7a8bbd9b27e1f48388552de387a6e26331be6bf1 (patch) | |
tree | 1c3b9553f0196b167ec4e765f2a7ad0c0437392d | |
parent | 84698cbafba7c0afd90565570f099b5d673f7f87 (diff) |
more layout tweaks
-rw-r--r-- | _sass/layout.scss | 6 | ||||
-rw-r--r-- | _sass/theme.scss | 11 | ||||
-rw-r--r-- | _sass/typography.scss | 10 |
3 files changed, 16 insertions, 11 deletions
diff --git a/_sass/layout.scss b/_sass/layout.scss index 18ee411..4662450 100644 --- a/_sass/layout.scss +++ b/_sass/layout.scss @@ -120,3 +120,9 @@ footer ul { } #search input[type=text] { flex-grow: 1; } +// center tables +table { + margin-left: auto; + margin-right: auto; +} + diff --git a/_sass/theme.scss b/_sass/theme.scss index b462301..2bb6437 100644 --- a/_sass/theme.scss +++ b/_sass/theme.scss @@ -1,14 +1,3 @@ -html { - font-family: "Inter", sans-serif; - font-size: 10pt; - font-feature-settings: "ss07", "ss08"; -} - -code { - font-family: "JetBrainsMono", monospace; - font-size: 9pt; -} - blockquote { font-style: italic; opacity: .8; diff --git a/_sass/typography.scss b/_sass/typography.scss index 836c9da..6edab4f 100644 --- a/_sass/typography.scss +++ b/_sass/typography.scss @@ -1,9 +1,19 @@ html { + font-family: "Inter", sans-serif; + font-size: 10pt; + font-feature-settings: "ss07", "ss08"; + hyphens: auto; tab-size: 2; } +code { + font-family: "JetBrainsMono", monospace; + font-size: 9pt; +} + h1, h2, h3, h4, h5, h6, aside, header { text-wrap: balance; } +article { text-align: justify; } |