From bc0397023eb9d772ee519d7515871cdafed017a8 Mon Sep 17 00:00:00 2001 From: Nate B <nb@astragroup.info> Date: Tue, 17 Nov 2020 23:43:06 -0700 Subject: [PATCH] 11-17-20_23:43:06 --- _data/navigation.yml | 2 +- _layouts/post.html | 2 +- _layouts/simple.html | 40 ++++++++++++++++++++++++++++++++++ _sass/_default_colors.scss | 17 +++++++++++++++ _sass/jekyll-theme-hacker.scss | 21 ++++++++++++------ index.html | 2 +- simple.html | 30 +++++++++++++++++++++++++ 7 files changed, 104 insertions(+), 10 deletions(-) create mode 100644 _layouts/simple.html create mode 100644 _sass/_default_colors.scss create mode 100644 simple.html diff --git a/_data/navigation.yml b/_data/navigation.yml index f9000cc..84f1964 100644 --- a/_data/navigation.yml +++ b/_data/navigation.yml @@ -9,4 +9,4 @@ img: nextCloud-logo.svg - name: Report an Outage link: mailto:status@astragroup.info?Subject=Unreported%20Outage - img: wrench.svg + img: error.svg diff --git a/_layouts/post.html b/_layouts/post.html index df27532..8c0463b 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -16,7 +16,7 @@ layout: default {% assign authorData = site.data.authors[site.author] %} <div class="author-bio"> - <img src="/img/{{ authorData.image }}" alt="{{ page.author }}'s profile picture." /> + <img src="/assets/img/{{ authorData.image }}" alt="{{ site.author }}'s profile picture." /> <div class="author-name">{{ site.author }}</div> <p class="bio">{{ authorData.bio }}</p> {% for social in authorData.socials %} diff --git a/_layouts/simple.html b/_layouts/simple.html new file mode 100644 index 0000000..0fd53fe --- /dev/null +++ b/_layouts/simple.html @@ -0,0 +1,40 @@ +<!DOCTYPE html> +<html lang="{{ site.lang | default: "en-US" }}"> + <head> + <meta charset='utf-8'> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0"> + <link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}"> + <meta name="theme-color" content="#0066ff"> + <link rel="stylesheet" href="/assets/authorblurb.css"> + <link rel="stylesheet" href="/assets/additionalCSS.css" + <link rel="icon" type="image/png" href="/assets/img/rax_round.png"> + {% seo %} + </head> + <body> + <header> + <div class="container"> + <a id="a-title" href="{{ '/' | relative_url }}"> + <h1>{{ site.title | default: site.github.repository_name }}</h1> + </a> + <h2>{{ site.description | default: site.github.project_tagline }}</h2> + </div> + </header> + <div class="container"> + <section id="main_content"> + {{ content }} + </section> + </div> + + {% if site.google_analytics %} + <script> + (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ + (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), + m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) + })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); + ga('create', '{{ site.google_analytics }}', 'auto'); + ga('send', 'pageview'); + </script> + {% endif %} + </body> +</html> diff --git a/_sass/_default_colors.scss b/_sass/_default_colors.scss new file mode 100644 index 0000000..4be9bbb --- /dev/null +++ b/_sass/_default_colors.scss @@ -0,0 +1,17 @@ +$apple-blossom: #ac4142; +$alto: #d0d0d0; +$bouquet: #aa759f; +$chelsea-cucumber: #90a959; +$cod-grey: #151515; +$conifer: #b5e853; +$dove-grey: #666; +$gallery: #eaeaea; +$grey: #888; +$gulf-stream: #75b5aa; +$hippie-blue: #6a9fb5; +$potters-clay: #8f5536; +$rajah: #f4bf75; +$raw-sienna: #d28445; +$silver-chalice: #aaa; +$ag-blue: #00bbc4; +$ag-orange: #d38700; diff --git a/_sass/jekyll-theme-hacker.scss b/_sass/jekyll-theme-hacker.scss index 098cddb..4e33ed9 100644 --- a/_sass/jekyll-theme-hacker.scss +++ b/_sass/jekyll-theme-hacker.scss @@ -54,7 +54,7 @@ li { header { background: rgba(0, 0, 0, 0.1); width: 100%; - border-bottom: 1px dashed $conifer; //header; + border-bottom: 1px dashed $ag-orange; //header; padding: 20px 0; margin: 0 0 40px 0; } @@ -65,7 +65,7 @@ header h1 { margin: 0 0 0 -40px; font-weight: bold; font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace; - color: $conifer;//$header; + color: $ag-orange;//$header; text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 0 5px rgba(181, 232, 83, 0.1), 0 0 10px rgba(181, 232, 83, 0.1); @@ -85,7 +85,7 @@ header h1:before { header h2 { font-size: 18px; font-weight: 300; - color: #666; + color: $ag-blue; } #downloads .btn { @@ -108,7 +108,7 @@ section img { h1, h2, h3, h4, h5, h6 { font-weight: normal; font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace; - color: $header; + color: $ag-orange; letter-spacing: -0.03em; text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 0 5px rgba(181, 232, 83, 0.1), @@ -198,8 +198,8 @@ td { hr { height: 0; border: 0; - border-bottom: 1px dashed #b5e853; - color: #b5e853; + border-bottom: 1px dashed $ag-orange; + color: $ag-orange; } /* Buttons @@ -241,8 +241,11 @@ hr { */ a { - color: #63c0f5; + color: $ag-blue; text-shadow: 0 0 5px rgba(104, 182, 255, 0.5); + text-decoration-line: underline; + text-decoration-style: double; + text-decoration-color: $ag-blue; } /* Clearfix */ @@ -263,3 +266,7 @@ a { #a-title { text-decoration: none; } + +.updated { + color: $conifer; +} diff --git a/index.html b/index.html index ee783fd..b9668d6 100644 --- a/index.html +++ b/index.html @@ -1,7 +1,7 @@ --- layout: default --- -<p>Site Last Updated: {{ site.time | date: "%m/%d/%Y %H:%M" }}</p> +<center><p class="updated">Site Last Updated: {{ site.time | date: "%m/%d/%Y %H:%M" }}</p></center> <br> <h1>Latest:</h1> <ul> diff --git a/simple.html b/simple.html new file mode 100644 index 0000000..6b9387f --- /dev/null +++ b/simple.html @@ -0,0 +1,30 @@ +--- +layout: simple +--- + +<center><p class="updated">Site Last Updated: {{ site.time | date: "%m/%d/%Y %H:%M" }}</p></center> +<br> +<h1>Latest:</h1> +<ul> +{% for post in site.posts limit:1 %} + <a href="{{ post.url}}"> + <h2>{{ post.title }}</h2> + <p>{{ post.date | date: "%m/%d/%Y %H:%M"}}</p> + <p>{{ page.excerpt | truncate_words: 5 }}</p> + </a> +{% endfor %} +</ul> +<hr> +<hr> +<hr> +<h1>Earlier:</h1> +<ul> +{% for post in site.posts offset:1 limit:5 %} + <a href="{{ post.url }}"> + <h2>{{ post.title }}</h2> + <p>{{ post.date | date: "%m/%d/%Y %H:%M"}}</p> + <p>{{ page.excerpt | truncate_words: 5 }}</p> + </a> + <hr> +{% endfor %} +</ul>