File tree 2 files changed +15
-1
lines changed
2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -251,14 +251,18 @@ a.post-link:hover {
251
251
color : black;
252
252
}
253
253
254
+ video {
255
+ max-width : 100% ;
256
+ }
257
+
254
258
# title {
255
259
font-style : italic;
256
260
font-size : 1.6rem ;
257
261
}
258
262
259
263
body > .container : first-child {
260
264
padding-top : 3rem ;
261
- padding-bottom : 12 rem ;
265
+ padding-bottom : 24 rem ;
262
266
}
263
267
264
268
.content {
@@ -293,6 +297,7 @@ body > .container:first-child {
293
297
}
294
298
295
299
# monero code {
300
+ background-color : white;
296
301
overflow-wrap : break-word;
297
302
white-space : normal;
298
303
}
Original file line number Diff line number Diff line change @@ -7,6 +7,15 @@ function main() {
7
7
8
8
// math
9
9
renderMathInElement ( document . body )
10
+
11
+ // videos
12
+ document . querySelectorAll ( 'video' ) . forEach ( v => {
13
+ v . addEventListener ( 'pause' , ( ) => {
14
+ if ( v . autoplay ) {
15
+ v . play ( )
16
+ }
17
+ } )
18
+ } )
10
19
}
11
20
12
21
if ( document . readyState === "loading" ) {
You can’t perform that action at this time.
0 commit comments