aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--404.html31
-rw-r--r--_includes/footer.html2
-rw-r--r--_layouts/default.html29
-rw-r--r--_layouts/post.html19
-rw-r--r--blog.html35
-rw-r--r--index.html46
-rw-r--r--projects.md2
-rw-r--r--style.css13
8 files changed, 110 insertions, 67 deletions
diff --git a/404.html b/404.html
index 3a215b3..baa4602 100644
--- a/404.html
+++ b/404.html
@@ -2,19 +2,28 @@
---
<!DOCTYPE HTML>
<HTML>
- <HEAD>
+
+<HEAD>
{% include heading.html %}
- <TITLE>404 | {{ site.title }}</TITLE>
- </HEAD>
+ <TITLE>404 | {{ site.title }}</TITLE>
+</HEAD>
+
<BODY>
- {% include navigator.html %}
- <div class="container">
- <h1 class ="title">404</h1>
+ {% include navigator.html %}
+ <div class="container">
+ <h1 class="title">404</h1>
- <p><center><strong>Page not found :(</strong></center></p>
- <p><center><b>Uh Oh!</b> The requested page could not be found.</center></p>
- <p><center>You may need to go back to the <a href ="/">homepage</a>.</center></p>
-</div>
+ <p>
+ <center><strong>Page not found :(</strong></center>
+ </p>
+ <p>
+ <center><b>Uh Oh!</b> The requested page could not be found.</center>
+ </p>
+ <p>
+ <center>You may need to go back to the <a href="/">homepage</a>.</center>
+ </p>
+ </div>
{% include footer.html %}
</BODY>
-</HTML>
+
+</HTML> \ No newline at end of file
diff --git a/_includes/footer.html b/_includes/footer.html
index 875fa97..42132c5 100644
--- a/_includes/footer.html
+++ b/_includes/footer.html
@@ -1,3 +1,3 @@
<div class="footer">
<p><b>&copy; Copyright 2018, Andrew Lee.</b></p>
-</div>
+</div> \ No newline at end of file
diff --git a/_layouts/default.html b/_layouts/default.html
index 12e4b16..a60c88a 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -2,19 +2,24 @@
---
<!DOCTYPE HTML>
<HTML>
- <HEAD>
- {% include heading.html %}
- <TITLE>{{ page.title }} | {{ site.title }}</TITLE>
- </HEAD>
+
+<HEAD>
+ {% include heading.html %}
+ <TITLE>{{ page.title }} | {{ site.title }}</TITLE>
+</HEAD>
+
<BODY>
- {% include navigator.html %}
- <div class="jumbotron">
- <h1 class ="title">{{ page.title }}</h1>
- <h2><center>{{ page.description }}</center></h2>
- </div>
- <div class="container">
+ {% include navigator.html %}
+ <div class="jumbotron">
+ <h1 class="title">{{ page.title }}</h1>
+ <h2>
+ <center>{{ page.description }}</center>
+ </h2>
+ </div>
+ <div class="container">
{{ content }}
- </div>
+ </div>
{% include footer.html %}
</BODY>
-</HTML>
+
+</HTML> \ No newline at end of file
diff --git a/_layouts/post.html b/_layouts/post.html
index 7a5d3bb..2f0a972 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -2,18 +2,21 @@
---
<!DOCTYPE HTML>
<HTML>
- <HEAD>
- {% include heading.html %}
- <TITLE>{{ page.title }} | {{ site.title }} Blog</TITLE>
- </HEAD>
+
+<HEAD>
+ {% include heading.html %}
+ <TITLE>{{ page.title }} | {{ site.title }} Blog</TITLE>
+</HEAD>
+
<BODY>
{% include navigator.html %}
<div class="container">
- <h1>{{ page.title }}</h1>
- <p><b>{{ page.date | date_to_string }} | By: {{ page.author }}</b></p>
+ <h1>{{ page.title }}</h1>
+ <p><b>{{ page.date | date_to_string }} | By: {{ page.author }}</b></p>
- {{ content }}
+ {{ content }}
</div>
{% include footer.html %}
</BODY>
-</HTML>
+
+</HTML> \ No newline at end of file
diff --git a/blog.html b/blog.html
index dbcb294..251f390 100644
--- a/blog.html
+++ b/blog.html
@@ -2,27 +2,30 @@
---
<!DOCTYPE HTML>
<HTML>
- <HEAD>
- {% include heading.html %}
- <TITLE>Blog | {{ site.title }}</TITLE>
- </HEAD>
+
+<HEAD>
+ {% include heading.html %}
+ <TITLE>Blog | {{ site.title }}</TITLE>
+</HEAD>
+
<BODY>
{% include navigator.html %}
<div class="jumbotron">
- <h1 class ="title">Blog</h1>
+ <h1 class="title">Blog</h1>
</div>
<div class="container">
-<ul>
- {% for post in site.posts %}
- <li class="list-blog">
- <h2><a href="{{ post.url }}">{{ post.title }}</a></h2>
- <p><b>{{ post.date | date_to_string }} | By: {{ post.author }}</b></p>
- <p>{{ post.excerpt }}</p>
- </li>
- {% endfor %}
-</ul>
-</div>
+ <ul>
+ {% for post in site.posts %}
+ <li class="list-blog">
+ <h2><a href="{{ post.url }}">{{ post.title }}</a></h2>
+ <p><b>{{ post.date | date_to_string }} | By: {{ post.author }}</b></p>
+ <p>{{ post.excerpt }}</p>
+ </li>
+ {% endfor %}
+ </ul>
+ </div>
{% include footer.html %}
</BODY>
-</HTML>
+
+</HTML> \ No newline at end of file
diff --git a/index.html b/index.html
index f8867cc..8e6de8d 100644
--- a/index.html
+++ b/index.html
@@ -3,25 +3,37 @@ project: Andrew Lee
---
<!DOCTYPE HTML>
<HTML>
- <HEAD>
- {% include heading.html %}
- <TITLE>Home | {{ site.title }}</TITLE>
- </HEAD>
+
+<HEAD>
+ {% include heading.html %}
+ <TITLE>Home | {{ site.title }}</TITLE>
+</HEAD>
+
<BODY>
{% include navigator.html %}
-<div class="jumbotron">
- <h1 class ="title">{{ site.title }} Homepage</h1>
- <h2><center><b>{{ site.description }}</b></center></h2>
-</div>
-<div class="container">
-<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 class="jumbotron">
+ <h1 class="title">{{ site.title }} Homepage</h1>
+ <h2>
+ <center><b>{{ site.description }}</b></center>
+ </h2>
+ </div>
+ <div class="container">
+ <div class="row-column">
+ <div class="column">
+ <h3>What is this website?</h3>
+ <p>This is website my own personal website.</p>
+ </div>
+ <div class="column">
+ <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>
+ </div>
+ <div class="column"></div>
-</div>
+ <h3>When did I start to program?</h3>
+ <p>Well.. I started back in 2016 when I made my first VB program which is a HTML Editor.</p>
+ </div>
+ </div>
{% include footer.html %}
</BODY>
-</HTML>
+
+</HTML> \ No newline at end of file
diff --git a/projects.md b/projects.md
index 5f4b595..7362b06 100644
--- a/projects.md
+++ b/projects.md
@@ -4,7 +4,7 @@ title: Projects
description: These are the projects i'm currently working on
---
- <div class="row">
+ <div class="row-cards">
<div class="card">
<img src="./assets/AleeBot.png" alt="Logo" style="width:100%">
<div class="container-card">
diff --git a/style.css b/style.css
index cfd8528..c14e9b3 100644
--- a/style.css
+++ b/style.css
@@ -154,11 +154,22 @@ li a:hover {
}
-.row {
+.row-cards {
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
margin-right: -15px;
margin-left: -15px;
+}
+
+.row-column:after {
+ content: "";
+ display: table;
+ clear: both;
+}
+
+.column {
+ float: left;
+ width: 33.33%;
} \ No newline at end of file