aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--404.html2
-rw-r--r--_includes/footer.html2
-rw-r--r--_includes/navigator.html4
-rw-r--r--_layouts/default.html4
-rw-r--r--_layouts/post.html4
-rw-r--r--about.md12
-rw-r--r--blog.html2
-rw-r--r--contact.md11
-rw-r--r--index.html11
-rw-r--r--style.css29
10 files changed, 52 insertions, 29 deletions
diff --git a/404.html b/404.html
index 87c7fea..4ec9ea8 100644
--- a/404.html
+++ b/404.html
@@ -7,11 +7,13 @@
</HEAD>
<BODY>
{% include navigator.html %}
+ <div class="container">
<h1 class ="title">404</h1>
<p class="center"><strong>Page not found :(</strong></p>
<p class="center"><b>Uh Oh!</b> The requested page could not be found.</p>
<p class="center">You may need to go back to the <a href ="/">homepage</a>.</p>
+</div>
{% include footer.html %}
</BODY>
</HTML>
diff --git a/_includes/footer.html b/_includes/footer.html
index c50c255..875fa97 100644
--- a/_includes/footer.html
+++ b/_includes/footer.html
@@ -1,3 +1,3 @@
<div class="footer">
- <p>&copy; Copyright 2018, Andrew Lee.</a></p>
+ <p><b>&copy; Copyright 2018, Andrew Lee.</b></p>
</div>
diff --git a/_includes/navigator.html b/_includes/navigator.html
index 82e6550..89e617e 100644
--- a/_includes/navigator.html
+++ b/_includes/navigator.html
@@ -2,8 +2,8 @@
<ul class="navbar">
<li class="nav logo">Andrew Lee</li>
<li class="nav" {% if page.url == "/" %}style="background-color: #1f8e42;"{% endif %}><a class="nav" href="/">HOME</a></li>
- <li class="nav" {% if page.url == "/project.html" %}style="background-color: #1f8e42;"{% endif %}><a class="nav"href="/project.html">PROJECTS</a></li>
+ <li class="nav" {% if page.url == "/project.html" %}style="background-color: #1f8e42;"{% endif %}><a class="nav" href="/project.html">PROJECTS</a></li>
<li class="nav" {% if page.url == "/blog.html" %}style="background-color: #1f8e42;"{% endif %}><a class="nav" href="/blog.html">BLOG</a></li>
- <li class="nav" {% if page.url == "/about.html" %}style="background-color: #1f8e42;"{% endif %}><a class="nav" href="/about.html">ABOUT</a></li>
+ <li class="nav" {% if page.url == "/contact.html" %}style="background-color: #1f8e42;"{% endif %}><a class="nav" href="/contact.html">CONTACT</a></li>
</ul>
</div> \ No newline at end of file
diff --git a/_layouts/default.html b/_layouts/default.html
index 0c85d3c..fe6477c 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -8,9 +8,9 @@
</HEAD>
<BODY>
{% include navigator.html %}
-
+ <div class="container">
{{ content }}
-
+ </div>
{% include footer.html %}
</BODY>
</HTML>
diff --git a/_layouts/post.html b/_layouts/post.html
index d281d5a..1eb604c 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -8,12 +8,12 @@
</HEAD>
<BODY>
{% include navigator.html %}
-
+ <div class="container">
<h1>{{ page.title }}</h1>
<p><b>{{ page.date | date_to_string }} | By: {{ page.author }}</b></p>
{{ content }}
-
+ </div>
{% include footer.html %}
</BODY>
</HTML>
diff --git a/about.md b/about.md
deleted file mode 100644
index df2842b..0000000
--- a/about.md
+++ /dev/null
@@ -1,12 +0,0 @@
----
-layout: default
-title: About
----
-<h1 class ="title">About Andrew Lee</h1>
-
-<h2>Contact me</h2>
-<p>Email Address: {{ site.email }}</p>
-<p>GitHub: <a href="https://github.com/Alee14">Alee14</a></p>
-<p>Twitter: <a href="https://twitter.com/Alee14498">Alee14498</a></p>
-<p>YouTube: <a href="https://youtube.com/user/Andrew14Lee/">Andrew Lee</a></p>
-<p>Discord: <a href="https://discord.gg/EFhRDqG">Alee's Community</a></p>
diff --git a/blog.html b/blog.html
index 316c407..bc78db5 100644
--- a/blog.html
+++ b/blog.html
@@ -8,6 +8,7 @@
</HEAD>
<BODY>
{% include navigator.html %}
+ <div class="container">
<h1>Latest Posts</h1>
<ul>
@@ -19,6 +20,7 @@
</li>
{% endfor %}
</ul>
+</div>
{% include footer.html %}
</BODY>
</HTML>
diff --git a/contact.md b/contact.md
new file mode 100644
index 0000000..5265b25
--- /dev/null
+++ b/contact.md
@@ -0,0 +1,11 @@
+---
+layout: default
+title: Contact
+---
+<h1 class ="title">Contact Me</h1>
+
+<p><b>Email Address: {{ site.email }}</b></p>
+<p><b>GitHub: <a href="https://github.com/Alee14">Alee14</a></b></p>
+<p><b>Twitter: <a href="https://twitter.com/Alee14498">Alee14498</a></b></p>
+<p><b>YouTube: <a href="https://youtube.com/user/Andrew14Lee/">Andrew Lee</a></b></p>
+<p><b>Discord: <a href="https://discord.gg/EFhRDqG">Alee's Community</a></b></p>
diff --git a/index.html b/index.html
index aaaa66e..41f92ba 100644
--- a/index.html
+++ b/index.html
@@ -9,12 +9,17 @@ project: Andrew Lee
</HEAD>
<BODY>
{% include navigator.html %}
+ <div class="container">
<h1 class ="title">{{ site.title }} Homepage</h1>
-<h2>Who am I?</h2>
-<p>Hello! My name is Andrew Lee and I live in Montreal and I like program things such as C# and JavaScript.</p>
-<h2>When did I start programming?</h2>
+<h2><center><b>{{ site.description }}</b></center></h2>
+<h3>What is this website?</h3>
+<p>This is website my own personal website.</p>
+<h3>Who am I?</h3>
+<p>My name is Andrew Lee and I live in Montreal and I like program things such as C# and JavaScript.</p>
+<h3>When did I start programming?</h3>
<p>Well.. I started back in 2016 when I made my first VB program which is a HTML Editor.</p>
+</div>
{% include footer.html %}
</BODY>
</HTML>
diff --git a/style.css b/style.css
index fc91533..30aa3e0 100644
--- a/style.css
+++ b/style.css
@@ -1,3 +1,9 @@
+.container {
+ width:95%;
+ margin:auto;
+ overflow:hidden;
+}
+
@media screen and (max-width: 600px) {
.nav a:not(:first-child) {display: none;}
.nav a.icon {
@@ -23,6 +29,8 @@
body{
font-family: 'Roboto', sans-serif;
+ padding:0;
+ margin:0;
background: #333;
color: white
}
@@ -38,11 +46,10 @@ a {
}
.footer {
- position: fixed;
- left: 0;
- bottom: 0;
- width: 100%;
- color: white;
+ padding:20px;
+ margin-top:20px;
+ color:white;
+ background-color: #1f8e42;
text-align: center;
}
@@ -111,5 +118,13 @@ li a:hover {
display: none;
}
-
- \ No newline at end of file
+
+.btn {
+ border: none;
+ font-size: 14px;
+ color: white;
+ padding: 14px 30px;
+}
+
+.default {background-color: #348d43; color: white;}
+.default:hover {background: #ddd;}