File tree Expand file tree Collapse file tree 1 file changed +141
-1
lines changed Expand file tree Collapse file tree 1 file changed +141
-1
lines changed Original file line number Diff line number Diff line change @@ -133,4 +133,144 @@ span.run-code-loading {
133
133
.topnav {
134
134
display : none;
135
135
}
136
- }
136
+ }
137
+
138
+ /* Modal Popup */
139
+
140
+ .modal-background {
141
+ display : none;
142
+ position : fixed;
143
+ z-index : 1 ;
144
+ padding-top : 7em ;
145
+ left : 0 ;
146
+ top : 0 ;
147
+ width : 100% ;
148
+ height : 100% ;
149
+ overflow : auto;
150
+ background-color : rgb (0 , 0 , 0 );
151
+ background-color : rgba (0 , 0 , 0 , 0.4 );
152
+ }
153
+
154
+ .modal-content {
155
+ border-radius : 2em ;
156
+ display : block;
157
+ background-color : # fefefe ;
158
+ margin : auto;
159
+ position : relative;
160
+ padding : 1.5em ;
161
+ width : 39em ;
162
+ color : # 333333 ;
163
+ font-family : "trebuchet ms" , helvetica, sans-serif;
164
+ }
165
+
166
+ .modal-title {
167
+ font-size : 2.1em ;
168
+ font-weight : bold;
169
+ text-align : center;
170
+ display : block;
171
+ }
172
+
173
+ .button-wrapper {
174
+ display : flex;
175
+ justify-content : center;
176
+ padding-bottom : 0.7em ;
177
+ }
178
+
179
+ .button-wrapper a {
180
+ border-radius : 2em ;
181
+ text-align : center;
182
+ display : inline-block;
183
+ padding : 0.7em 1.4em 0.7em 1.4em ;
184
+ margin : 0.3em ;
185
+ font-size : 1.5em ;
186
+ font-weight : bold;
187
+ color : # 333333 !important ;
188
+ text-decoration : none !important ;
189
+ background-color : # 44a9f8 ;
190
+ }
191
+
192
+ .upper-text {
193
+ display : block;
194
+ }
195
+
196
+ .upper-text-link {
197
+ color : # 333333 !important ;
198
+ text-decoration : none !important ;
199
+ }
200
+
201
+ .middle-text {
202
+ padding-top : 0.5em ;
203
+ padding-bottom : 0.5em ;
204
+ display : block;
205
+ }
206
+
207
+ .middle-text span {
208
+ display : block;
209
+ padding-left : 1.7em ;
210
+ }
211
+
212
+ .middle-text-title {
213
+ padding-left : 0em !important ;
214
+ }
215
+
216
+ .lower-text {
217
+ margin-bottom : 2em ;
218
+ padding-bottom : 1em ;
219
+ }
220
+
221
+ .close-wrapper {
222
+ display : flex;
223
+ justify-content : right;
224
+ }
225
+
226
+ .close {
227
+ position : absolute;
228
+ bottom : 0 ;
229
+ right : 0.5em ;
230
+ color : # aaaaaa ;
231
+ font-size : 3em ;
232
+ font-weight : bold;
233
+ }
234
+
235
+ .close : hover ,
236
+ .close : focus {
237
+ color : # 000 ;
238
+ text-decoration : none;
239
+ cursor : pointer;
240
+ }
241
+
242
+ @media screen and (max-width : 700px ) {
243
+ .modal-content {
244
+ width : 18em ;
245
+ padding-left : 1em ;
246
+ padding-right : 1em ;
247
+ padding-bottom : 0em ;
248
+ }
249
+ .button-wrapper a {
250
+ padding : 0.3em 0.7em 0.3em 0.7em ;
251
+ border-radius : 1em ;
252
+ }
253
+ .upper-text {
254
+ display : none;
255
+ }
256
+ .middle-text {
257
+ display : none;
258
+ }
259
+ .lower-text {
260
+ display : none;
261
+ }
262
+ .close {
263
+ position : absolute;
264
+ top : 0 ;
265
+ right : 0.3em ;
266
+ color : # aaaaaa ;
267
+ font-size : 3em ;
268
+ font-weight : bold;
269
+ }
270
+ }
271
+
272
+ @media screen and (max-width : 300px ) {
273
+ .modal-content {
274
+ display : none;
275
+ }
276
+ }
You can’t perform that action at this time.
0 commit comments