-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
144 lines (114 loc) · 3.77 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
134
135
136
137
138
139
140
141
142
143
144
<!DOCTYPE html>
<html>
<head>
<title>TAU-PSI</title>
<!-- Hope you enoy my presentation, thank you. -->
<!-- The Image in the tab bar -->
<link rel="icon" href="images/jumper2.ico" type="image/x-icon" />
<!--external style sheet -->
<link rel="stylesheet" href="external.css">
<!--goole font -->
<link href="https://fonts.googleapis.com/css?family=Muli" rel="stylesheet">
<style>
html{
cursor: url("images/footer.png"), auto;
}
/* Fraternity Logo */
#crest{
position: absolute;
margin-top: -50px;
margin-left: -100px;
left: -260px;
}
/* Button */
#enter {
border: 0px outset #C99700;
height:100px;
width:149.9px;
font-size: 40px;
color: white;
background: gold;
display: inline-block;
position: fixed;
top: 43.4%;
left: 46.7%;
display: none;
animation: glowing 1200ms infinite;
transform: rotate(1deg);
}
#enter:hover{
cursor: pointer;
}
#enter:focus{
outline: 0;
}
/* div tag that has Kappa Sigma & crest inside */
#movement{
position: absolute;
top:30px;
left: 410px;
width: 1000px;
height: 200px;
}
#ksig{
position: absolute;
top: 10px;
margin-left: -122px;
font-size: 60px;
color: white;
background: solid black;
background: -moz-linear-gradient(bottom, rgba(0,0,0,.1), rgba(0,0,0,.2));
background: -webkit-linear-gradient(bottom, rgba(0,0,0,.1), rgba(0,0,0,.2));
}
/* Key frames glowing work in 3 parts so I used it to grab the users attention of what to click to proceed. put a dark as 0 and 100% because if you put 3 individual colors it wouldn't look right so workin with 2 it best, 50% should be bright to make it seem like the button is glowing. */
@keyframes glowing {
0% {
background-color: #C99700; box-shadow: 0 0 90px #C99700;
}
50% {
background-color: #f8d211; box-shadow: 0 0 90px #f8d211;
}
100% {
background-color:#C99700 ; box-shadow: 0 0 90px #C99700;
}
</style>
</head>
<body>
<!-- calling the function work() to work as soon as the page loads -->
<body onload=" work();">
<!-- Focusing the Image as the center of attention -->
<div id="background">
<img src="images/taupsi.png" width="100%" height="100%" style="position: absolute;">
</div>
<div id="movement">
<div id="crest" width="200px"; height="20px;">
<img src="images/blend.png" width="600px">
</div>
<span id="ksig"><b>KAPPA SIGMA THE <span style="color:#C99700;">TAU-PSI</span> CHAPTER<b></span>
</div>
<!-- enters to start the users experience -->
<a href="home.html"><button id="enter"><b>ENTER<b></button></a>
<script>
function work() {
/* moving first span from left of the page to its absolute position */
var elem = document.getElementById("ksig");
var wavey = document.getElementById("crest");
var pos = -1400;
var id = setInterval(frame, .1);
function frame() {
if (pos == -50) {
clearInterval(id);
} else {
pos++;
elem.style.left = pos + 'px';
/* moving second span from top of the page to its absolute position */
wavey.style.top = pos +'px';
if(pos == -50){
document.getElementById("enter").style.display="block";
}
}
}
};
</script>
</body>
</html>