summaryrefslogtreecommitdiff
path: root/themes/theme/source/css/base.styl
diff options
context:
space:
mode:
authorsomhairle <[email protected]>2026-04-21 20:40:27 +0800
committerSomhairle H. Marisol <[email protected]>2026-05-24 17:24:57 +0800
commitad8f9f55ea79a4d587aecc69698808da82de3d62 (patch)
treed25c0db712e6f015d850627ff957edea44c64f94 /themes/theme/source/css/base.styl
downloadblog-ad8f9f55ea79a4d587aecc69698808da82de3d62.tar.gz
二〇二六年四月二十一日
Diffstat (limited to 'themes/theme/source/css/base.styl')
-rw-r--r--themes/theme/source/css/base.styl38
1 files changed, 38 insertions, 0 deletions
diff --git a/themes/theme/source/css/base.styl b/themes/theme/source/css/base.styl
new file mode 100644
index 00000000..02dc0bb7
--- /dev/null
+++ b/themes/theme/source/css/base.styl
@@ -0,0 +1,38 @@
+div
+ display block
+ padding 0
+ margin 0
+
+ul
+ list-style none
+ padding 0
+ margin 0
+
+*, *::before, *::after
+ box-sizing border-box
+
+a
+ text-decoration: none
+ color: $color-text-primary
+
+input
+ outline none
+ border none
+
+body
+ text-style(body-default)
+ background-color $color-background
+
+/* clears the 'X' from Internet Explorer */
+input[type=search]::-ms-clear
+ display none
+ width 0
+ height 0
+input[type=search]::-ms-reveal
+ display none
+ width 0
+ height 0
+
+/* clears the 'X' from Chrome */
+input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-results-button, input[type="search"]::-webkit-search-results-decoration
+ display: none