-
Notifications
You must be signed in to change notification settings - Fork 1
/
converters_new.css
181 lines (181 loc) · 3.87 KB
/
converters_new.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
body {
font-family: Cantarell, --font-cantarell, "Noto Sans CJK JP", "Noto Sans JP", --font-noto-sans-jp, -apple-system,
BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Open Sans", "Helvetica Neue", sans-serif;
font-size: 20px;
background-color: #fdfdfd;
}
#container {
position: absolute;
top: 25px;
left: 30px;
right: 30px;
padding-bottom: 30px;
}
h1 {
margin: 0 0 5px;
font-size: 30px;
padding-bottom: 3px;
border-bottom: 1px solid #98cbad;
font-weight: normal;
}
h2 {
margin: 15px 0 10px;
font-size: 24px;
padding-bottom: 3px;
border-bottom: 1px solid;
font-weight: 500;
}
#main {
overflow: hidden;
}
#origin-title {
border-bottom-color: #cb98ad;
}
#target-title {
border-bottom-color: #ad98cb;
}
#origin {
font-family: Cantarell, --font-cantarell, "Noto Sans CJK HK", "Noto Sans HK", --font-noto-sans-hk, -apple-system,
BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Open Sans", "Helvetica Neue", sans-serif;
font-size: 20px;
font-weight: normal;
padding: 5px;
width: 100%;
height: 300px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
border: 1px solid grey;
border-radius: 3px;
background-color: white;
outline: none;
-webkit-box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2);
-moz-box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2);
box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2);
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
resize: none;
}
#target {
padding: 5px;
height: 300px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
border: 1px solid grey;
border-radius: 3px;
background-color: white;
-webkit-box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2);
-moz-box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2);
box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2);
color: red;
overflow: auto;
white-space: pre-wrap;
-webkit-user-select: all;
-moz-user-select: all;
-ms-user-select: all;
user-select: all;
}
#target .raw {
color: red;
}
#target .substituted {
color: black;
}
#target .separator {
color: darkgrey;
}
@media (max-width: 1000px) {
#origin, #target {
height: 250px;
}
}
@media (max-width: 850px) {
#container {
display: flex;
flex-direction: column;
}
#options {
order: 1;
}
}
#options {
float: right;
font-size: 18px;
}
#options-title {
margin-left: 44px;
border-bottom-color: #98adcb;
}
#options div {
margin-left: 30px;
}
#options .multiline {
display: flex;
align-items: baseline;
}
label {
cursor: pointer;
font-family: Cantarell, --font-cantarell, "Noto Sans CJK HK", "Noto Sans HK", --font-noto-sans-hk, -apple-system,
BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Open Sans", "Helvetica Neue", sans-serif;
font-size: 20px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
code {
font-family: "Courier New", Courier, monospace;
font-weight: bold;
}
input[type=checkbox], input[type=radio] {
cursor: pointer;
width: 18px;
height: 18px;
position: relative;
top: 2px;
margin-left: 16px;
margin-right: 8px;
}
:checked + label ~ .false-only, :not(:checked) + label ~ .true-only {
opacity: 0.4;
pointer-events: none;
}
#options #separator-title {
font-size: 20px;
font-weight: bold;
margin-left: 16px;
}
#options input[type=radio] {
margin-left: 0;
}
input[type=text] {
font-family: Cantarell, --font-cantarell, "Noto Sans CJK JP", "Noto Sans JP", --font-noto-sans-jp, -apple-system,
BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Open Sans", "Helvetica Neue", sans-serif;
font-size: 16px;
width: 48px;
}
p {
margin: 0;
font-size: 20px;
font-weight: bold;
color: red;
}
.simple-table {
border-collapse: collapse;
font-size: 18px;
}
.simple-table thead {
border-bottom: 1px solid darkgrey;
}
.simple-table tr {
vertical-align: baseline;
}
.simple-table tr * {
padding: 2px 8px;
}
.simple-table tr :first-child {
text-align: right;
border-right: 1px solid darkgrey;
}