Rooni commited on
Commit
f456c59
·
1 Parent(s): ec4874c

Update assets/index-48a6f08c.css

Browse files
Files changed (1) hide show
  1. assets/index-48a6f08c.css +52 -46
assets/index-48a6f08c.css CHANGED
@@ -1,14 +1,8 @@
1
- body {
2
- font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
3
- line-height: 1.5;
4
- font-weight: 400;
5
- color: #fff;
6
- background-color: #212121;
7
- font-synthesis: none;
8
- text-rendering: optimizeLegibility;
9
- -webkit-font-smoothing: antialiased;
10
- -moz-osx-font-smoothing: grayscale;
11
- -webkit-text-size-adjust: 100%;
12
  }
13
 
14
  #root {
@@ -16,6 +10,8 @@ body {
16
  margin: 0 auto;
17
  padding: 2rem;
18
  text-align: center;
 
 
19
  }
20
 
21
  .language-container {
@@ -27,28 +23,32 @@ body {
27
  display: flex;
28
  justify-content: center;
29
  gap: 20px;
30
- width: 100%;
31
- max-width: 800px;
32
  }
33
 
34
- .textbox-container>textarea {
35
  width: 50%;
 
 
36
  }
37
 
38
  .language-selector {
39
- width: calc(50% - 20px);
40
  }
41
 
42
- .language-selector>select {
43
  width: 150px;
 
 
44
  }
45
 
46
  .progress-container {
47
  position: relative;
48
  font-size: 14px;
49
- color: #fff;
50
- background-color: #424242;
51
  border: solid 1px;
 
52
  border-radius: 8px;
53
  text-align: left;
54
  overflow: hidden;
@@ -61,7 +61,7 @@ body {
61
  width: 1%;
62
  height: 100%;
63
  overflow: hidden;
64
- background-color: #2196f3;
65
  white-space: nowrap;
66
  }
67
 
@@ -86,54 +86,63 @@ body {
86
  gap: 10px;
87
  }
88
 
 
 
 
 
 
 
 
 
 
89
  h1 {
90
  font-size: 3.2em;
91
  line-height: 1;
92
- color: #fff;
93
  }
94
 
95
  h1, h2 {
96
  margin: 8px;
97
- color: #fff;
98
  }
99
 
100
  select {
101
  padding: .3em;
102
  cursor: pointer;
103
  border-radius: 8px;
104
- border: none;
105
  font-size: 1em;
106
  font-family: inherit;
107
- background-color: #555;
108
  transition: border-color .25s;
 
109
  }
110
 
111
  select:hover {
112
- border-color: #646cff;
113
  }
114
 
115
- select:focus,
116
- select:focus-visible {
117
- outline: 4px auto #646cff;
118
  }
119
 
120
  textarea {
121
  padding: .6em;
122
  border-radius: 8px;
123
- border: none;
124
  font-size: 1em;
125
  font-family: inherit;
126
- background-color: #555;
127
  transition: border-color .25s;
 
128
  }
129
 
130
  textarea:hover {
131
- border-color: #646cff;
132
  }
133
 
134
- textarea:focus,
135
- textarea:focus-visible {
136
- outline: 4px auto #646cff;
137
  }
138
 
139
  button {
@@ -141,25 +150,22 @@ button {
141
  cursor: pointer;
142
  font-weight: 500;
143
  border-radius: 8px;
144
- border: none;
145
  font-size: 1em;
146
  font-family: inherit;
147
- background-color: #1976d2;
148
- color: #fff;
149
- transition: background-color .25s;
150
  }
151
 
152
- button[disabled] {
153
- cursor: not-allowed;
154
- background-color: #666;
155
- color: #ccc;
156
  }
157
 
158
- button:hover:not([disabled]) {
159
- background-color: #005cb2;
160
  }
161
 
162
- button:focus,
163
- button:focus-visible {
164
- outline: 4px auto #646cff;
165
  }
 
1
+ :root {
2
+ --primary-color: #212121;
3
+ --secondary-color: #757575;
4
+ --background-color: #424242;
5
+ --text-color: #ffffff;
 
 
 
 
 
 
6
  }
7
 
8
  #root {
 
10
  margin: 0 auto;
11
  padding: 2rem;
12
  text-align: center;
13
+ background-color: var(--background-color);
14
+ color: var(--text-color);
15
  }
16
 
17
  .language-container {
 
23
  display: flex;
24
  justify-content: center;
25
  gap: 20px;
26
+ width: 800px;
 
27
  }
28
 
29
+ .textbox-container > textarea {
30
  width: 50%;
31
+ background-color: var(--background-color);
32
+ color: var(--text-color);
33
  }
34
 
35
  .language-selector {
36
+ width: 50%;
37
  }
38
 
39
+ .language-selector > select {
40
  width: 150px;
41
+ background-color: var(--background-color);
42
+ color: var(--text-color);
43
  }
44
 
45
  .progress-container {
46
  position: relative;
47
  font-size: 14px;
48
+ color: var(--text-color);
49
+ background-color: var(--secondary-color);
50
  border: solid 1px;
51
+ border-color: var(--secondary-color);
52
  border-radius: 8px;
53
  text-align: left;
54
  overflow: hidden;
 
61
  width: 1%;
62
  height: 100%;
63
  overflow: hidden;
64
+ background-color: var(--primary-color);
65
  white-space: nowrap;
66
  }
67
 
 
86
  gap: 10px;
87
  }
88
 
89
+ body {
90
+ margin: 0;
91
+ display: flex;
92
+ place-items: center;
93
+ min-width: 320px;
94
+ min-height: 100vh;
95
+ background-color: var(--background-color);
96
+ }
97
+
98
  h1 {
99
  font-size: 3.2em;
100
  line-height: 1;
101
+ color: var(--text-color);
102
  }
103
 
104
  h1, h2 {
105
  margin: 8px;
106
+ color: var(--text-color);
107
  }
108
 
109
  select {
110
  padding: .3em;
111
  cursor: pointer;
112
  border-radius: 8px;
113
+ border: 1px solid transparent;
114
  font-size: 1em;
115
  font-family: inherit;
116
+ background-color: var(--primary-color);
117
  transition: border-color .25s;
118
+ color: var(--text-color);
119
  }
120
 
121
  select:hover {
122
+ border-color: var(--text-color);
123
  }
124
 
125
+ select:focus, select:focus-visible {
126
+ outline: 4px auto -webkit-focus-ring-color;
 
127
  }
128
 
129
  textarea {
130
  padding: .6em;
131
  border-radius: 8px;
132
+ border: 1px solid transparent;
133
  font-size: 1em;
134
  font-family: inherit;
135
+ background-color: var(--primary-color);
136
  transition: border-color .25s;
137
+ color: var(--text-color);
138
  }
139
 
140
  textarea:hover {
141
+ border-color: var(--text-color);
142
  }
143
 
144
+ textarea:focus, textarea:focus-visible {
145
+ outline: 4px auto -webkit-focus-ring-color;
 
146
  }
147
 
148
  button {
 
150
  cursor: pointer;
151
  font-weight: 500;
152
  border-radius: 8px;
153
+ border: 1px solid transparent;
154
  font-size: 1em;
155
  font-family: inherit;
156
+ background-color: var(--primary-color);
157
+ transition: border-color .25s;
158
+ color: var(--text-color);
159
  }
160
 
161
+ button:hover:not([disabled]) {
162
+ border-color: var(--text-color);
 
 
163
  }
164
 
165
+ button:focus, button:focus-visible {
166
+ outline: 4px auto -webkit-focus-ring-color;
167
  }
168
 
169
+ button[disabled] {
170
+ cursor: not-allowed;
 
171
  }