summaryrefslogtreecommitdiff
path: root/public/styles/markdown/reset.css
diff options
context:
space:
mode:
authorKyren223 <contact@kyren.codes>2026-10-07 03:14:47 +0300
committerKyren223 <contact@kyren.codes>2026-10-07 03:14:47 +0300
commit6e70fe447ec9504757fbdc152b5b3697c9af8def (patch)
tree4da46c4f479e87e17ac5f786baafff4e285b37c1 /public/styles/markdown/reset.css
parentba1be9573ef20d6424ae987257a1c727c47d4b53 (diff)
Initial iteration
Diffstat (limited to 'public/styles/markdown/reset.css')
-rw-r--r--public/styles/markdown/reset.css48
1 files changed, 48 insertions, 0 deletions
diff --git a/public/styles/markdown/reset.css b/public/styles/markdown/reset.css
new file mode 100644
index 0000000..42be0c5
--- /dev/null
+++ b/public/styles/markdown/reset.css
@@ -0,0 +1,48 @@
+*,
+*::before,
+*::after {
+ box-sizing: border-box;
+}
+
+* {
+ margin: 0;
+}
+
+html {
+ color-scheme: dark;
+ accent-color: var(--sl-color-accent);
+}
+
+html[data-theme="light"] {
+ color-scheme: light;
+}
+
+body {
+ font-family: var(--__sl-font);
+ line-height: var(--sl-line-height);
+ -webkit-font-smoothing: antialiased;
+ color: var(--sl-color-text);
+ background-color: var(--sl-color-bg);
+}
+
+input,
+button,
+textarea,
+select {
+ font: inherit;
+}
+
+p,
+h1,
+h2,
+h3,
+h4,
+h5,
+h6,
+code {
+ overflow-wrap: anywhere;
+}
+
+code {
+ font-family: var(--__sl-font-mono);
+}