aboutsummaryrefslogtreecommitdiff
path: root/posts
diff options
context:
space:
mode:
Diffstat (limited to 'posts')
-rw-r--r--posts/style.scss26
1 files changed, 26 insertions, 0 deletions
diff --git a/posts/style.scss b/posts/style.scss
new file mode 100644
index 0000000..532f491
--- /dev/null
+++ b/posts/style.scss
@@ -0,0 +1,26 @@
+---
+---
+
+// fill width
+#posts {
+ table-layout: auto;
+ width: 100%;
+}
+
+// fit date column
+#posts td:nth-child(1),
+#posts th:nth-child(1) {
+ white-space: nowrap;
+ width: 1%;
+}
+
+// dates with table numerals
+#posts td:nth-child(1) { font-feature-settings: "tnum"; }
+
+#search {
+ display: flex;
+ gap: 6px;
+
+ margin-bottom: 24px;
+}
+#search input[type=text] { flex-grow: 1; }