-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
115 lines (103 loc) · 1.86 KB
/
style.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
width: 100%;
background-color: rgb(222 244 251 / 42%);
}
.underline {
margin: 0 auto;
width: 70px;
height: 5px;
background-color: #f0ad4e;
}
.menu-items {
/* max-width: 1770px; */
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
}
.card {
min-width: 600px;
margin: 0;
padding: 0 10px;
border: none;
background: none;
}
.card-body {
padding: 0;
padding: 0px 20px;
}
.card img {
width: 267px;
height: 167px;
}
@media only screen and (max-width: 780px) and (min-width:590px) {
.card {
padding: 10px 100px;
/* border: 2px solid black; */
/* max-width: 700px; */
width: 90%;
margin: 0 auto;
/* display: flex;
justify-content: center;
align-items: center; */
}
.card img {
width: 100%;
height: 200px;
/* width: 400px;
height: 200px; */
margin: 0 auto;
/* min-width: none; */
}
.card-body {
padding: 0;
}
.card-title {
margin-top: 20px;
}
}
@media only screen and (max-width: 1400px) and (min-width:780px) {
.card {
padding: 10px 10px;
max-width: 700px;
}
.menu-items {
justify-content: center;
}
}
@media only screen and (max-width: 590px) {
/* .container {
width: 50%;
} */
.card {
padding: 1em 8em;
}
.card img {
width: 100%;
}
.card-body {
padding: 0;
}
.card-title {
margin-top: 20px;
}
}
.card-title {
width: 100%;
border-bottom: 1px dotted black;
display: flex;
justify-content: space-between;
}
.card-title h5,
.price {
letter-spacing: 2px;
}
.card-text {
color: steelblue;
word-spacing: 1px;
letter-spacing: 1px;
}