-
Notifications
You must be signed in to change notification settings - Fork 33
/
index.html
133 lines (111 loc) · 5.61 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Vanilla Javascript clock application">
<meta name="keywords" content="clock application, javascript clock, js clock">
<meta name="author" content="Abel Otegbola">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.2/css/all.min.css" integrity="sha512-1sCRPdkRXhBV2PBLUdRb4tMg1w2YPf37qatUFeS7zlBy7jJI8Lf4VHwWfZZfpXtYSLy85pkm9GaYVYMfw5BC1A==" crossorigin="anonymous" referrerpolicy="no-referrer"
/>
<link rel="stylesheet" href="assets/css/style.css">
<link rel="stylesheet" href="assets/css/theme.css">
<link rel="stylesheet" href="assets/css/darkmode.css">
<!-- favicon -->
<link rel="icon" href="assets/imgs/favicon.ico">
<title>Clock</title>
</head>
<body>
<style>
/* width */
::-webkit-scrollbar {
width: 10px;
}
/* Track */
::-webkit-scrollbar-track {
box-shadow: inset 0 0 5px grey;
border-radius: 5px;
}
/* Handle */
::-webkit-scrollbar-thumb {
background: #808080 ;
border-radius: 5px;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: rgba(155, 15, 214, 0.379);
}
</style>
<header>
<nav>
<div class="logo">
<i class=""></i><img src="assets/imgs/logo.png">
</div>
<!-- <h3>CLOCK APP</h3> -->
<div class="socials">
<a href="https://github.com/abel-otegbola/clock-app"><i class="fab fa-github"></i></a>
<a href="https://twitter.com/Abel_Otegbola"><i class="fab fa-twitter"></i></a>
<button class="navbar-toggler" id="toggler" onclick="toggleMenu()">≡</button>
</div>
</nav>
</header>
<section>
<aside>
<p>Modes</p>
<ul class="modes">
<li class="active"><i class="fas fa-sun"></i> Light</li>
<li><i class="fas fa-moon"></i> Dark</li>
</ul>
<ul class="themes">
<p>Themes</p>
<div class="scroll">
<li class="active" data-theme="neumorphism"><i class="fas fa-pen-nib"></i> Neumorphism</li>
<li data-theme="glassmorphism"><i class="fas fa-window-restore"></i> Glassmorphism</li>
<li data-theme="vintage"><i class="fas fa-history"></i> Vintage</li>
<li data-theme="futuristic"><i class="fas fa-microchip"></i> Futuristic</li>
<li data-theme="abstract"><i class="fas fa-palette"></i> Abstract</li>
<li data-theme="wooden"><i class="fas fa-tree"></i> Wooden</li>
<li data-theme="minimalist"><i class="fas fa-tablet"></i> Minimalist</li>
<li data-theme="neon"><i class="fas fa-lightbulb"></i> Neon</li>
<li data-theme="endless"><i class="fa-sharp fa-solid fa-infinity"></i>Endless</li>
<li data-theme="electric"><i class="fa-solid fa-bolt"></i> Electric</li>
<li data-theme="thor"><i class="fas fa-thunderstorm"></i>Thor</li>
<li data-theme="doughnut"><i class="fas fa-circle-dot"></i>Doughnut</li>
<li data-theme="black-white"><i class="fas fa-clock"></i>Black'n'White</li>
<li data-theme="alarm"><i class="fas fa-stopwatch"></i>Alarm Clock</li>
<li data-theme="kids"><i class="fas fa-child"></i>Kids</li>
<li data-theme="3-D"><i class="fas fa-cube"></i>3-D</li>
<li data-theme="pizza"><i class="fa-solid fa-pizza-slice"></i>Pizza</li>
<li data-theme="marble"><i class="fa fa-object-group" aria-hidden="true"></i>Marble</li>
<li data-theme="orange"><i class="fa fa-circle" aria-hidden="true"></i>Orange</li>
<li data-theme="rainbow"><i class="fa fa-duotone fa-rainbow"></i> Rainbow</li>
<li data-theme="apple"><i class="fab fa-apple" aria-hidden="true"></i>Apple wristwatch</li>
<li data-theme="quirky"><i class="fas fa-peace" aria-hidden="true"></i>Quirky</li>
<li data-theme="apple2"><i class="fab fa-apple"></i>Apple</li>
<li data-theme="bricks"><i class="fas fa-square"></i>Bricks</li>
<li data-theme="Creative"><i class="fas fa-clock"></i>Creative CLock</li>
<li data-theme="classic"><i class="fa-sharp fa-solid fa-wand-magic-sparkles"></i>Classic</li>
</div>
</ul>
</aside>
<article>
<div class="clock">
<span class="hr" id="hr"></span>
<span class="min"></span>
<span class="sec" id="sec"></span>
</div>
<p class="name"></p>
</article>
</section>
<footer>
<ul class="social" id="sc">
<li><a href="https://github.com/abel-otegbola/clock-app"><i class ="fab fa-github"></i></a></li>
<li><a href="https://twitter.com/Abel_Otegbola"><i class ="fab fa-twitter"></i></a></li>
<li><a href="mailto:abel15655@gmail.com"><i class ="fab fa-google-plus-g"></i></a></li>
</ul>
<p>Copyright © <span class="footer-year"></span></p>
</footer>
<script src="./assets/js/script.js"></script>
</body>
</html>