Browse Source

Redid base layouts

resume-pdf
Kevin Mok 6 years ago
parent
commit
8722fccc0d
Signed by: Kevin-Mok GPG Key ID: AEA75288DC135CF5
  1. 7
      assets/sass/main.scss
  2. 11
      config.toml_
  3. 4
      config.yaml
  4. 1
      content/config/_index.md
  5. 1
      content/credits/_index.md
  6. 1
      content/resume/_index.md
  7. 1
      ideas.md
  8. 17
      layouts/_default/list.html
  9. 14
      layouts/_default/single.html
  10. 5
      layouts/credits.html
  11. 12
      layouts/index.html
  12. 7
      layouts/resume/section.html
  13. 9
      resources/_gen/assets/scss/sass/main.scss_f300667da4f5b5f84e1a9e0702b2fdde.content

7
assets/sass/main.scss

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

11
config.toml_

@ -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!"

4
config.yaml

@ -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 # baseURL: /home/kevin/coding/mf-site/public
languageCode: en-us languageCode: en-us
title: Kevin Mok's Website title: Kevin Mok's Website

1
content/config.md → content/config/_index.md

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

1
content/credits.md → content/credits/_index.md

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

1
content/resume.md → content/resume/_index.md

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

1
ideas.md

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

17
layouts/_default/list.html

@ -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" . }}

14
layouts/_default/single.html

@ -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" . }}

5
layouts/credits.html

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

12
layouts/index.html

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

7
layouts/_default/baseof.html → layouts/resume/section.html

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

9
resources/_gen/assets/scss/sass/main.scss_f300667da4f5b5f84e1a9e0702b2fdde.content

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

Loading…
Cancel
Save