From 4b799d20390a7bcdbd70f866fb416a1c0065e301 Mon Sep 17 00:00:00 2001 From: Jay Date: Thu, 25 Aug 2022 04:43:22 +0000 Subject: [PATCH] more enhancements --- _layouts/page.html | 8 ++++++++ _layouts/post.html | 8 ++++++++ _sass/base.scss | 15 ++++++++++----- blog.md | 12 ------------ blog/index.md | 2 +- dev.md | 12 ------------ dev/index.md | 2 +- index.md | 6 +++--- pbx.md | 13 ------------- pbx/index.md | 2 +- 10 files changed, 32 insertions(+), 48 deletions(-) create mode 100644 _layouts/page.html create mode 100644 _layouts/post.html diff --git a/_layouts/page.html b/_layouts/page.html new file mode 100644 index 0000000..9b349ab --- /dev/null +++ b/_layouts/page.html @@ -0,0 +1,8 @@ +--- +layout: default +--- +

{{ page.title }}

+
+{{ content }} + +Posted on: {{ page.date | date: "%d-%^b-%Y" }} diff --git a/_layouts/post.html b/_layouts/post.html new file mode 100644 index 0000000..9b349ab --- /dev/null +++ b/_layouts/post.html @@ -0,0 +1,8 @@ +--- +layout: default +--- +

{{ page.title }}

+
+{{ content }} + +Posted on: {{ page.date | date: "%d-%^b-%Y" }} diff --git a/_sass/base.scss b/_sass/base.scss index 9de6ac7..c022eff 100644 --- a/_sass/base.scss +++ b/_sass/base.scss @@ -5,17 +5,22 @@ * Style variables */ $base-font-family: 'Source Code Pro', monospace !default; -$base-font-size: 12.5px !default; +$base-font-size: 13px !default; $mobile-font-size: 12px !default; $base-line-height: 1.5 !default; $container-width: 90% !default; -$container-max-width: 600px !default; +$container-max-width: 1000px !default; /** * Global */ body { background-color: var(--background-color); margin: 0 auto; padding: 0; font-family: $base-font-family; font-size: $base-font-size; color: var(--text-color); text-align: left; line-height: $base-line-height !important; } -h1, h2, h3, h4, h5, h6 { font-size: $base-font-size; margin: 0px; margin-top: 22px; font-weight: bold; color: var(--text-color); } +h1 { font-size: 26px; margin: 0px; margin-top: 22px; font-weight: bold; color: var(--text-color); } +h2 { font-size: 24px; margin: 0px; margin-top: 22px; font-weight: bold; color: var(--text-color); } +h3 { font-size: 22px; margin: 0px; margin-top: 22px; font-weight: bold; color: var(--text-color); } +h4 { font-size: 20px; margin: 0px; margin-top: 22px; font-weight: bold; color: var(--text-color); } +h5 { font-size: 18px; margin: 0px; margin-top: 22px; font-weight: bold; color: var(--text-color); } +h6 { font-size: 16px; margin: 0px; margin-top: 22px; font-weight: bold; color: var(--text-color); } p, ul, ol { margin: 0px; color: var(--text-color); } a { text-decoration: underline; color: var(--link-color); } a:hover { color: var(--background-color); background-color: var(--base-color); } @@ -29,7 +34,7 @@ p { word-wrap: break-word; word-break: break-word; white-space: pre-wrap; marg footer { color: var(--text-color); border-top: var(--border); margin: 20px auto 15px; padding-top: 10px; text-align: right; } header { margin-top: 25px; margin-bottom: 10px; } header p { text-align: left; margin: 0; } -footer { margin-bottom: 20px; } +footer { font-size: 10px; margin-bottom: 20px; } /** * Highlight/Markup @@ -46,7 +51,7 @@ footer { margin-bottom: 20px; } /** * Header/Navigation */ -.menu { border-top: var(--border); border-bottom: var(--border); margin-bottom: 25px; } +.menu { border-top: var(--border); border-bottom: var(--border); font-size: 15px; font-weight: bold; margin-bottom: 25px; } .menu ul { margin-top: 12px; margin-bottom: 12px; padding-left: 0px; list-style-type: none; text-align: right; } .menu ul li { display: inline; margin-left: 10px; } .menu ul li a { text-decoration: none; color: var(--text-color); } diff --git a/blog.md b/blog.md index eeca935..9c442c0 100644 --- a/blog.md +++ b/blog.md @@ -2,17 +2,5 @@ title: /blog layout: default permalink: /blog -list: bullet --- -# pickmy.org:~/blog$ - -This is a master list of blog posts written since the new site (24-AUG) or imported from the old data. At some point this may have additional organization or fancier output. You get what you get. - - diff --git a/blog/index.md b/blog/index.md index 9040395..69dcda7 100644 --- a/blog/index.md +++ b/blog/index.md @@ -6,7 +6,7 @@ list: bullet --- # pickmy.org:~/blog$ - +
This is a master list of blog posts written since the new site (24-AUG) or imported from the old data. At some point this may have additional organization or fancier output. You get what you get.