aboutsummaryrefslogtreecommitdiff
path: root/_sass
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 /_sass
parentc782351577faa451edb0eb386694d9db211200f8 (diff)
add search bar to posts
Diffstat (limited to '_sass')
-rw-r--r--_sass/media.scss2
-rw-r--r--_sass/theme.scss15
2 files changed, 16 insertions, 1 deletions
diff --git a/_sass/media.scss b/_sass/media.scss
index a3fedea..d254674 100644
--- a/_sass/media.scss
+++ b/_sass/media.scss
@@ -11,7 +11,7 @@
}
@media only screen and (prefers-color-scheme: dark) {
- .invert {
+ .invert, input, button {
background-color: #222;
color: inherit;
}
diff --git a/_sass/theme.scss b/_sass/theme.scss
index 82e54d6..b462301 100644
--- a/_sass/theme.scss
+++ b/_sass/theme.scss
@@ -94,3 +94,18 @@ table {
list-style-type: disclosure-open;
}
+*:focus { outline: none; }
+
+input, button {
+ border: none;
+ background: #ccc;
+ color: inherit;
+
+ box-sizing: content-box;
+ height: 20px;
+ line-height: 20px;
+ display: inline-block;
+ padding: 2px 8px;
+}
+input[type=submit], buttom { cursor: pointer; }
+