|
1 |
| -@import "./components.css"; |
| 1 | +@import './components.css'; |
2 | 2 | @tailwind base;
|
3 | 3 | @tailwind components;
|
4 | 4 | @tailwind utilities;
|
5 | 5 |
|
6 | 6 | :root {
|
7 |
| - --foreground-rgb: 0, 0, 0; |
8 |
| - --background-start-rgb: 214, 219, 220; |
9 |
| - --background-end-rgb: 255, 255, 255; |
10 |
| - --color-primary: #3498db; |
11 |
| - --color-secondary: #2ecc71; |
12 |
| - --color-tertiary: #e74c3c; |
13 |
| - --primary-text: #333; |
14 |
| - --secondary-text: #555; |
| 7 | + --foreground-rgb: 0, 0, 0; |
| 8 | + --background-start-rgb: 214, 219, 220; |
| 9 | + --background-end-rgb: 255, 255, 255; |
| 10 | + --color-primary: #3498db; |
| 11 | + --color-secondary: #2ecc71; |
| 12 | + --color-tertiary: #e74c3c; |
| 13 | + --primary-text: #333; |
| 14 | + --secondary-text: #555; |
15 | 15 | }
|
16 | 16 |
|
17 | 17 | @media (prefers-color-scheme: dark) {
|
18 |
| - :root { |
19 |
| - --foreground-rgb: 255, 255, 255; |
20 |
| - --background-start-rgb: 0, 0, 0; |
21 |
| - --background-end-rgb: 0, 0, 0; |
22 |
| - } |
| 18 | + :root { |
| 19 | + --foreground-rgb: 255, 255, 255; |
| 20 | + --background-start-rgb: 0, 0, 0; |
| 21 | + --background-end-rgb: 0, 0, 0; |
| 22 | + } |
23 | 23 | }
|
24 | 24 |
|
25 | 25 | body {
|
26 |
| - color: rgb(var(--foreground-rgb)); |
27 |
| - background: linear-gradient( |
28 |
| - to bottom, |
29 |
| - transparent, |
30 |
| - rgb(var(--background-end-rgb)) |
31 |
| - ) |
32 |
| - rgb(var(--background-start-rgb)); |
| 26 | + color: rgb(var(--foreground-rgb)); |
| 27 | + background: linear-gradient(to bottom, transparent, rgb(var(--background-end-rgb))) rgb(var(--background-start-rgb)); |
| 28 | +} |
| 29 | + |
| 30 | +.heading { |
| 31 | + @apply text-secondary ml-2; |
| 32 | + |
| 33 | + &::before { |
| 34 | + content: '>_ '; |
| 35 | + } |
| 36 | +} |
| 37 | + |
| 38 | +.h1 { |
| 39 | + font-size: clamp(3rem, 5vw, 5rem); |
| 40 | + @apply font-[400]; |
| 41 | +} |
| 42 | + |
| 43 | +.h2 { |
| 44 | + font-size: clamp(2rem, 4vw, 4rem); |
| 45 | +} |
| 46 | + |
| 47 | +.h3 { |
| 48 | + font-size: clamp(1.75rem, 3.5vw, 3rem); |
| 49 | +} |
| 50 | + |
| 51 | +.h4 { |
| 52 | + font-size: clamp(1.5rem, 3vw, 2.5rem); |
| 53 | +} |
| 54 | + |
| 55 | +.h5 { |
| 56 | + font-size: clamp(1.5rem, 2.5vw, 1.75rem); |
| 57 | +} |
| 58 | + |
| 59 | +.h6 { |
| 60 | + font-size: clamp(1.5rem, 2vw, 1.25rem); |
33 | 61 | }
|
0 commit comments