-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.html
191 lines (140 loc) · 4.84 KB
/
main.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
188
189
190
191
<DOCTYPE! html>
<html>
<head>
<title>Main</title>
<link rel="stylesheet" type="text/css" href="main.css">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.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://farm5.staticflickr.com/4893/45332769404_d42b138da2_z.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: #ff9681;
}
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;
}
.recipe1 {
background: url("https://farm2.staticflickr.com/1940/45277336651_2213c5a65a_z.jpg"); <!-- url of recipe image here -->
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
.recipe2 {
background: url("https://farm2.staticflickr.com/1940/45277336651_2213c5a65a_z.jpg"); <!-- url of recipe image here -->
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
.recipe3 {
background: url("https://farm2.staticflickr.com/1940/45277336651_2213c5a65a_z.jpg"); <!-- url of recipe image here -->
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
p {
color: #ff9681;
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: 'KoHo', sans-serif;
font-size: 20px;
}
.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;
}
</style>
<body>
<h1 class="foodgroup">Main </h1>
<div class="recipe1">
<p><!--name of recipe 1--> recipe 1 <span class="price">£...... </span><br />
<small> abcdefghijklmnopqrstuvwxyz.abcdefghijklmnopqrstuvwxyz.abcdefghijklmnopqrstuvwxyz.
abcdefghijklmnopqrstuvwxyz.abcdefghijklmnopqrstuvwxyz.abcdefghijklmnopqrstuvwxyz. <!--brief description of recipe--> </small> </p>
</div>
<div class="recipe2">
<p><!--name of recipe 2--> recipe 2<span class="price">£...... </span> <br />
<small>abcdefghijklmnopqrstuvwxyz.abcdefghijklmnopqrstuvwxyz.abcdefghijklmnopqrstuvwxyz.
abcdefghijklmnopqrstuvwxyz.abcdefghijklmnopqrstuvwxyz.abcdefghijklmnopqrstuvwxyz.<!--brief description of recipe--> </small></p>
</div>
<div class="recipe3">
<p> <!--name of recipe 3--> recipe 3<span class="price">£...... </span> <br />
<small>abcdefghijklmnopqrstuvwxyz.abcdefghijklmnopqrstuvwxyz.abcdefghijklmnopqrstuvwxyz.
abcdefghijklmnopqrstuvwxyz.abcdefghijklmnopqrstuvwxyz.abcdefghijklmnopqrstuvwxyz.<!--brief description of recipe--> </small></p>
</div>
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container" style="margin-top: 0px; height: 0px">
<div class="navbar-header" style="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">
<a class="navbar-brand" img="#"></a>
</div>
</div>
<div class="collapse navbar-collapse" id="myNavbar" style="height: 0px!important; 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>
</div>
</nav>
</body>
</html>