diff options
| author | Leonardo Bishop <me@leonardobishop.com> | 2025-01-17 13:42:21 +0000 |
|---|---|---|
| committer | Leonardo Bishop <me@leonardobishop.com> | 2025-01-17 13:42:21 +0000 |
| commit | 70ebc77f843207a1d4b46c8d960dafbff37e7e2e (patch) | |
| tree | 2d03f7a66b877bb6ffa2f92c0504ac90f26db55f /assets/css/main.css | |
Initial commit
Diffstat (limited to 'assets/css/main.css')
| -rw-r--r-- | assets/css/main.css | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/assets/css/main.css b/assets/css/main.css new file mode 100644 index 0000000..88b8e3e --- /dev/null +++ b/assets/css/main.css @@ -0,0 +1,80 @@ +@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap'); +@import url('./reset.css'); + +:root { + --color-accent: #6366f1; + --color-primary: #4f46e5; + --color-primary-dark: #4338ca; + --color-error: #ff4136; + --color-text: #000; + --color-text-muted: #4b5563; + --color-background-muted: #f3f4f6; + --color-background: #fff; + --color-background-error: #cf2f27; + --color-background-error-dark: #c12820; + --color-border: #d1d9e0; + --color-favourite: #f6e05e; + + --text-smaller: 0.75rem; + --text-small: 0.875rem; + --text-normal: 1rem; + --text-large: 1.25rem; + --text-larger: 1.5rem; + --text-x-large: 1.875rem; + --text-xx-large: 2.25rem; + + --font-sans-seif: 'Inter', sans-serif; +} + +html, body { + font-family: var(--font-sans-seif); + font-optical-sizing: auto; + font-style: normal; +} + +a { + color: var(--color-primary); + text-decoration: none; + transition: color 0.2s ease; +} + +.register-link:hover { + color: var(--color-primary-dark); +} + +h1 { + font-size: var(--text-xx-large); + font-weight: 700; + line-height: 1.2; +} + +h2 { + font-size: var(--text-x-large); + font-weight: 700; + line-height: 1.2; +} + +h3 { + font-size: var(--text-large); + font-weight: 700; + line-height: 1.2; +} + +h4 { + font-size: var(--text-normal); + font-weight: 700; + line-height: 1.2; +} + +p { + font-size: var(--text-normal); + line-height: 1.3; + margin-bottom: 0.5rem; +} + +ul { + list-style-type: disc; + list-style-position: inside; + margin: 0.5rem 0 1rem 1rem; + line-height: 1.3; +}
\ No newline at end of file |
