Skip to content

Commit 64fe014

Browse files
committed
Update index.html
1 parent c52abd0 commit 64fe014

File tree

1 file changed

+75
-5
lines changed

1 file changed

+75
-5
lines changed

index.html

Lines changed: 75 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,77 @@
11
<!DOCTYPE html>
2-
<html>
3-
<body>
4-
<h1>Hello World</h1>
5-
<p>I'm hosted with GitHub Pages.</p>
6-
</body>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>Library Tech Dashboard</title>
7+
<style>
8+
/* 1. Basic Styles: Controls the overall page background, text color, and default font. */
9+
body {
10+
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Change this font! */
11+
margin: 0;
12+
padding: 0;
13+
background-color: #2c3e50; /* Dark blue/grey background */
14+
color: #ecf0f1; /* Light text color */
15+
overflow: hidden;
16+
}
17+
18+
/* 2. Slide Container Styles: Controls how each individual dashboard section (slide) looks. */
19+
.slide {
20+
display: none;
21+
width: 100vw;
22+
height: 100vh;
23+
box-sizing: border-box;
24+
padding: 30px; /* Padding inside each slide */
25+
position: absolute;
26+
top: 0;
27+
left: 0;
28+
background-color: #2c3e50; /* Should match body for seamless transition */
29+
animation: fadeIn 1s ease-in-out; /* Fade in effect for new slides */
30+
}
31+
32+
/* 3. Heading Styles: Controls the size and color of titles on each slide. */
33+
.slide h2 {
34+
color: #3498db; /* Bright blue for main headings */
35+
font-size: 3em; /* Larger main heading */
36+
margin-bottom: 25px;
37+
text-align: center;
38+
}
39+
.slide h3 { /* Used for calendar subheadings */
40+
color: #87CEEB; /* Lighter blue for subheadings */
41+
font-size: 1.8em;
42+
margin-top: 15px;
43+
margin-bottom: 10px;
44+
text-align: left;
45+
}
46+
47+
/* 4. iframe Styles: Controls the appearance of the embedded AppSheet and Calendar content. */
48+
iframe {
49+
border: none;
50+
width: 100%;
51+
height: calc(100% - 100px); /* Adjust height for main heading */
52+
background-color: #34495e; /* Slightly lighter background for iframes */
53+
border-radius: 8px; /* Rounded corners for the embedded content */
54+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Subtle shadow */
55+
}
56+
57+
/* 5. Specific Calendar Section Adjustments: Fine-tunes the layout for the two calendar iframes. */
58+
#slide-calendars .calendar-container {
59+
height: calc((100% - 160px) / 2);
60+
margin-bottom: 20px;
61+
display: flex;
62+
flex-direction: column;
63+
}
64+
#slide-calendars .calendar-container:last-child {
65+
margin-bottom: 0;
66+
}
67+
#slide-calendars .calendar-container iframe {
68+
height: calc(100% - 50px);
69+
}
70+
71+
/* 6. Responsive Adjustments: Ensures the design looks good on different screen sizes (though Chromebox will likely be fixed). */
72+
@media (max-width: 1200px) { /* ... */ }
73+
@media (max-width: 768px) { /* ... */ }
74+
</style>
75+
<!-- ... rest of HTML and JavaScript ... -->
76+
</head>
777
</html>

0 commit comments

Comments
 (0)