-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathunity.html
135 lines (106 loc) · 2.96 KB
/
unity.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
134
<!DOCTYPE html>
<html lang="en">
<head>
<title>Internet Page</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<style>
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
html, body {
margin: 0;
padding:0;
height: 100%;
overflow-x: hidden;
}
#container {
position: relative;
min-height: 100%;
}
html {
font-size: 25px;
font-family: 'Open Sans', sans-serif;
}
.te {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #2bbd5c;
cursor: default;
width: 100vw;
}
.ch a {
display: block;
color: white;
padding: 8px 16px;
text-decoration: none;
}
.ch a:hover {
background: #109c3f;
color: white;
font-weight: bolder;
transition: background 0.3s ease;
cursor: pointer;
}
.cha a{
display:inline-block;
color: white;
padding: 8px 16px;
text-decoration: underline;
margin: 0;
float: none;
}
section {
padding-bottom:60px;
}
footer {
position: absolute;
bottom:0;
width: 100%;
height: 50px;
background: #2bbd5c;
text-align: center;
line-height: 50px;
color: white;
font-size: small;
}
</style>
</head>
<body>
<div id="container">
<ul class="te" id="tes">
<li class="ch" onclick="home()" style="float: left;"><a class="as" id="home">Home</a></li>
<li class="ch" onclick="unity()" style="float: left; background-color: #109c3f;"><a class="as" id="unity">Unity Projects</a></li>
<li class="ch" onclick="web()" style="float: left;"><a class="as" id="web">Websites</a></li>
<li class="cha" id="cha" style="float: right; padding-right: 1%;"><a href="https://alexbrown.org">ALEXBROWN.ORG</a></li>
</ul>
<section id="section">
<h1 style='text-align: center;'>Check back soon for <em style='text-decoration: underline;'>UNITY PROJECTS</em>.</h1>
</section>
<footer>Copyright © 2020 by Alex Brown.</footer>
</div>
<script>
function home() {
//Style
document.getElementById("web").style = "background-color: 2bbd5c;"
document.getElementById("unity").style = "background-color: 2bbd5c;"
document.getElementById("home").style = "background-color: #109c3f;"
window.location.assign("/")
}
function web() {
//Style
document.getElementById("web").style = "background-color: #109c3f;"
document.getElementById("home").style = "background-color: 2bbd5c;"
document.getElementById("unity").style = "background-color: 2bbd5c;"
window.location.assign("web")
}
function unity() {
// Style
document.getElementById("unity").style = "background-color: #109c3f;"
document.getElementById("home").style = "background-color: 2bbd5c;"
document.getElementById("web").style = "background-color: 2bbd5c;"
window.location.assign("unity")
}
</script>
</body>
</html>