Skip to content

Commit dd848f3

Browse files
ortacpojer
authored andcommitted
Bring back some of the Jest homepage changes for mobile (#5321)
1 parent 5b3fad8 commit dd848f3

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed

website/static/css/custom.css

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,56 @@
44
margin-bottom: -20px;
55
margin-right: -20px;
66
}
7+
8+
div.jest-repl {
9+
margin: 0 5%;
10+
position: relative;
11+
width: 600px;
12+
}
13+
div.jest-repl iframe {
14+
display: block;
15+
margin: 0 auto 10px;
16+
min-height: 420px;
17+
width: 100%;
18+
}
19+
@media only screen and (min-device-width: 360px) and (max-device-width: 736px) {
20+
div.jest-repl {
21+
display: none;
22+
}
23+
}
24+
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
25+
div.jest-repl {
26+
display: none;
27+
}
28+
}
29+
@media only screen and (max-width: 1023px) {
30+
div.jest-repl {
31+
display: none;
32+
}
33+
}
34+
35+
div.video {
36+
margin: 0 5%;
37+
position: relative;
38+
width: 100%;
39+
min-width: 300px;
40+
max-width: 600px;
41+
}
42+
43+
div.video iframe {
44+
display: block;
45+
margin: 0 auto 10px;
46+
min-height: 340px;
47+
width: 100%;
48+
}
49+
50+
@media only screen and (min-device-width: 360px) and (max-device-width: 736px) {
51+
div.video {
52+
display: none;
53+
}
54+
}
55+
@media only screen and (max-width: 1023px) {
56+
div.video {
57+
display: none;
58+
}
59+
}

0 commit comments

Comments
 (0)