10
10
*/
11
11
12
12
body {
13
- max-width : 750 px ;
13
+ max-width : 990 px ;
14
14
margin : 0 auto;
15
15
padding : 1em ;
16
16
font-family : system-ui, -apple-system, 'Segoe UI' , Roboto, 'Helvetica Neue' ,
17
17
Arial, sans-serif;
18
+ -webkit-text-size-adjust : 100% ;
18
19
line-height : 1.4 ;
19
20
background : # 212121 ;
20
21
color : # dedede ;
@@ -29,18 +30,6 @@ a:visited {
29
30
a : hover {
30
31
color : # 98c379 ;
31
32
}
32
- figure ,
33
- tr {
34
- background : # 363636 ;
35
- }
36
- tr : nth-child (odd) {
37
- background : # 414141 ;
38
- }
39
- td ,
40
- th {
41
- padding : 10px ;
42
- text-align : left;
43
- }
44
33
table {
45
34
width : 100% ;
46
35
word-wrap : break-word;
@@ -49,16 +38,29 @@ table {
49
38
}
50
39
figure {
51
40
margin : 0 ;
52
- padding : 10 px ;
41
+ padding : 0.75 em ;
53
42
border-radius : 5px ;
54
43
display : inline-block;
55
44
}
56
- figure ,
57
- table {
58
- margin-bottom : 20px ;
45
+ table ,
46
+ figure {
47
+ margin-bottom : 1.25em ;
48
+ }
49
+ tr ,
50
+ figure {
51
+ background : # 363636 ;
52
+ }
53
+ tr : nth-child (odd) {
54
+ background : # 414141 ;
55
+ }
56
+ td ,
57
+ th {
58
+ padding : 0.5em 0.75em ;
59
+ text-align : left;
59
60
}
60
61
img ,
61
62
canvas {
63
+ max-width : 100% ;
62
64
border : 0 ;
63
65
vertical-align : middle;
64
66
}
74
76
h1 {
75
77
margin-top : 0.5em ;
76
78
}
79
+ label {
80
+ display : inline-block;
81
+ margin-bottom : 0.25em ;
82
+ }
77
83
button ,
78
- input ,
79
84
select ,
85
+ input ,
80
86
textarea {
87
+ -webkit-appearance : none;
81
88
box-sizing : border-box;
89
+ margin : 0 ;
90
+ padding : 0.5em 0.75em ;
82
91
font-family : inherit;
83
92
font-size : 100% ;
84
- line-height : 1.15 ;
85
- margin : 0 ;
86
- padding : 5px ;
93
+ line-height : 1.4 ;
94
+ background : # 414141 ;
95
+ color : # dedede ;
96
+ border : 1px solid # 363636 ;
97
+ border-radius : 5px ;
98
+ box-shadow : 0 0 4px rgba (0 , 0 , 0 , 0.07 );
99
+ }
100
+ input ,
101
+ textarea {
102
+ width : 100% ;
103
+ box-shadow : inset 0 0 4px rgba (0 , 0 , 0 , 0.07 );
104
+ }
105
+ textarea {
106
+ display : block;
107
+ overflow : auto;
108
+ }
109
+ select {
110
+ display : block;
111
+ padding-right : 2.25em ;
112
+ background : # 3c76a7 ;
113
+ background : url ('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"%3E%3Cpath fill="%23fff" d="M2 0L0 2h4zm0 5L0 3h4z"/%3E%3C/svg%3E' )
114
+ no-repeat right 0.75em center/0.75em,
115
+ linear-gradient (180deg , # 3c76a7, # 225c8d );
116
+ border-color : # 225c8d ;
117
+ color : # fff ;
118
+ }
119
+ select ::-ms-expand {
120
+ display : none;
121
+ }
122
+ option {
123
+ color : # 212121 ;
124
+ }
125
+ input [type = 'checkbox' ] {
126
+ -webkit-appearance : checkbox;
127
+ width : auto;
128
+ padding : initial;
129
+ box-shadow : none;
87
130
}
88
131
input [type = 'file' ] {
89
- padding : inherit;
90
132
max-width : 100% ;
133
+ padding : 0 ;
134
+ background : none;
135
+ border : 0 ;
136
+ border-radius : 0 ;
137
+ box-shadow : none;
138
+ }
139
+
140
+ input [type = 'file' ]::-webkit-file-upload-button {
141
+ -webkit-appearance : none;
142
+ box-sizing : border-box;
143
+ margin : 0 ;
144
+ padding : 0.5em 0.75em ;
145
+ font-family : inherit;
146
+ font-size : 100% ;
147
+ line-height : 1.4 ;
148
+ background : linear-gradient (180deg , # 3c76a7, # 225c8d );
149
+ border : 1px solid # 225c8d ;
150
+ color : # fff ;
151
+ border-radius : 5px ;
152
+ box-shadow : 0 0 4px rgba (0 , 0 , 0 , 0.07 );
153
+ }
154
+ input [type = 'file' ]::-ms-browse {
155
+ box-sizing : border-box;
156
+ margin : 0 ;
157
+ padding : 0.5em 0.75em ;
158
+ font-family : inherit;
159
+ font-size : 100% ;
160
+ line-height : 1.4 ;
161
+ background : linear-gradient (180deg , # 3c76a7, # 225c8d );
162
+ border : 1px solid # 225c8d ;
163
+ color : # fff ;
164
+ border-radius : 5px ;
165
+ box-shadow : 0 0 4px rgba (0 , 0 , 0 , 0.07 );
91
166
}
92
167
93
168
@media (prefers-color-scheme : light) {
@@ -112,16 +187,38 @@ input[type='file'] {
112
187
tr : nth-child (odd) {
113
188
background : # f6f6f6 ;
114
189
}
190
+ input ,
191
+ textarea {
192
+ background : # fff ;
193
+ border-color : # d1d1d1 ;
194
+ color : # 212121 ;
195
+ }
115
196
}
116
197
117
- # url {
118
- width : 100% ;
198
+ # edit {
199
+ background : # 3c76a7 ;
200
+ background : linear-gradient (180deg , # 3c76a7, # 225c8d );
201
+ border-color : # 225c8d ;
202
+ color : # fff ;
203
+ }
204
+ # crop {
205
+ background : # 6fa349 ;
206
+ background : linear-gradient (180deg , # 6fa349, # 568a30 );
207
+ border-color : # 568a30 ;
208
+ color : # fff ;
209
+ }
210
+ # cancel {
211
+ background : # d79435 ;
212
+ background : linear-gradient (180deg , # d79435, # be7b1c );
213
+ border-color : # be7b1c ;
214
+ color : # fff ;
119
215
}
216
+
120
217
# result {
121
218
display : block;
122
219
}
123
220
124
- @media (min-width : 481 px ) {
221
+ @media (min-width : 540 px ) {
125
222
# navigation {
126
223
list-style : none;
127
224
padding : 0 ;
0 commit comments