Redid base layouts

This commit is contained in:
2019-02-11 10:42:43 -05:00
parent 049dc247a6
commit 8722fccc0d
13 changed files with 41 additions and 51 deletions

View File

@@ -417,8 +417,8 @@ h1.site-title {// {{{
font-size: 4.8em;
// color: #66cccc;
color: $base05;
margin-top: 0.5em;
margin-bottom: 0;
margin-top: 1rem;
margin-bottom: 0.5rem;
@include a-color($base-sky-blue);
a {
@@ -437,6 +437,7 @@ h1.site-title {// {{{
}// }}}
.hero-logo img {
margin-top: 0.5rem;
width: 100%;
}
@@ -444,7 +445,7 @@ h1.site-title {// {{{
margin-left: .5em;
// margin-bottom: 1em;
// margin-top: .75em;
@include vert-padding-rem(1);
@include vert-padding-rem(.5);
.caret {
color: #f2f0ec;

View File

@@ -1,11 +0,0 @@
# baseURL = "http://localhost:1313/"
baseURL = "https://kevin-mok.com/"
# baseURL = "/home/kevin/coding/mf-site/public"
languageCode = "en-us"
title = "Kevin Mok's Website"
# theme = "base16"
enableRobotsTXT = "true"
[params]
author = "Kevin Mok"
description = "I'm a Computer Science (CS) student at the University of Toronto and an avid Linux/FOSS user. Come check out my personal site!"

View File

@@ -1,5 +1,5 @@
# baseURL: http://localhost:1313/
baseURL: https://kevin-mok.com/
baseURL: http://localhost:1313/
# baseURL: https://kevin-mok.com/
# baseURL: /home/kevin/coding/mf-site/public
languageCode: en-us
title: Kevin Mok's Website

View File

@@ -2,7 +2,6 @@
title: "Config"
date: 2019-02-07T05:05:11-05:00
draft: true
layout: single
---
<!--- Intro {{{ -->
# Kevin's Linux Setup

View File

@@ -2,5 +2,4 @@
title: "Credits"
date: 2019-02-11T03:10:25-05:00
draft: true
layout: single
---

View File

@@ -3,3 +3,4 @@ title: "Resume"
date: 2019-02-11T07:50:51-05:00
draft: true
---
Test

View File

@@ -1,5 +1,6 @@
# Large
- resume
- fix title
- printable version
- list of things done with diff. langs.
- add CSS grid layout

View File

@@ -1,10 +1,11 @@
{{ define "main" }}
{{ partial "header.html" . }}
<!-- <main role="main" class="article-list">
<h1 class="list-title">{{ .Title }}</h1>
{{ range .Data.Pages }}
{{ partial "article-list-item.html" . }}
{{ end }}
</main> -->
{{ partial "site-title.html" . }}
{{ end }}
{{ partial "nav-bar.html" . }}
{{ partial "base16-logo.html" . }}
{{ .Content }}
{{ partial "footer.html" . }}

View File

@@ -1,7 +1,11 @@
{{ define "main" }}
{{ partial "header.html" . }}
<main role="main" class="article">
{{ partial "article.html" . }}
</main>
{{ partial "site-title.html" . }}
{{ end }}
{{ partial "nav-bar.html" . }}
{{ partial "base16-logo.html" . }}
{{ .Content }}
{{ partial "footer.html" . }}

View File

@@ -1,5 +0,0 @@
{{ define "main" }}
{{ .Content }}
{{ end }}

View File

@@ -1,9 +1,13 @@
{{ define "main" }}
{{ partial "header.html" . }}
{{ partial "site-title.html" . }}
{{ partial "nav-bar.html" . }}
{{ partial "base16-logo.html" . }}
<div id="homepage">
{{ partial "about.html" . }}
{{ partial "about.html" . }}
</div>
{{ end }}
{{ partial "footer.html" . }}

View File

@@ -2,11 +2,6 @@
{{ partial "site-title.html" . }}
{{ partial "nav-bar.html" . }}
{{ partial "base16-logo.html" . }}
{{ block "main" . }}
{{ end }}
{{ partial "footer.html" . }}
{{ .Content }}

View File

@@ -301,8 +301,8 @@ h1.site-title {
/* font-size: 3.5em; */
font-size: 4.8em;
color: #d3d0c8;
margin-top: 0.5em;
margin-bottom: 0; }
margin-top: 1rem;
margin-bottom: 0.5rem; }
h1.site-title a {
color: #66cccc; }
h1.site-title a:visited {
@@ -319,12 +319,13 @@ h1.site-title {
font-size: 2em; } }
.hero-logo img {
margin-top: 0.5rem;
width: 100%; }
.nav-bar {
margin-left: .5em;
padding-top: 1rem;
padding-bottom: 1rem; }
padding-top: 0.5rem;
padding-bottom: 0.5rem; }
.nav-bar .caret {
color: #f2f0ec;
margin-right: .75rem; }