-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsnack.html
187 lines (133 loc) · 4.35 KB
/
snack.html
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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
<DOCTYPE! html>
<html>
<head>
<title>Snack</title>
<link rel="stylesheet" type="text/css" href="snack.css">
<meta charset="utf-8">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<link href="https://fonts.googleapis.com/css?family=Playfair+Display" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Aref+Ruqaa" rel="stylesheet">
</head>
<style>
body {
background-color: #b23939;
}
.foodgroup {
background-image:url(https://c1.staticflickr.com/5/4829/46012826122_3cbfb3b1fd_n.jpg);
padding: 100px 25px;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
font-family: 'Playfair Display', serif;
text-align: center;
font-size: 75px;
color: #430082;
}
div {
height: 400px;
background-size: cover;
background-repeat: no-repeat;
background-position: center;
margin:0 auto;
position: relative;
margin: 40px 0 0 250px;
border-radius: 12px;
max-width: 900px;
}
p {
color: #430082;
background: #8f8d8e;
background:-webkit-linear-gradient(bottom,rgba(143,141,142,1), rgba(143,141,142,.4));
background:-moz-linear-gradient(bottom,rgba(143,141,142,1), rgba(143,141,142,.4));
padding: 10px;
line-height: 28px;
text-align: justify;
position: absolute;
bottom: 0;
margin: 0;
font-family: 'Aref Ruqaa', serif;
font-size: 20px;
}
.recipe1 {
background-image: url("https://c1.staticflickr.com/5/4887/45909619432_7deed7844c_z.jpg")
}
.recipe2 {
background-image: url("https://c1.staticflickr.com/5/4804/45065800945_3677ddc5f9_z.jpg");
}
.recipe3 {
background-image: url("https://c1.staticflickr.com/5/4844/45066019995_aa30831536_z.jpg");
}
.price {
float: right;
}
.navbar {
margin-bottom: 0;
background-color: #430082;
opacity: 0.8;
z-index: 9999;
border: 0;
font-size: 12px !important;
line-height: 1.42857143 !important;
letter-spacing: 4px;
border-radius: 0
}
.navbar li a, .navbar .navbar-brand {
color: #fff !important;
}
.navbar-nav li a:hover, .navbar-nav li.active a {
color: #38174f !important;
background-color: #fff !important;
}
.navbar-default .navbar-toggle {
border-color: transparent;
color: #fff !important;
}
.navbar-header {
max-height: 100px;
}
}
</style>
<body>
<h2 class="logo"><a href="frontpage.html">Foodget It</a></h2>
<h1 class="foodgroup">Snacks</h1>
<div class="recipe1">
<p><strong>Oattie cookies</strong><br />
<small> An alternative to the store-bought cookies but with the twist of healthy ingredients.<br />
<span class="price">Approximate cost: £4</span></small></p>
</div>
<div class="recipe2">
<p><strong>Banoffee muffins</strong> <br />
<small>The matchmade in heaven combination for banana or coffee lovers alike. Gluten-free option is available!<br />
<span class="price">Approximate cost: £5</span></small></p>
</div>
<div class="recipe3">
<p><strong>Berrylicious chia pudding</strong><br />
<small>A guilt-free quick fix to the cravings from your sweet tooth. Not only is it easy to make, it is also protein-packed too, ideal for any type of diets!<br />
<span class="price">Approximate cost: £5</span></small></p>
</div>
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container" style="margin-top: 0px; height: 0px">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<div class="logo">
</div>
</div>
<div class="collapse navbar-collapse" id="myNavbar" style="height: 0px; margin-top: 0px;">
<ul class="nav navbar-nav navbar-right">
<li><a href="frontpage.html">ABOUT</a></li>
<li><a href="starter.html">STARTER</a></li>
<li><a href="main.html">MAIN</a></li>
<li><a href="dessert.html">DESSERT</a></li>
<li><a href="Snack.html">SNACK</a></li>
<li><a href="frontpage.html">SOCIALS</a></li>
</ul>
</div>
</nav>
</body>
</html>