-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshop.css
61 lines (52 loc) · 749 Bytes
/
shop.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/* html
{
padding: 0 1em;
font-family: Calibri, sans-serif;
} */
.cd__main{
max-width: 720px !important;
}
img.shopimg
{
max-width: 550px;
height: auto;
padding-left: 5%;
}
.image-left, .image-right
{
margin: 1em 0;
}
@media (min-width: 20em)
{
.image-left, .image-right
{
display: flex;
align-items: center;
}
.image-left img
{
margin-right: 1em;
float: left; /* fallback */
}
.image-right img
{
order: 1;
margin-left: 1em;
float: right; /* fallback */
}
/* clearfix for fallback */
.image-left::after,
.image-right::after
{
content: "";
display: block;
clear: both;
}
}
@media (min-width: 30em)
{
.image-left img, .image-right img
{
flex-shrink: 0;
}
}