-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.html
199 lines (177 loc) · 6.42 KB
/
test.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Allura Imports Inc.</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.8.0/css/bulma.min.css">
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@800&family=Open+Sans:wght@400;700&display=swap" rel="stylesheet">
<script defer src="https://use.fontawesome.com/releases/v5.3.1/js/all.js"></script>
<style>
.mn {
font-family: 'Montserrat', sans-serif;
}
.os-bold {
font-family: 'Open Sans', sans-serif;
font-weight: 700;
}
body {
font-family: 'Open Sans', sans-serif;
overflow: hidden;
margin: 0;
}
/* RGB */
.white{color:white;}
.blue-white{color:rgba(216, 233, 255, 1);}
.blue{color:rgba(30, 56, 136, 1);}
.dark-blue{color:rgba(0, 19, 43, 1);}
.black{color:rgba(0, 0, 0, 1);}
.scarlet{color:rgba(66, 4, 32, 1);}
.bg-blue-white{background-color:rgba(216, 233, 255, 1);}
.bg-blue{background-color:rgba(30, 56, 136, 1);}
.bg-dark-blue{background-color:rgba(0, 19, 43, 1);}
.bg-black{background-color:rgba(0, 0, 0, 1);}
.bg-scarlet{background-color:rgba(66, 4, 32, 1);}
.bg-nyc {
background-attachment: fixed;
background-image: url(../assets/sunset-min.jpg);
background-color: rgba(0, 0, 0, .75);
height: 600px;
background-position: 75% 100% 75% 75%;
background-repeat: no-repeat;
background-size: cover;
}
.on {
border: none;
}
.on:hover{
color: rgb(143, 142, 142);
}
</style>
</head>
<body style="max-width: 100%;">
<section class="hero bg-blue-white is-medium bg-nyc" style="max-width: 100%;">
<div class="hero-head">
<nav class="navbar is-transparent">
<div class="navbar-brand">
<a class="navbar-item" href="#">
<img src="assets/allura-white.svg" alt="Allura Imports Inc." width="112" height="28">
</a>
<div class="navbar-burger burger white" data-target="navbarExampleTransparentExample">
<span></span>
<span></span>
<span></span>
</div>
</div>
<div id="navbarExampleTransparentExample" class="navbar-menu">
<div class="navbar-start">
<a class="navbar-item white os-bold" href="#">
Home
</a>
<a class="navbar-item white os-bold" href="#">
Brands
</a>
</div>
<div class="navbar-end">
<div class="navbar-item">
<div class="field is-grouped">
<p class="control">
<a class="button bg-blue is-rounded os-bold white on" href="#">
<span>Contact</span>
</a>
</p>
</div>
</div>
</div>
</div>
</nav>
</div>
<div class="hero-body">
<div style="min-height:75px;"></div>
<div class="container">
<h1 class="title mn white is-size-1">
Allura Imports Inc.
</h1>
<h2 class="subtitle os-bold white">
Large subtitle
</h2>
</div>
<div style="min-height:75px;"></div>
</div>
<div class="hero-footer is-centered" style="">
<div class="is-centered white" href="#learn-more"><i class="fas fa-chevron-circle-down white" style="position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);height: 500px;"></i></div>
</div>
</section>
<div id="learn-more"></div>
<div id="page-body" style="max-height: 100%;">
<div class="columns" style="max-height: 50%;">
<div class="column">
<img src="assets/home/enyce.jpg" style="max-width: 100%; background-position: fixed;">
</div>
<div class="column">
<div style="padding: 5%;" style="max-width: 100%;">
<h2 class="mn is-size-4">
About us
</h2>
<hr>
<p>
Suddenly she came upon a little three-legged table,
all made of solid glass; there was nothing on it except a tiny golden key,
and Alice's first thought was that it might belong to one of the doors of the hall;
but, alas! either the locks were too large, or the key was too small,
but at any rate it would not open any of them. However, on the second time round,
she came upon a low curtain she had not noticed before...
</p>
</div>
</div>
</div>
<div class="columns" style="max-height: 50%;">
<div class="column">
<div style="padding: 5%;" style="max-width: 100%;">
<h2 class="mn is-size-3">
Unbeatable Prices
</h2>
<hr>
<p>
We offer various collections for children of all ages.
From newborn up to sizes 7-16 in girls and 8-18 in boys,
we have the fashion that our customers crave at a cost that can't be beat.
</p>
</div>
</div>
<div class="column">
<img src="assets/home/baby.jpg" style="min-width: 100%;">
</div>
</div>
</div>
<script>
document.addEventListener('DOMContentLoaded', () => {
// Get all "navbar-burger" elements
const $navbarBurgers = Array.prototype.slice.call(document.querySelectorAll('.navbar-burger'), 0);
// Check if there are any navbar burgers
if ($navbarBurgers.length > 0) {
// Add a click event on each of them
$navbarBurgers.forEach( el => {
el.addEventListener('click', () => {
// Get the target from the "data-target" attribute
const target = el.dataset.target;
const $target = document.getElementById(target);
// Toggle the "is-active" class on both the "navbar-burger" and the "navbar-menu"
el.classList.toggle('is-active');
$target.classList.toggle('is-active');
});
});
}
});
var docWidth = document.documentElement.offsetWidth;
[].forEach.call(
document.querySelectorAll('*'),
function(el) {
if (el.offsetWidth > docWidth) {
console.log(el);
}
}
);
</script>
</body>
</html>