File size: 3,922 Bytes
e9f0f5e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
.title-content {
  font-size: 24px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sub-title-content {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.main-area {
  border-radius: 10px;
  padding: 20px;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.probelm-example-container {
  position: relative;
  padding: 38px 12px 12px 12px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 10px;
}

.probelm-example-title-content {
  position: absolute;
  top: 0;
  left: 0;
  border-right: 1px solid rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 10px 0 10px 0;
  padding: 6px 12px;
}

.probelm-example-another {
  position: absolute;
  top: 0;
  right: 50px;
  border-left: 1px solid rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  border-top: 0;
  border-radius: 0 0px 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 26.89px;
  width: 36px;
  cursor: pointer;
  font-size: 12px;
  background: transparent;
  min-width: auto;
  padding: 0;
}

.probelm-example-another > img {
  height: 16px;
  width: 16px;
  margin-right: 0;
}

.probelm-example-copy {
  position: absolute;
  top: 0;
  right: 0;
  border-left: 1px solid rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  border-top: 0;
  border-right: 0;
  border-radius: 0 10px 0 0px;
  padding: 4px 12px;
  cursor: pointer;
  font-size: 12px;
  background: transparent;
  min-width: auto;
}

.right {
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  position: relative;
  padding: 40px 14px 14px 14px;
  min-height: 500px;
}

.solution-title-content {
  position: absolute;
  top: 0;
  left: 0;
  border-right: 1px solid rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 10px 0 10px 0;
  padding: 4px 8px;
}

.solution-content {
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  height: 480px;
  display: flex;
  flex-direction: column-reverse;
  overflow: none !important;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
}

.solution-content .solution-content {
  padding: 12px;
  display: flex;
  scroll-snap-align: end;
}

.run-btn {
  background: linear-gradient(to right, #ce7e53, #bb470b);
  color: white;
}

.running-btn {
  background: linear-gradient(to right, #ce7e53, #bb470b);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.running-btn::before {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid white;
  border-top-color: transparent;
  /* border-right-color: transparent;
  border-bottom-color: transparent; */
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.probelm-input-container {
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 10px;
}

.probelm-input-container .probelm-input-container {
  border: none;
}

.problem-input-markdown {
  padding: 38px 12px 12px 12px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  position: relative;
  max-height: max-content;
  overflow-y: auto;
  border-width: 1px;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.problem-input-markdown::before {
  content: "Problem rendered";
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 10px 0px 10px 0px;
  position: absolute;
  left: 0;
  top: -1px;
  border-right: 1px solid rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  border-left: 0;
  border-top: 0;
  padding: 6px 12px;
}

.problem-input-markdown .problem-input-markdown {
  border: none;
  padding: 0;
  max-height: 280px;
  min-height: 150px;
}

.problem-input-markdown .problem-input-markdown::before {
  content: "";
  border: none;
  display: none;
}