aboutsummaryrefslogtreecommitdiff
path: root/src/styles/base.css
diff options
context:
space:
mode:
Diffstat (limited to 'src/styles/base.css')
-rw-r--r--src/styles/base.css51
1 files changed, 51 insertions, 0 deletions
diff --git a/src/styles/base.css b/src/styles/base.css
new file mode 100644
index 0000000..8a67f66
--- /dev/null
+++ b/src/styles/base.css
@@ -0,0 +1,51 @@
+@layer base {
+ *,
+ *::before,
+ *::after {
+ box-sizing: border-box;
+ margin: 0;
+ padding: 0;
+ }
+
+ :root {
+ font-family:
+ 'Inter',
+ system-ui,
+ -apple-system,
+ BlinkMacSystemFont,
+ 'Segoe UI',
+ Roboto,
+ sans-serif;
+ font-size: 16px;
+ line-height: 1.5;
+ color: var(--text);
+ background-color: var(--bg);
+ }
+
+ body {
+ min-height: 100dvh;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+ }
+
+ main {
+ padding: 0 1rem;
+ }
+
+ h1 {
+ font-size: 1.875rem;
+ font-weight: 700;
+ letter-spacing: -0.02em;
+ }
+
+ h2 {
+ font-size: 1.25rem;
+ font-weight: 600;
+ letter-spacing: -0.01em;
+ }
+
+ button {
+ cursor: pointer;
+ font-family: inherit;
+ }
+}