Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

app.css

81 lines1.3 KB

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%;
17​
18a {
19 font-weight: 500;
20 color: #646cff;
21 text-decoration: inherit;
23a:hover {
24 color: #535bf2;
26​
27body {
28 margin: 0;
29 display: flex;
30 place-items: center;
31 min-width: 320px;
32 min-height: 100vh;
34​
35h1 {
36 font-size: 3.2em;
37 line-height: 1.1;
39​
40.card {
41 padding: 2em;
43​
44#app {
45 max-width: 1280px;
46 margin: 0 auto;
47 padding: 2rem;
48 text-align: center;
50​
51button {
52 border-radius: 8px;
53 border: 1px solid transparent;
54 padding: 0.6em 1.2em;
55 font-size: 1em;
56 font-weight: 500;
57 font-family: inherit;
58 background-color: #1a1a1a;
59 cursor: pointer;
60 transition: border-color 0.25s;
62button:hover {
63 border-color: #646cff;
65button:focus,
66button:focus-visible {
67 outline: 4px auto -webkit-focus-ring-color;
69​
70@media (prefers-color-scheme: light) {
71 :root {
72 color: #213547;
73 background-color: #ffffff;
74 }
75 a:hover {
76 color: #747bff;
77 }
78 button {
79 background-color: #f9f9f9;
80 }