-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
60 lines (53 loc) · 2.02 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
<!DOCTYPE html>
<html>
<title>The Campen Family</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Raleway">
<style>
h1 {
text-shadow: 3px 2px black;
}
h2 {
text-shadow: 3px 2px black;
}
body,h1 {font-family: "Raleway", sans-serif}
body, html {height: 100%}
.bgimg {
background-image: url("tinavegaphotography6a.jpg");
min-height: 100%;
background-position: center;
background-size: cover;
}
</style>
<body>
<div class="bgimg w3-display-container w3-animate-opacity w3-text-white">
<div class="w3-display-middle">
<h1 class="w3-jumbo w3-animate-top">The Campen Family</h1>
<p class="w3-xxlarge w3-center"><a href="Christmas2017.pdf">Current Family Newsletter</a></p>
<p class="w3-large w3-center"><a href="page2.html">Christmas Newsletter Archives</a></p></div>
<div class="w3-display-bottomright w3-padding-large">© Campen Family</a></div>
<!-- Sidebar -->
<div class="w3-sidebar w3-bar-block w3-animate-left" style="display:none;z-index:5" id="mySidebar">
<button class="w3-bar-item w3-button w3-black w3-large" onclick="w3_close()">Close ×</button>
<a href="Christmas2017.pdf" class="w3-bar-item w3-black w3-button">Current Newsletter</a>
<a href="page2.html" class="w3-bar-item w3-black w3-button">Archived Letters</a>
</div>
<!-- Page Content -->
<div class="w3-overlay w3-animate-opacity" onclick="w3_close()" style="cursor:pointer" id="myOverlay"></div>
<div>
<button class="w3-button w3-black w3-xxlarge" onclick="w3_open()">☰</button>
</div>
<script>
function w3_open() {
document.getElementById("mySidebar").style.display = "block";
document.getElementById("myOverlay").style.display = "block";
}
function w3_close() {
document.getElementById("mySidebar").style.display = "none";
document.getElementById("myOverlay").style.display = "none";
}
</script>
</body>
</html>