Update css/main.css
Browse files- css/main.css +2 -20
css/main.css
CHANGED
@@ -26,29 +26,11 @@ ul {
|
|
26 |
table-layout: fixed;
|
27 |
}
|
28 |
.row:nth-child(even) {
|
29 |
-
|
30 |
}
|
31 |
-
.row:nth-child(odd)
|
32 |
text-align: right
|
33 |
}
|
34 |
-
.image,
|
35 |
-
.text {
|
36 |
-
display: table-cell;
|
37 |
-
direction: ltr;
|
38 |
-
border: solid;
|
39 |
-
}
|
40 |
.text {
|
41 |
background: tomato;
|
42 |
}
|
43 |
-
img {vertical-align:top;}
|
44 |
-
@media screen and (max-width: 640px) {
|
45 |
-
.row,
|
46 |
-
.image,
|
47 |
-
.text {
|
48 |
-
display: block;
|
49 |
-
direction:ltr
|
50 |
-
}
|
51 |
-
.row:nth-child(odd) .text {
|
52 |
-
text-align: right
|
53 |
-
}
|
54 |
-
}
|
|
|
26 |
table-layout: fixed;
|
27 |
}
|
28 |
.row:nth-child(even) {
|
29 |
+
text-align: left;
|
30 |
}
|
31 |
+
.row:nth-child(odd) {
|
32 |
text-align: right
|
33 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
.text {
|
35 |
background: tomato;
|
36 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|