forked from Technigo/project-food-turquoise-a
-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
143 lines (130 loc) · 2.06 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
body{
font-family: Verdana, Geneva, Tahoma, sans-serif;
color: darkslategrey;
}
* {
margin: 0;
box-sizing: border-box;
background: ;
}
.top-container {
background-color: #f2dded;
padding: 30px;
height: 250px;
text-align: center;
}
.header {
padding: 10px 16px;
background:#f1f1f1;
color: #f1f1f1;
display:flex;
justify-content: space-between;
margin-bottom: 10px;
}
.content {
padding: 16px;
}
.sticky {
position: fixed;
top: 0;
width: 100%;
}
.sticky+.content {
padding-top: 102px;
}
.main-container {
background: red;
}
#restaurant-section {
display: flex;
flex-wrap: wrap;
list-style: none;
background: pink;
align-items: center;
}
#restaurant-section li {
width: 400px;
}
#restaurant-section img {
display: inline;
}
.card {
width: 90%;
background: white;
padding: 20px;
border: solid grey 2px;
border-radius: 10px;
margin: 5px;
display:flex;
flex-direction: column;
align-items: center;
}
.logo{
height:100px;
cursor: pointer;
}
h1{
margin-top: 10px;
color: #555;
}
.buttons{
display: flex;
flex-direction: column;
}
button{
border: 2px solid grey;
border-radius: 5px;
margin: 10px;
color: darkslategrey;
background-color: #ffece3;
font-family: Verdana, Geneva, Tahoma, sans-serif;
font-weight: bold;
font-size: 12px;
padding: 8px;
}
footer{
display:flex;
justify-content: space-around;
font-size: 10px;
background: none;
align-items: center;
margin: 10px 10px 0 10px;
}
footer img {
width: 60px;
border-radius: 0;
margin: 0 10px;
}
footer a{
text-decoration: none;
color:royalblue;
}
/*TABLET*/
@media (min-width: 668px) and (max-width: 1024px){
.card {
width: 45%;
height: 400px;
font-size: 14px;
}
#restaurant-section img {
max-width: 250px;
max-height: 200px;
}
#restaurant-section li {
width: 250px;
}
}
/***DESKTOP***/
@media (min-width: 1025px){
.card {
width: 30%;
height: 430px;
}
#restaurant-section img {
max-height: 200px;
max-width: 250px;
}
#restaurant-section li {
width: 250px;
}
}