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