-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
67 lines (61 loc) · 1.21 KB
/
styles.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
html, body { height: 100%; width: 100%; margin: 0; }
body{
background-color: #fff;
}
/* Navigation bar */
#navBarSearchForm input[type=text]{width:60% !important;}
.navdiv{
display: grid;
grid-template-columns: 20% 60% 20%;
}
.navdiv .item2{
}
.carousel{
background: #2f4357;
margin-top: 20px;
}
.carousel-item{
text-align: center;
min-height: 280px; /* Prevent carousel from being distorted if for some reason image doesn't load */
}
/*The container for displaying food items */
.main{
display: flex;
margin-top: 5%;
margin-left: 5%;
height: 100%;
}
/*Cards for the items*/
.cards{
display: inline-grid;
width: 30%;
grid-template-columns: 45% 55%;
grid-template-rows: 100%;
float: left;
height: 20%;
margin-right: 5%;
margin-bottom: 2%;
}
.items{
box-sizing: border-box;
}
.item1{
height: 100%;
grid-column:1/2 ;
background-color: green;
}
.item2{
grid-column: 2/3;
border-top-right-radius: 10%;
border-bottom-right-radius: 10%;
border: 2px solid black;
background-color: blue;
}
/*For customizing sections of the page*/
.section{
width: 100%;
}
/*Header for each sections*/
.section h3{
margin-bottom: 2%;
}