aboutsummaryrefslogtreecommitdiff
path: root/cs2-simple-website
diff options
context:
space:
mode:
authors1n <[email protected]>2020-01-28 14:46:42 -0800
committerGitHub <[email protected]>2020-01-28 14:46:42 -0800
commit12565cca2e43049882691ab6130786fa86e4a9e1 (patch)
tree510c1c000ba322e9f16e09e3f5fa37db0e8a1e94 /cs2-simple-website
parentInitial commit (diff)
downloadcs2-12565cca2e43049882691ab6130786fa86e4a9e1.tar.xz
cs2-12565cca2e43049882691ab6130786fa86e4a9e1.zip
Add files via upload
Diffstat (limited to 'cs2-simple-website')
-rw-r--r--cs2-simple-website/404.html13
-rw-r--r--cs2-simple-website/README.md3
-rw-r--r--cs2-simple-website/about/index.html26
-rw-r--r--cs2-simple-website/about/js/main.js14
-rw-r--r--cs2-simple-website/guestbook.html31
-rw-r--r--cs2-simple-website/home/css/main.css73
-rw-r--r--cs2-simple-website/home/css/main.scss72
-rw-r--r--cs2-simple-website/home/index.html62
-rw-r--r--cs2-simple-website/index.html14
-rw-r--r--cs2-simple-website/js/main.js14
-rw-r--r--cs2-simple-website/js/redirect-to-home.js1
11 files changed, 323 insertions, 0 deletions
diff --git a/cs2-simple-website/404.html b/cs2-simple-website/404.html
new file mode 100644
index 0000000..0311b5c
--- /dev/null
+++ b/cs2-simple-website/404.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta http-equiv="X-UA-Compatible" content="ie=edge">
+ <title>404</title>
+ <link href="https://www.favicon.cc/favicon/130/914/favicon.png" rel="icon" type="image/x-icon" />
+</head>
+<body>
+ <a href="/cs2-simple-website/index.html">woops</a>
+</body>
+</html>
diff --git a/cs2-simple-website/README.md b/cs2-simple-website/README.md
new file mode 100644
index 0000000..1b4162f
--- /dev/null
+++ b/cs2-simple-website/README.md
@@ -0,0 +1,3 @@
+This is the dev branch, here I just make changes to the site so it doesn't effect my original project.
+
+In reality, this is the master branch and I am only even working here because that's the only way I can deploy the site using GitHub pages.
diff --git a/cs2-simple-website/about/index.html b/cs2-simple-website/about/index.html
new file mode 100644
index 0000000..bdb7ee7
--- /dev/null
+++ b/cs2-simple-website/about/index.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta http-equiv="X-UA-Compatible" content="ie=edge">
+ <title>About</title>
+ <link href="https://www.favicon.cc/favicon/130/914/favicon.png" rel="icon" type="image/x-icon" />
+ <link rel="stylesheet" href="/cs2-simple-website/home/css/main.css">
+</head>
+<body>
+ <script src="/cs2-simple-website/about/js/main.js"></script>
+
+ <div class="nav">
+ <nav class="bar">
+ <a href="/cs2-simple-website/home/">Home</a>
+ <a href="#">About</a>
+ <a href="https://s1n.pw/">S1N</a>
+ </nav>
+ </div>
+
+ <center>
+ <p>Proof of concept. Not setup :/</p>
+ </center>
+</body>
+</html>
diff --git a/cs2-simple-website/about/js/main.js b/cs2-simple-website/about/js/main.js
new file mode 100644
index 0000000..8800346
--- /dev/null
+++ b/cs2-simple-website/about/js/main.js
@@ -0,0 +1,14 @@
+var space = " ";
+var speed = "60";
+var pos = 0;
+var msg = "// Abo.ut "; /*Enter the scrolling title as the msg variable's value.*/
+
+function Scroll() {
+ document.title = msg.substring(pos, msg.length) + space + msg.substring(0, pos);
+ pos++;
+ if (pos > msg.length) pos = 0;
+ window.setTimeout("Scroll()", speed);
+}
+Scroll();
+
+// Copyied from my GitHub repo: https://github.com/8cy/scrolling-html-title/blob/master/docs/js/main.js \ No newline at end of file
diff --git a/cs2-simple-website/guestbook.html b/cs2-simple-website/guestbook.html
new file mode 100644
index 0000000..27300d3
--- /dev/null
+++ b/cs2-simple-website/guestbook.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html lang="en">
+
+ <head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta http-equiv="X-UA-Compatible" content="ie=edge">
+ <title>About</title>
+ <link href="https://www.favicon.cc/favicon/130/914/favicon.png" rel="icon" type="image/x-icon" />
+ <link rel="stylesheet" href="/cs2-simple-website/home/css/main.css">
+ </head>
+
+ <body>
+ <script src="/cs2-simple-website/about/js/main.js"></script>
+
+ <div class="nav">
+ <nav class="bar">
+ <a href="/cs2-simple-website/home/">Home</a>
+ <a href="#">About</a>
+ <a href="https://s1n.pw/">S1N</a>
+ </nav>
+ </div>
+ <p class="important">* Not really working, just a proof of concept.</p>
+ <br>
+ <br>
+ <center>
+ <textarea style="resize: none" class="form" name="" id="" cols="30" rows="1" placeholder="Sign your name here!"></textarea>
+ </center>
+ </body>
+
+</html>
diff --git a/cs2-simple-website/home/css/main.css b/cs2-simple-website/home/css/main.css
new file mode 100644
index 0000000..6838224
--- /dev/null
+++ b/cs2-simple-website/home/css/main.css
@@ -0,0 +1,73 @@
+html,
+body {
+ background: url(http://art.teleportacia.org/observation/vernacular/stars/pusk.jpg);
+}
+
+.nav {
+ background-image: -webkit-gradient(linear, left top, right bottom, from(blue), color-stop(50%, yellow));
+ background-image: linear-gradient(to bottom right, blue 0% 10%, yellow 50% 100%);
+ background-position: center;
+ background-attachment: fixed;
+}
+
+.bar {
+ text-align: center;
+ font-size: 30px;
+ word-spacing: 10px;
+}
+
+a {
+ color: black;
+ text-decoration: none;
+}
+
+a:hover {
+ color: red;
+}
+
+p {
+ font-size: 20px;
+ color: yellow;
+}
+
+marquee {
+ font-size: 60px;
+ color: orange;
+}
+
+h1 {
+ color: red;
+}
+
+.important {
+ color: green;
+}
+
+.imgs {
+ display: block;
+ position: absolute;
+ right: 800px;
+ bottom: 0px;
+}
+
+.update {
+ text-align: right;
+ margin: 10px;
+ padding: 10px;
+ color: orange;
+}
+
+.welcome {
+ display: block;
+ position: absolute;
+ top: 140px;
+ right: 25px;
+}
+
+.norm {
+ color: brown;
+}
+
+.guest {
+ color: burlywood;
+}
diff --git a/cs2-simple-website/home/css/main.scss b/cs2-simple-website/home/css/main.scss
new file mode 100644
index 0000000..dafff38
--- /dev/null
+++ b/cs2-simple-website/home/css/main.scss
@@ -0,0 +1,72 @@
+html,
+body {
+ background: url(http://art.teleportacia.org/observation/vernacular/stars/pusk.jpg);
+}
+
+.nav {
+ background-image: linear-gradient(to bottom right, blue 0% 10%, yellow 50% 100%);
+ background-position: center;
+ background-attachment: fixed;
+}
+
+.bar {
+ text-align: center;
+ font-size: 30px;
+ word-spacing: 10px;
+}
+
+a {
+ color: black;
+ text-decoration: none;
+}
+
+a:hover {
+ color: red;
+}
+
+p {
+ font-size: 20px;
+ color: yellow;
+}
+
+marquee {
+ font-size: 60px;
+ color: orange;
+}
+
+h1 {
+ color: red;
+}
+
+.important {
+ color: green;
+}
+
+.imgs {
+ display: block;
+ position: absolute;
+ right: 800px;
+ bottom: 0px;
+}
+
+.update {
+ text-align: right;
+ margin: 10px;
+ padding: 10px;
+ color: orange;
+}
+
+.welcome {
+ display: block;
+ position: absolute;
+ top: 140px;
+ right: 25px;
+}
+
+.norm {
+ color: brown;
+}
+
+.guest {
+ color: burlywood;
+} \ No newline at end of file
diff --git a/cs2-simple-website/home/index.html b/cs2-simple-website/home/index.html
new file mode 100644
index 0000000..a5cf4cf
--- /dev/null
+++ b/cs2-simple-website/home/index.html
@@ -0,0 +1,62 @@
+<!DOCTYPE html>
+<html lang="en">
+
+ <head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta http-equiv="X-UA-Compatible" content="ie=edge">
+ <title>Simple Website</title>
+ <link href="https://www.favicon.cc/favicon/130/914/favicon.png" rel="icon" type="image/x-icon" />
+ <link rel="stylesheet" href="/cs2-simple-website/home/css/main.css">
+ </head>
+
+ <body>
+ <script src="/cs2-simple-website/js/main.js"></script>
+
+ <div class="nav">
+ <nav class="bar">
+ <center>
+ <a href="#">Home</a>
+ <a href="/cs2-simple-website/about/">About</a>
+ <a href="https://s1n.pw/">S1N</a>
+ </center>
+ </nav>
+ </div>
+
+ <p class="important">* Sorry, but I had to do it, 90s web design at its finest.</p>
+ <p class="update">Last Updated: 06/12/1996</p>
+ <a href="/cs2-simple-website/404.html"><img class="welcome" src="http://stryvemarketing.com/wp-content/uploads/2016/04/welcome.gif" alt=""
+ width="200px"></a>
+
+ <div class="main">
+ <div class="intro">
+ <center>
+ <br>
+ <br>
+ <h1>Introduction:</h1>
+
+ <p>This is a simple website, my name is s1nical and this was made on 9/17/2019</p>
+
+ <p>My name is s1nical, I am taking both CS1 and CS2. I am really into electronics.<br>
+ I have been a freelance web-developer for almost three years. I also like to make things with<br>
+ C++ such as CS:GO cheats and stuff.</p>
+ <br>
+ <br>
+ <br>
+ <br>
+ <br>
+ <br>
+
+ <marquee behavior="" direction="left">Sign my <a class="guest" href="/cs2-simple-website/guestbook.html">guestbook!</a></marquee>
+ </center>
+
+ <div class="imgs">
+ <a href="https://s1n.pw/konami/">
+ <img src="https://files.steempeak.com/file/steempeak/mirkojax/26DKWaHM-hiE5vMs.gif" alt="">
+ </a>
+ </div>
+ </div>
+ </div>
+ </body>
+
+</html>
diff --git a/cs2-simple-website/index.html b/cs2-simple-website/index.html
new file mode 100644
index 0000000..58dc984
--- /dev/null
+++ b/cs2-simple-website/index.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta http-equiv="X-UA-Compatible" content="ie=edge">
+ <title>Loading...</title>
+ <link href="https://www.favicon.cc/favicon/130/914/favicon.png" rel="icon" type="image/x-icon" />
+ <script src="/cs2-simple-website/js/redirect-to-home.js"></script>
+</head>
+<body>
+
+</body>
+</html>
diff --git a/cs2-simple-website/js/main.js b/cs2-simple-website/js/main.js
new file mode 100644
index 0000000..0150af1
--- /dev/null
+++ b/cs2-simple-website/js/main.js
@@ -0,0 +1,14 @@
+var space = " ";
+var speed = "60";
+var pos = 0;
+var msg = "// Hom.e "; /*Enter the scrolling title as the msg variable's value.*/
+
+function Scroll() {
+ document.title = msg.substring(pos, msg.length) + space + msg.substring(0, pos);
+ pos++;
+ if (pos > msg.length) pos = 0;
+ window.setTimeout("Scroll()", speed);
+}
+Scroll();
+
+// Copyied from my GitHub repo: https://github.com/8cy/scrolling-html-title/blob/master/docs/js/main.js \ No newline at end of file
diff --git a/cs2-simple-website/js/redirect-to-home.js b/cs2-simple-website/js/redirect-to-home.js
new file mode 100644
index 0000000..70666e8
--- /dev/null
+++ b/cs2-simple-website/js/redirect-to-home.js
@@ -0,0 +1 @@
+document.location = "/cs2-simple-website/home/"