-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtabernaculo_1_white.html
317 lines (269 loc) · 6.53 KB
/
tabernaculo_1_white.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
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Load an icon library to show a hamburger menu (bars) on small screens -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Prociono&display=swap" rel="stylesheet">
<style>
* {
box-sizing: border-box;
}
body {
font-family: Arial;
margin:0px;
padding: 0px;
background: ;
}
a {text-decoration:none}
/* Header/Blog Title */
header {
padding: 30px;
text-align: center;
background: white;
width:100%;
}
header a {text-decoration:none;
color:black
}
header h1 {
font-size: 30px;
margin-top:10px;
margin-bottom:10px;
}
header p {
margin-top:0px;
margin-bottom:0px;
}
/* Style the top navigation bar */
nav {
overflow: hidden;
background-color: ;
position: relative;
display:block;
}
/* Hide the links inside the navigation menu (except for logo/home) */
nav #myLinks {
display: none;
position: fixed;
width: 100%;
top: 0px;
right: 0px;
background-color: #d4e8e8;
}
/* Style the topnav links */
nav a {
display: block;
color: #000000;
padding: 14px 16px;
text-decoration: none;
}
/* mouse over link */
a:hover {
color: red;
}
/* selected link */
a:active {
color: green;
}
/* Style the hamburger menu */
nav a.icon {
background-color: ;
color: #f00;
display: block;
position: fixed;
right: 6px;
top: 4px;
}
a.icon:hover {color: green;}
.fa {font-size:1.5em}
/* Fake image */
.fakeimg {
background-color: ;
width: 100%;
}
img {width:100%}
/* Add a card effect for articles */
.card {
background-color: white;
padding: px;
margin-top: 0px;
}
.card h2{text-align:center;
font-size: 6vw}
.card p{padding: 0 4px 0 6px;
line-height:1.5em}
/* Footer */
footer{ display: flex;
justify-content: space-around;
position:;
bottom: 0;
left: 0;
right: 0;
background-color:yellow;
padding-top: 21px;
padding-bottom: 16px;
}
footer h3 {font-size: 1.5em;
margin: 0 auto;}
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {...}
/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
nav #myLinks {right:0;
top: px;
}
nav a{font-size:4vw;
padding: 14px 5vw;
}
nav a.icon {right:2vw;
}
.fa{font-size:1.2em
}
.card h2{font-size: 4.5vw}
}
/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
body {
padding:0 2.5vw 0 2.5vw;
}
nav #myLinks {
top: px;
}
nav a{font-size:3.5vw;
padding: 14px 5vw;
}
nav a.icon {right:2vw;
}
.fa{font-size:1.6em}
.card h2{font-size: 4vw}
/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
body {
padding:0 7vw 0 7vw
}
nav #myLinks {
top: px;
}
nav a{font-size:3vw;
padding: 14px 9vw;
}
nav a.icon {right:6vw;
}
.fa{font-size:1.5em
}
.card h2{font-size: 3vw}
/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
body {padding:0 20vw 0 20vw}
header h1 {
font-size: 70px;
margin-top: 10px;
margin-bottom: 10px;
}
header p {
font-size: 24px;
}
nav #myLinks {display: ;
padding-left: 20vw;}
nav a {
display: inline-block;
padding: 3vw 5vw;
font-size: 2vw;
}
nav a.icon {right:20vw;
padding: 3vw 16px;
top: -4px;
}
.fa{font-size:1.5em
}
footer{
padding-top: 3vw;
padding-bottom: 2vw;}
footer h3 {
font-size: 30px;
}
.card h2 {font-size: 2vw;}
.card p {font-size: 24px;
padding:0 20px 0 20px;
}
}
</style>
</head>
<body>
<header>
<a href="#"> <h1 style="font-family: 'Prociono', serif;">TABERNÁCULO</h1> </a>
<p>by Hernani</p>
</header>
<nav>
<!-- Navigation links (hidden by default) -->
<div id="myLinks">
<a href="#sobre">Sobre</a>
<a href="#produtos">Produtos</a>
<a href="#contacto">Contacto</a>
</div>
<!-- "Hamburger menu" / "Bar icon" to toggle the navigation links -->
<a href="javascript:void(0);" class="icon" onclick="myFunction()">
<i class="fa fa-bars"></i>
</a>
</nav>
<main>
<div id="sobre" class="card">
<div class="fakeimg"><img src="porta.jpg"></div>
<h2 id="produtos" style="font-family: 'Prociono', serif;">SOBRE</h2>
<p>É o bar de Hernâni Miguel, nome lendário da noite lisboeta, aberto em julho de 2015 no Cais do Sodré.<br>
Espaço de culto e celebração, vocacionado para quem gosta de ser bem recebido.
eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minimxercitation ullamco.</p>
</div>
<div class="card">
<h2 style="font-family: 'Prociono', serif;">PRODUTOS</h2>
<div class="fakeimg"><img src="prato_1.jpg"></div>
<p>É o bar de Hernâni Miguel, nome lendário da noite lisboeta, aberto em julho de 2015 no Cais do Sodré. Os vinhos estão em destaque neste Tabernáculo da Rua de São Paulo.
Ut enim ad minim veniam, quis nostrud exercitation ullamco.</p>
</div>
</main>
<footer id="contacto">
<a href="#"><h3>FACEBOOK</h3></a>
<a href="#"><h3>INSTAGRAM</h3></a>
</footer>
<div style="background-color: #ffff005e;border-top: ;">
<p style="margin: 0 auto; text-align:center ;padding-top: 4px; padding-bottom: 4px;">design: CMR 2021</p>
</div>
<script>
function myFunction() {
var x = document.getElementById("myLinks");
if (x.style.display === "block") {
x.style.display = "none";
} else {
x.style.display = "block";
}
}
</script>
<!-- Add smooth scrolling to all links-->
<script>
$(document).ready(function(){
// Add smooth scrolling to all links
$("a").on('click', function(event) {
// Make sure this.hash has a value before overriding default behavior
if (this.hash !== "") {
// Prevent default anchor click behavior
event.preventDefault();
// Store hash
var hash = this.hash;
// Using jQuery's animate() method to add smooth page scroll
// The optional number (800) specifies the number of milliseconds it takes to scroll to the specified area
$('html, body').animate({
scrollTop: $(hash).offset().top
}, 800, function(){
// Add hash (#) to URL when done scrolling (default click behavior)
window.location.hash = hash;
});
} // End if
});
});
</script>
</body>
</html>