diff options
Diffstat (limited to 'frontend/src/index.css')
| -rw-r--r-- | frontend/src/index.css | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/frontend/src/index.css b/frontend/src/index.css new file mode 100644 index 0000000..917888c --- /dev/null +++ b/frontend/src/index.css | |||
| @@ -0,0 +1,70 @@ | |||
| 1 | :root { | ||
| 2 | font-family: Inter, Avenir, Helvetica, Arial, sans-serif; | ||
| 3 | font-size: 16px; | ||
| 4 | line-height: 24px; | ||
| 5 | font-weight: 400; | ||
| 6 | |||
| 7 | color-scheme: light dark; | ||
| 8 | color: rgba(255, 255, 255, 0.87); | ||
| 9 | background-color: #242424; | ||
| 10 | |||
| 11 | font-synthesis: none; | ||
| 12 | text-rendering: optimizeLegibility; | ||
| 13 | -webkit-font-smoothing: antialiased; | ||
| 14 | -moz-osx-font-smoothing: grayscale; | ||
| 15 | -webkit-text-size-adjust: 100%; | ||
| 16 | } | ||
| 17 | |||
| 18 | a { | ||
| 19 | font-weight: 500; | ||
| 20 | color: #646cff; | ||
| 21 | text-decoration: inherit; | ||
| 22 | } | ||
| 23 | a:hover { | ||
| 24 | color: #535bf2; | ||
| 25 | } | ||
| 26 | |||
| 27 | body { | ||
| 28 | margin: 0; | ||
| 29 | display: flex; | ||
| 30 | place-items: center; | ||
| 31 | min-width: 320px; | ||
| 32 | min-height: 100vh; | ||
| 33 | } | ||
| 34 | |||
| 35 | h1 { | ||
| 36 | font-size: 3.2em; | ||
| 37 | line-height: 1.1; | ||
| 38 | } | ||
| 39 | |||
| 40 | button { | ||
| 41 | border-radius: 8px; | ||
| 42 | border: 1px solid transparent; | ||
| 43 | padding: 0.6em 1.2em; | ||
| 44 | font-size: 1em; | ||
| 45 | font-weight: 500; | ||
| 46 | font-family: inherit; | ||
| 47 | background-color: #1a1a1a; | ||
| 48 | cursor: pointer; | ||
| 49 | transition: border-color 0.25s; | ||
| 50 | } | ||
| 51 | button:hover { | ||
| 52 | border-color: #646cff; | ||
| 53 | } | ||
| 54 | button:focus, | ||
| 55 | button:focus-visible { | ||
| 56 | outline: 4px auto -webkit-focus-ring-color; | ||
| 57 | } | ||
| 58 | |||
| 59 | @media (prefers-color-scheme: light) { | ||
| 60 | :root { | ||
| 61 | color: #213547; | ||
| 62 | background-color: #ffffff; | ||
| 63 | } | ||
| 64 | a:hover { | ||
| 65 | color: #747bff; | ||
| 66 | } | ||
| 67 | button { | ||
| 68 | background-color: #f9f9f9; | ||
| 69 | } | ||
| 70 | } | ||