summaryrefslogtreecommitdiff
path: root/css/base.css
diff options
context:
space:
mode:
authormuqiuhan <[email protected]>2023-02-28 09:58:51 +0000
committermuqiuhan <[email protected]>2023-02-28 09:58:51 +0000
commit7e2f3fca091c08771486df0b870ce187f869d363 (patch)
tree025e1b18a0d94c940a85eb631a7f48951efbc18d /css/base.css
parent2605fd54aa163fcfc97fc265a300b1b54bf38543 (diff)
downloadblog-7e2f3fca091c08771486df0b870ce187f869d363.tar.gz
deploy: b780169745c17f9fc971299e923e5ca5669b5a22
Diffstat (limited to 'css/base.css')
-rw-r--r--css/base.css43
1 files changed, 43 insertions, 0 deletions
diff --git a/css/base.css b/css/base.css
new file mode 100644
index 00000000..885373c3
--- /dev/null
+++ b/css/base.css
@@ -0,0 +1,43 @@
+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 {
+ 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;
+}