Skip to content

Commit

Permalink
first
Browse files Browse the repository at this point in the history
  • Loading branch information
Gchorba committed Dec 23, 2018
0 parents commit b6c082f
Show file tree
Hide file tree
Showing 16 changed files with 2,803 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# prom-request
How I asked a girl to the prom.

This site features a typing text effect, which is pretty neat. ^.^
3 changes: 3 additions & 0 deletions assets/css/animate.min.css

Large diffs are not rendered by default.

68 changes: 68 additions & 0 deletions assets/css/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
body {
animation: colorchange 50s;
-webkit-animation: colorchange 50s;
}

h1 {
text-align: center;
color: #fff;
padding-top: 10em;
font-family: "Source Sans Pro", sans-serif;
}

.footer {
position: absolute;
right: 0;
bottom: 0;
left: 0;
padding: 1rem;
font-family: "Open Sans", sans-serif;
color: #fff;
text-align: center;
}

.link {
font-family: "Open Sans", sans-serif;
color: #757575;
}

* {
color: #fff;
text-decoration: none;
}

@keyframes colorchange {
0% {
background: red;
}
25% {
background: yellow;
}
50% {
background: blue;
}
75% {
background: green;
}
100% {
background: red;
}
}

@-webkit-keyframes colorchange {
0% {
background: red;
}
25% {
background: yellow;
}
50% {
background: blue;
}
75% {
background: green;
}
100% {
background: red;
}
}
1 change: 1 addition & 0 deletions assets/css/index.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions assets/js/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
var TxtType = function (t, e, i) {
this.toRotate = e, this.el = t, this.loopNum = 0, this.period = parseInt(i, 10) || 2e3, this.txt = "", this.tick(), this.isDeleting = !1;
};
TxtType.prototype.tick = function () {
var t = this.loopNum % this.toRotate.length
, e = this.toRotate[t];
this.isDeleting ? this.txt = e.substring(0, this.txt.length - 1) : this.txt = e.substring(0, this.txt.length + 1), this.el.innerHTML = '<span class="wrap">' + this.txt + "</span>";
var i = this
, s = 200 - 100 * Math.random();
this.isDeleting && (s /= 2), this.isDeleting || this.txt !== e ? this.isDeleting && "" === this.txt && (this.isDeleting = !1, this.loopNum++, s = 500) : (s = this.period, this.isDeleting = !0), setTimeout(function () {
i.tick();
}, s);
}, window.onload = function () {
for (var t = document.getElementsByClassName("typewrite"), e = 0; e < t.length; e++) {
var i = t[e].getAttribute("data-type")
, s = t[e].getAttribute("data-period");
i && new TxtType(t[e], JSON.parse(i), s);
}
var n = document.createElement("style");
n.type = "text/css", n.innerHTML = ".typewrite > .wrap { border-right: 0.08em solid #fff}", document.body.appendChild(n);
};
1 change: 1 addition & 0 deletions assets/js/index.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions assets/js/jquery.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/js/modernizr.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions assets/plugins/font-awesome/css/font-awesome.min.css

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Loading

0 comments on commit b6c082f

Please sign in to comment.