From d7657e5e6301cf606807f1997cd2a2bb35c0e187 Mon Sep 17 00:00:00 2001 From: "Thomas A. Christensen II" <25492070+MillironX@users.noreply.github.com> Date: Mon, 21 Mar 2022 19:05:10 -0500 Subject: [PATCH] Apply Prettier formatting --- .github/workflows/build-site.yml | 4 +- assets/scripts/phone-masking.js | 2 +- assets/scripts/scroll-effect.js | 5 +- assets/scripts/tooltip-enable.js | 8 +- assets/styles/main.css | 104 +++--- content/academia/_index.md | 1 + content/academia/cheme-car.md | 2 +- .../how-to-build-a-cow-cud-fuel-cell.md | 2 +- content/academia/metagenomics/index.md | 4 +- content/academia/pva-aiche/index.md | 2 +- content/academia/thesis.md | 2 +- content/contact/_index.html | 124 ++++--- layouts/_default/baseof.html | 302 ++++++++++-------- layouts/academia/list.html | 24 +- layouts/partials/academia/list-single.html | 115 ++++--- layouts/videos/list.html | 27 +- layouts/videos/single.html | 41 +-- postcss.config.js | 18 +- 18 files changed, 450 insertions(+), 337 deletions(-) diff --git a/.github/workflows/build-site.yml b/.github/workflows/build-site.yml index b0b38bf..fbae12e 100644 --- a/.github/workflows/build-site.yml +++ b/.github/workflows/build-site.yml @@ -2,7 +2,7 @@ name: Build and Deploy Site on: push: branches: - - master + - master jobs: build: runs-on: ubuntu-latest @@ -20,7 +20,7 @@ jobs: - name: Setup Hugo uses: peaceiris/actions-hugo@v2 with: - hugo-version: 'latest' + hugo-version: "latest" extended: true - name: Configure npm run: | diff --git a/assets/scripts/phone-masking.js b/assets/scripts/phone-masking.js index ffda764..1edbd77 100644 --- a/assets/scripts/phone-masking.js +++ b/assets/scripts/phone-masking.js @@ -1 +1 @@ -$('#phone').mask('(000) 000-0000') +$("#phone").mask("(000) 000-0000"); diff --git a/assets/scripts/scroll-effect.js b/assets/scripts/scroll-effect.js index 8beed9e..42a4af8 100644 --- a/assets/scripts/scroll-effect.js +++ b/assets/scripts/scroll-effect.js @@ -1,6 +1,5 @@ $(window).scroll(function (e) { - oVal = ($(window).scrollTop() / 170); - $(".blur").css("opacity", oVal); - + oVal = $(window).scrollTop() / 170; + $(".blur").css("opacity", oVal); }); $("#motto").fitText(); diff --git a/assets/scripts/tooltip-enable.js b/assets/scripts/tooltip-enable.js index e06cea8..7009708 100644 --- a/assets/scripts/tooltip-enable.js +++ b/assets/scripts/tooltip-enable.js @@ -1,4 +1,6 @@ -var tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')) +var tooltipTriggerList = [].slice.call( + document.querySelectorAll('[data-bs-toggle="tooltip"]') +); var tooltipList = tooltipTriggerList.map(function (tooltipTriggerEl) { - return new bootstrap.Tooltip(tooltipTriggerEl) -}) + return new bootstrap.Tooltip(tooltipTriggerEl); +}); diff --git a/assets/styles/main.css b/assets/styles/main.css index 09201a0..c03d751 100644 --- a/assets/styles/main.css +++ b/assets/styles/main.css @@ -1,115 +1,115 @@ .blurred-container { - position: relative; - width: 100%; - min-height: 35vh; - height: 350px; - top: 0; - left: 0; + position: relative; + width: 100%; + min-height: 35vh; + height: 350px; + top: 0; + left: 0; } .blurred-container .motto { - color: #fff; - font-size: 76px; - font-weight: 600; - text-align: center; - text-shadow: 0 0 10px rgba(0, 0, 0, .33); - text-transform: uppercase; - top: 7.5vh; - z-index: 3; - display: block; - margin: 0 auto; - position: relative; - width: 60%; - height: 0 + color: #fff; + font-size: 76px; + font-weight: 600; + text-align: center; + text-shadow: 0 0 10px rgba(0, 0, 0, 0.33); + text-transform: uppercase; + top: 7.5vh; + z-index: 3; + display: block; + margin: 0 auto; + position: relative; + width: 60%; + height: 0; } .motto h1 { - background: #0000007d; + background: #0000007d; } .blurred-container .img-src { - position: fixed; - width: 100%; - min-height: 35vh; - height: 350px; - background-repeat: no-repeat; - background-size: cover; - background-position: center center; + position: fixed; + width: 100%; + min-height: 35vh; + height: 350px; + background-repeat: no-repeat; + background-size: cover; + background-position: center center; } .blur { - opacity: 0; + opacity: 0; } main { - position: relative; - background-color: #fff; + position: relative; + background-color: #fff; } /* Gives me greater control over fonts */ .font-serif { - font-family: Georgia, "Times New Roman", Times, serif; + font-family: Georgia, "Times New Roman", Times, serif; } .font-sans { - font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; + font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; } .font-mono { - font-family: Menlo, Monaco, Consolas, "Courier New", monospace; + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; } .font-small-caps { - font-variant-caps: small-caps; + font-variant-caps: small-caps; } .strikethrough { - text-decoration: line-through; + text-decoration: line-through; } .sfTable { - margin: 0 auto; + margin: 0 auto; } .text-align-left { - text-align: left + text-align: left; } .text-align-right { - text-align: right; + text-align: right; } .float-left { - float: left; + float: left; } .float-right { - float: right; + float: right; } .media-object { - max-height: 100%; - max-width: 100%; + max-height: 100%; + max-width: 100%; } @media (min-width: 768px) { - .pull-left { - max-width: 25%; - } + .pull-left { + max-width: 25%; + } } h1 small { - font-size: 60%; - color: #9a9a9a; - font-weight: 300; - line-height: 1.5; + font-size: 60%; + color: #9a9a9a; + font-weight: 300; + line-height: 1.5; } h1 { - font-weight: 400; - margin: 30px 0 15px; + font-weight: 400; + margin: 30px 0 15px; } .dogear { - clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 25%, 75% 0); + clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 25%, 75% 0); } diff --git a/content/academia/_index.md b/content/academia/_index.md index ced6d26..369bfee 100644 --- a/content/academia/_index.md +++ b/content/academia/_index.md @@ -3,4 +3,5 @@ title: Academic Publications and Presentations motto: Academic Publications and Presentations cardImage: library --- + ### Academic Papers diff --git a/content/academia/cheme-car.md b/content/academia/cheme-car.md index 43402eb..1902df7 100644 --- a/content/academia/cheme-car.md +++ b/content/academia/cheme-car.md @@ -13,7 +13,7 @@ keywords: type: thesis authors: - Thomas A. Christensen II -link: 'https://hdl.handle.net/20.500.11919/3817' +link: "https://hdl.handle.net/20.500.11919/3817" journal: "University of Wyoming Honors Program" location: "Laramie, Wyoming" --- diff --git a/content/academia/how-to-build-a-cow-cud-fuel-cell.md b/content/academia/how-to-build-a-cow-cud-fuel-cell.md index e3c3e13..10c63a5 100644 --- a/content/academia/how-to-build-a-cow-cud-fuel-cell.md +++ b/content/academia/how-to-build-a-cow-cud-fuel-cell.md @@ -10,5 +10,5 @@ authors: journal: "Idaho INBRE Summer Research Conference" location: "Moscow, Idaho" awards: - - '3rd Place Fast-Pitch Science Presentation Contest' + - "3rd Place Fast-Pitch Science Presentation Contest" --- diff --git a/content/academia/metagenomics/index.md b/content/academia/metagenomics/index.md index aa40eb8..5d20862 100644 --- a/content/academia/metagenomics/index.md +++ b/content/academia/metagenomics/index.md @@ -15,11 +15,11 @@ authors: - Kathy J. Austin - Kristi M. Cammack - Hannah C. Cunningham-Hollinger -link: '/academia/metagenomics/metagenomics_analysis_of_rumen_populations.pdf' +link: "/academia/metagenomics/metagenomics_analysis_of_rumen_populations.pdf" journal: "Westion Section American Society of Animal Science Annual Meeting" location: "Boise, Idaho" awards: - - '1st Place Undergraduate Poster Competition' + - "1st Place Undergraduate Poster Competition" --- Early colonization of the rumen microbiome is critical to host health and long diff --git a/content/academia/pva-aiche/index.md b/content/academia/pva-aiche/index.md index a017ec0..61fe4ad 100644 --- a/content/academia/pva-aiche/index.md +++ b/content/academia/pva-aiche/index.md @@ -21,7 +21,7 @@ authors: journal: "AIChE Annual Meeting" location: "Pittsburgh, Pennsylvania" awards: - - '3rd Place Environmental III Division Undergraduate Poster Competition' + - "3rd Place Environmental III Division Undergraduate Poster Competition" link: /academia/pva-aiche/measuring_diffusion_of_trichloroethylene.pdf --- diff --git a/content/academia/thesis.md b/content/academia/thesis.md index cb21f2e..28c11f0 100644 --- a/content/academia/thesis.md +++ b/content/academia/thesis.md @@ -13,7 +13,7 @@ keywords: type: thesis authors: - Thomas A. Christensen II -link: 'https://www.proquest.com/dissertations-theses/polyoxometalate-incorporation-effects-on-proton/docview/2502214356/se-2' +link: "https://www.proquest.com/dissertations-theses/polyoxometalate-incorporation-effects-on-proton/docview/2502214356/se-2" journal: "University of Idaho" location: "Moscow, Idaho" --- diff --git a/content/contact/_index.html b/content/contact/_index.html index 6f7a680..ea2beec 100644 --- a/content/contact/_index.html +++ b/content/contact/_index.html @@ -4,47 +4,85 @@ cardImage: venice-mailbox motto: Contact Me --- -
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 8a87b7c..fef4eee 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,129 +1,173 @@ - - - - - - - -