Skip to content

Commit

Permalink
Move assets to their own folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Chew committed Sep 13, 2017
1 parent 8ed1dc9 commit 1d8ea72
Show file tree
Hide file tree
Showing 4 changed files with 73 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href='https://fonts.googleapis.com/css?family=Inconsolata' rel='stylesheet' type='text/css'>
<script src="changemessage.js"></script>
<script src="words.js"></script>
<link rel="stylesheet" href="style.css">
<script src="assets/js/changemessage.js"></script>
<script src="assets/js/words.js"></script>
<link rel="stylesheet" href="assets/css/style.css">
<html prefix="og: http://ogp.me/ns#">
<script async defer src="https://buttons.github.io/buttons.js"></script>
<title>{{ site.title }}</title>
Expand Down
51 changes: 51 additions & 0 deletions assets/css/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
html, body {
margin: 0;
padding: 0;
height: 100%;
background-color: #9AE8B6;
color: #4B37E8;
}

div.wrap {
height: 100%;
overflow: hidden;
}

body {
overflow: hidden;
}

#wrapper {
min-height: 100%;
position: relative;
text-align: center;
font-family: 'Inconsolata', sans-serif;
}

#trbmbline {
padding-top: 7%;
padding-bottom: 2%;
font-size: 1.75em;
}

.line {
padding-top: 10px;
padding-bottom: 10px;
}

footer {
position: absolute;
bottom: 5%;
width: 100%;
}

footer a {
font-size: 0.75em;
}

#startBttn {
color: black;
font-size: 0.8em;
height: 25px;
width: 150px;
}
6 changes: 6 additions & 0 deletions assets/js/changemessage.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
function changeMessage() {
for (var i = 0; i < 4; i++) {
document.getElementById(i + "line").innerHTML = lines2[i][(Math.floor(Math.random() * lines2[i].length))];
}
document.getElementById("startBttn").textContent = "Again?";
}
13 changes: 13 additions & 0 deletions assets/js/words.js

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

0 comments on commit 1d8ea72

Please sign in to comment.