-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlibraries.html
More file actions
184 lines (179 loc) · 9.1 KB
/
Copy pathlibraries.html
File metadata and controls
184 lines (179 loc) · 9.1 KB
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
<!doctype html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=0.75, maximum-scale=1, minimum-scale=0.5">
<style>
@import url('https://fonts.googleapis.com/css2?family=Varela+Round&display=swap');
</style>
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
theme: {
extend: {
fontFamily: {
body: ['Varela Round']
}
}
}
}
</script>
<style>
.img-wrap {
mask-image: linear-gradient(to left, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 1) 75%);
-webkit-mask-image: linear-gradient(to left, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 1) 75%);
background-size: cover;
background-position: -3em -2.5em;
background-repeat: no-repeat;
}
.img-text {
text-shadow: 1px 1px 2px black;
}
.closed-indicator {
position: relative;
left: -0.6rem
}
</style>
</head>
<body>
<div class="text-5xl text-center font-body my-10">
<p>Libraries</p>
</div>
<div id="button-container" class="flex flex-col items-center gap-10 pb-20 text-4xl font-body text-white">
<!-- Button 1 with background image -->
<button id='clem' class="bg-[#06b6d4] hover:shadow-2xl rounded-lg w-96 h-32 overflow-hidden relative flex items-center justify-between p-4">
<!-- Background Image -->
<div class="img-wrap absolute inset-0" style="background-image: url(images/clem.jpg);"></div>
<!-- Flex container to divide the text -->
<div class="relative z-10 flex w-full justify-between items-center">
<!-- Library name on the left (65% width) -->
<div class="w-2/3 text-left">
<h2 class="img-text text-3xl font-bold text-white">
Clemons Library
</h2>
</div>
<!-- Opening and closing times on the right (35% width) -->
<div class="w-1/3 text-right">
<p class="text-xl text-white" id="clem-times">
9am-<br>9pm
</p>
</div>
</div>
<div class="opacity-80 text-base w-10 h-4 right-7 bottom-2 space-x-15 flex gap-1 absolute">
<p class="open-indicator text-emerald-200">Open</p>
<img class="open-indicator" src="images/check.svg"></img>
<p class="closed-indicator hidden text-neutral-300">Closed</p>
<img class="closed-indicator hidden" src="images/x.svg" style="transform: translateY(2.5px) scale(0.9);"></img>
</div>
</button>
<!-- Button 2 with background image -->
<button id='shannon' class="bg-[#06b6d4] hover:shadow-2xl rounded-lg w-96 h-32 overflow-hidden relative flex items-center justify-between p-4">
<!-- Background Image -->
<div class="img-wrap absolute inset-0" style="background-image: url(images/shannon.jpg);"></div>
<!-- Flex container to divide the text -->
<div class="relative z-10 flex w-full justify-between items-center">
<!-- Library name on the left (65% width) -->
<div class="w-2/3 text-left">
<h2 class="img-text text-3xl font-bold text-white">
Shannon Library
</h2>
</div>
<!-- Opening and closing times on the right (35% width) -->
<div class="w-1/3 text-right">
<p class="text-xl text-white" id="shannon-times">
9am-<br>5pm
</p>
</div>
</div>
<div class="opacity-80 text-base w-10 h-4 right-7 bottom-2 space-x-15 flex gap-1 absolute">
<p class="open-indicator text-emerald-200">Open</p>
<img class="open-indicator" src="images/check.svg"></img>
<p class="closed-indicator hidden text-neutral-300">Closed</p>
<img class="closed-indicator hidden" src="images/x.svg" style="transform: translateY(2.5px) scale(0.9);"></img>
</div>
</button>
<!-- Button 3 with background image -->
<button id='brown' class="bg-[#06b6d4] hover:shadow-2xl rounded-lg w-96 h-32 overflow-hidden relative flex items-center justify-between p-4">
<!-- Background Image -->
<div class="img-wrap absolute inset-0" style="background-image: url(images/brown.jpg);"></div>
<!-- Flex container to divide the text -->
<div class="relative z-10 flex w-full justify-between items-center">
<!-- Library name on the left (65% width) -->
<div class="w-2/3 text-left">
<h2 class="img-text text-3xl font-bold text-white">
Clark Library
</h2>
</div>
<!-- Opening and closing times on the right (35% width) -->
<div class="w-1/3 text-right">
<p class="text-xl text-white" id="brown-times">
9am-<br>5pm
</p>
</div>
</div>
<div class="opacity-80 text-base w-10 h-4 right-7 bottom-2 space-x-15 flex gap-1 absolute">
<p class="open-indicator text-emerald-200">Open</p>
<img class="open-indicator" src="images/check.svg"></img>
<p class="closed-indicator hidden text-neutral-300">Closed</p>
<img class="closed-indicator hidden" src="images/x.svg" style="transform: translateY(2.5px) scale(0.9);"></img>
</div>
</button>
<!-- Button 4 with background image -->
<button id='music' class="bg-[#06b6d4] hover:shadow-2xl rounded-lg w-96 h-32 overflow-hidden relative flex items-center justify-between p-4">
<!-- Background Image -->
<div class="img-wrap absolute inset-0" style="background-image: url(images/music.jpg);"></div>
<!-- Flex container to divide the text -->
<div class="relative z-10 flex w-full justify-between items-center">
<!-- Library name on the left (65% width) -->
<div class="w-2/3 text-left">
<h2 class="img-text text-3xl font-bold text-white">
Music Library
</h2>
</div>
<!-- Opening and closing times on the right (35% width) -->
<div class="w-1/3 text-right">
<p class="text-xl text-white" id="music-times">
9am-<br>5pm
</p>
</div>
</div>
<div class="opacity-80 text-base w-10 h-4 right-7 bottom-2 space-x-15 flex gap-1 absolute">
<p class="open-indicator text-emerald-200">Open</p>
<img class="open-indicator" src="images/check.svg"></img>
<p class="closed-indicator hidden text-neutral-300">Closed</p>
<img class="closed-indicator hidden" src="images/x.svg" style="transform: translateY(2.5px) scale(0.9);"></img>
</div>
</button>
<!-- Button 5 with background image -->
<button class="bg-[#06b6d4] hover:shadow-2xl rounded-lg w-96 h-32 overflow-hidden relative flex items-center justify-between p-4">
<!-- Background Image -->
<div class="img-wrap absolute inset-0" style="background-image: url(images/finearts.jpg);"></div>
<!-- Flex container to divide the text -->
<div class="relative z-10 flex w-full justify-between items-center">
<!-- Library name on the left (65% width) -->
<div class="w-2/3 text-left">
<h2 class="img-text text-3xl font-bold text-white">
Fine Arts Library
</h2>
</div>
<!-- Opening and closing times on the right (35% width) -->
<div class="w-1/3 text-right">
<p class="text-xl text-white" id="finearts-times">
9am-<br>11pm
</p>
</div>
</div>
<!-- Status icon for open/closed -->
<div class="opacity-80 text-base w-10 h-4 right-7 bottom-2 space-x-15 flex gap-1 absolute">
<p class="open-indicator text-emerald-200">Open</p>
<img class="open-indicator" src="images/check.svg"></img>
<p class="closed-indicator hidden text-neutral-300">Closed</p>
<img class="closed-indicator hidden" src="images/x.svg" style="transform: translateY(2.5px) scale(0.9);"></img>
</div>
</button>
<button onclick="location.href='index.html';" id="backbutton" class="bg-zinc-500 hover:bg-zinc-400 text-black font-bold py-3 px-8 rounded-lg shadow-lg transition-all duration-900 ease-in-out transform hover:scale-105">
Back
</button>
<script src="libraries1.js"></script>
</div>
<script src="sortopen2.js"></script>
</body>
</html>