Skip to content

Commit 1056084

Browse files
committed
Update main.css
1 parent 2b60842 commit 1056084

File tree

1 file changed

+43
-41
lines changed

1 file changed

+43
-41
lines changed

res/css/main.css

+43-41
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
header img.img-responsive {
2-
max-width: 400px;
2+
max-width: 50%;
33
}
44

55
.modal img.img-responsive {
6-
max-width: 350px;
6+
max-width: 50%;
77
}
88

99
.popover.tour-tour .btn[data-role="end"] {
@@ -19,57 +19,59 @@ header img.img-responsive {
1919
margin-top: 50px;
2020
}
2121

22-
#section_try .bg_disassembled {
23-
background: transparent url('../img/3x3x3_disassembled.jpg') no-repeat right bottom;
24-
background-size: 50%;
25-
}
26-
27-
#section_try .bg_disassembled p, #section_try .bg_disassembled ol {
28-
padding-right: 45%;
29-
}
30-
3122
.question {
3223
padding-bottom: 1200px;
3324
}
3425

35-
#section_fail .bg_layer {
36-
background: transparent url('../img/3x3x1.png') no-repeat left bottom;
37-
background-size: 50%;
26+
table th {
27+
text-align: center;
3828
}
39-
40-
#section_fail .bg_layer p {
41-
padding-left: 45%;
29+
#section_fail_content, #section_numbers_content {
30+
padding-top: 100px;
4231
}
4332

44-
#section_fail .bg_layer ol {
45-
padding-left: 50%;
33+
.table-responsive {
34+
padding: 30px 0;
4635
}
4736

48-
#section_rubik .bg_rubik {
49-
background: transparent url('../img/rubik.png') no-repeat right top;
50-
background-size: 40%;
51-
}
37+
@media (min-width: 768px) {
38+
#section_try .bg_disassembled {
39+
background: transparent url('../img/3x3x3_disassembled.jpg') no-repeat right bottom;
40+
background-size: 50%;
41+
}
5242

53-
#section_rubik .bg_rubik p {
54-
padding-right: 45%;
55-
}
43+
#section_try .bg_disassembled p, #section_try .bg_disassembled ol {
44+
padding-right: 45%;
45+
}
5646

57-
#section_rubik .bg_imitation {
58-
background: transparent url('../img/3x3x3_open.png') no-repeat left bottom;
59-
background-size: 40%;
60-
}
47+
#section_fail .bg_layer {
48+
background: transparent url('../img/3x3x1.png') no-repeat left bottom;
49+
background-size: 50%;
50+
}
6151

62-
#section_rubik .bg_imitation p {
63-
padding-left: 45%;
64-
}
52+
#section_fail .bg_layer p {
53+
padding-left: 45%;
54+
}
6555

66-
table th {
67-
text-align: center;
68-
}
69-
#section_fail_content, #section_numbers_content {
70-
padding-top: 100px;
71-
}
56+
#section_fail .bg_layer ol {
57+
padding-left: 50%;
58+
}
7259

73-
.table-responsive {
74-
padding: 30px 0;
60+
#section_rubik .bg_rubik {
61+
background: transparent url('../img/rubik.png') no-repeat right top;
62+
background-size: 40%;
63+
}
64+
65+
#section_rubik .bg_rubik p {
66+
padding-right: 45%;
67+
}
68+
69+
#section_rubik .bg_imitation {
70+
background: transparent url('../img/3x3x3_open.png') no-repeat left bottom;
71+
background-size: 40%;
72+
}
73+
74+
#section_rubik .bg_imitation p {
75+
padding-left: 45%;
76+
}
7577
}

0 commit comments

Comments
 (0)