aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2025-01-25 14:45:18 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2025-01-25 14:45:18 +0100
commit7a8bbd9b27e1f48388552de387a6e26331be6bf1 (patch)
tree1c3b9553f0196b167ec4e765f2a7ad0c0437392d
parent84698cbafba7c0afd90565570f099b5d673f7f87 (diff)
more layout tweaks
-rw-r--r--_sass/layout.scss6
-rw-r--r--_sass/theme.scss11
-rw-r--r--_sass/typography.scss10
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; }