aboutsummaryrefslogtreecommitdiff
path: root/posts
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2025-01-25 11:56:23 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2025-01-25 11:56:23 +0100
commitf509e410bca55ff04b79b38a73e3751eff848c95 (patch)
tree20a4ba126d57512affbc06ffc06df69cfc4e5706 /posts
parentc782351577faa451edb0eb386694d9db211200f8 (diff)
add search bar to posts
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; }