-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
66 lines (65 loc) · 3.19 KB
/
index.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
<!DOCTYPE html>
<html lang="en" class="box-border text-white">
<block head>
<meta charset="" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="./src/style.css" />
<title>n4nerds</title>
</head>
<body class=" text-white h-full overflow-hidden ">
<header
class="w-screen h-16 bg-slate-600 flex flex-col items-start justify-start"
>
<p class=" text-xl p-4 mx-auto ">Number are awesome</p>
</header>
<main class="bg-[url('/src/asset/bg.jpg')] bg-center bg-cover bg-no-repeat w-screen sm:w-full sm:h-[40vh]">
<div class="flex backdrop-blur-sm bg-redish/10 justify-around h-full sm:block">
<div class="types w-full">
<ul class="sm:absolute sm:flex sm:flex-row sm:justify-around sm:w-full">
<li class=" my-16">
<a href="#" class=" bg-slate-600 no-underline shadow-md text-buleish rounded-md px-5 py-3 mx-2 type"
id="math" data-id="math">Math</a
>
</li>
<li class=" my-16">
<a href="#" class=" text-white bg-slate-600 no-underline shadow-md rounded-md px-5 py-3 mx-2 type"
id="trivia" data-id="trivia">Trivia</a
>
</li>
<li class=" my-16">
<a href="#" class="text-white bg-slate-600 no-underline shadow-md rounded-md px-5 py-3 mx-2 type"
id="date" data-id="date">Date</a
>
</li>
<li class=" my-16">
<a href="#" class="text-white bg-slate-600 no-underline shadow-md rounded-md px-5 py-3 mx-2 type"
id="year" data-id = 'year'>Year</a
>
</li>
</ul>
</div>
<div class="num flex justify-center items-center sm:relative sm:left-[50%] sm:-translate-x-1/2 sm:max-w-md sm:top-1/2 sm:-translate-y-1/3">
<form action="#" class=" py-3 pl-4 sm:w-full">
<label for="number" class="text-base text-white " id="number-label">Enter your number</label>
<input type="number" name="number" id="number" class=" px-2 py-2 mt-2 mb-6 rounded-md border-white focus:border-b-4 outline-none transition-all bg-slate-600 text-white sm:w-full">
<div class="btn flex justify-around">
<input type="submit" value="submit" class="bg-white shadow-md text-gray-600 rounded-md px-5 py-3 mx-5 border-l border-t border-violet-200" id="submit" >
<button class="bg-slate-600 drop-shadow-lg rounded-md px-5 py-3 mx-5 border-none border-t border-l border-sky-300 transition-all duration-800 ease-in-out text-white" id="random">Random</button>
</div>
</form>
</div>
</div>
</main>
<div class="content flex pb-8 w-full h-1/3 bg-slate-600 sm:h-[46.5vh]">
<div class="wrap p-5 mt-7 backdrop-blur-md border-4 border-white rounded-xl text-center mx-auto flex justify-center align-middle w-3/4 ">
<p class=" p-4 text-2xl mx-auto sm:mt-20 sm:pt-10 font-Nunito font-light" id="fact">
</p>
</div>
</div>
<footer class="bg-slate-600 py-4 border-t-4 border-white ">
<p class="text-center text-lg">Cinux © 2022</p>
</footer>
<script type="module" src="src/main.js"></script>
</body>
</html>