irongit

A prebuilt stack for Django + Tailwind + Svelte

85 lines1.3 KBCSS
1@tailwind base;
2@tailwind components;
3@tailwind utilities;
4
5:root {
6 font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
7 font-size: 16px;
8 line-height: 24px;
9 font-weight: 400;
10
11 color-scheme: light dark;
12 color: rgba(255, 255, 255, 0.87);
13 background-color: #242424;
14
15 font-synthesis: none;
16 text-rendering: optimizeLegibility;
17 -webkit-font-smoothing: antialiased;
18 -moz-osx-font-smoothing: grayscale;
19 -webkit-text-size-adjust: 100%;
20}
21
22a {
23 font-weight: 500;
24 color: #646cff;
25 text-decoration: inherit;
26}
27a:hover {
28 color: #535bf2;
29}
30
31body {
32 margin: 0;
33 display: flex;
34 place-items: center;
35 min-width: 320px;
36 min-height: 100vh;
37}
38
39h1 {
40 font-size: 3.2em;
41 line-height: 1.1;
42}
43
44.card {
45 padding: 2em;
46}
47
48#app {
49 max-width: 1280px;
50 margin: 0 auto;
51 padding: 2rem;
52 text-align: center;
53}
54
55button {
56 border-radius: 8px;
57 border: 1px solid transparent;
58 padding: 0.6em 1.2em;
59 font-size: 1em;
60 font-weight: 500;
61 font-family: inherit;
62 background-color: #1a1a1a;
63 cursor: pointer;
64 transition: border-color 0.25s;
65}
66button:hover {
67 border-color: #646cff;
68}
69button:focus,
70button:focus-visible {
71 outline: 4px auto -webkit-focus-ring-color;
72}
73
74@media (prefers-color-scheme: light) {
75 :root {
76 color: #213547;
77 background-color: #ffffff;
78 }
79 a:hover {
80 color: #747bff;
81 }
82 button {
83 background-color: #f9f9f9;
84 }
85}