-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathproject_2style.css
More file actions
90 lines (80 loc) · 1.26 KB
/
project_2style.css
File metadata and controls
90 lines (80 loc) · 1.26 KB
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
*{
margin: 0;
padding:0;
font-family: Century Gothic;
}
.main{
background: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)),url(food1.jpg);
height: 100vh;
background-size: cover;
background-position: center;
position: relative;
}
.centering{
color: white;
position: absolute;
top:50%;
left: 50%;
transform: translate(-50%,-50%);
}
.centering h1{
color: white;
font-size: 60px;
text-align: center;
}
.centering p{
margin-top: 21px;
}
.form_code{
text-align: center;
}
.form_code .food_name{
display: block;
width: 80%;
margin-left:auto;
margin-right:auto;
margin-top: 26px;
border-radius: 40px;
padding: 15px;
border: none;
outline: none;
}
.form_code button{
width:40%;
display: block;
margin-left:auto;
margin-right:auto;
text-align: center;
background-color: powderblue;
color: blue;
padding: 10px;
border: none;
border-radius: 5px;
margin-top: 15px;
}
/* Product Section*/
.product{
width:80%;
margin: 8px;
margin-left:auto;
margin-right: auto;
}
.product_item{
float: left;
width:30.33%;
margin-left: 35px;
}
.product_item: first-of-type{
margin-left: 0px;
}
@media screen and (max-width: 700px){
.product_item{
width: 100%;
float: left;
}
}
/utility classes/
.img-responsive{
max-width: 100%;
margin-left: 5px;
}