master
css 116 lines 1.7 KB
Raw
1 .logo.vite:hover {
2 filter: drop-shadow(0 0 2em #747bff);
3 }
4
5 .logo.react:hover {
6 filter: drop-shadow(0 0 2em #61dafb);
7 }
8 :root {
9 font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
10 font-size: 16px;
11 line-height: 24px;
12 font-weight: 400;
13
14 color: #0f0f0f;
15 background-color: #f6f6f6;
16
17 font-synthesis: none;
18 text-rendering: optimizeLegibility;
19 -webkit-font-smoothing: antialiased;
20 -moz-osx-font-smoothing: grayscale;
21 -webkit-text-size-adjust: 100%;
22 }
23
24 .container {
25 margin: 0;
26 padding-top: 10vh;
27 display: flex;
28 flex-direction: column;
29 justify-content: center;
30 text-align: center;
31 }
32
33 .logo {
34 height: 6em;
35 padding: 1.5em;
36 will-change: filter;
37 transition: 0.75s;
38 }
39
40 .logo.tauri:hover {
41 filter: drop-shadow(0 0 2em #24c8db);
42 }
43
44 .row {
45 display: flex;
46 justify-content: center;
47 }
48
49 a {
50 font-weight: 500;
51 color: #646cff;
52 text-decoration: inherit;
53 }
54
55 a:hover {
56 color: #535bf2;
57 }
58
59 h1 {
60 text-align: center;
61 }
62
63 input,
64 button {
65 border-radius: 8px;
66 border: 1px solid transparent;
67 padding: 0.6em 1.2em;
68 font-size: 1em;
69 font-weight: 500;
70 font-family: inherit;
71 color: #0f0f0f;
72 background-color: #ffffff;
73 transition: border-color 0.25s;
74 box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
75 }
76
77 button {
78 cursor: pointer;
79 }
80
81 button:hover {
82 border-color: #396cd8;
83 }
84 button:active {
85 border-color: #396cd8;
86 background-color: #e8e8e8;
87 }
88
89 input,
90 button {
91 outline: none;
92 }
93
94 #greet-input {
95 margin-right: 5px;
96 }
97
98 @media (prefers-color-scheme: dark) {
99 :root {
100 color: #f6f6f6;
101 background-color: #2f2f2f;
102 }
103
104 a:hover {
105 color: #24c8db;
106 }
107
108 input,
109 button {
110 color: #ffffff;
111 background-color: #0f0f0f98;
112 }
113 button:active {
114 background-color: #0f0f0f69;
115 }
116 }