Finish basic site
This commit is contained in:
parent
8c6dc0c101
commit
9f9260180c
6
content/posts/another-one.md
Normal file
6
content/posts/another-one.md
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
title: "Another One"
|
||||||
|
date: 2023-09-05T19:35:11-04:00
|
||||||
|
draft: false
|
||||||
|
---
|
||||||
|
|
@ -22,13 +22,7 @@
|
|||||||
"value": "Software Architecture"
|
"value": "Software Architecture"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"value": "Front End Development"
|
"value": "Web Development"
|
||||||
},
|
|
||||||
{
|
|
||||||
"value": "Back End Development"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"value": "Web Design"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"value": "Welding"
|
"value": "Welding"
|
||||||
@ -46,7 +40,7 @@
|
|||||||
"value": "Philosophy"
|
"value": "Philosophy"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"value": "Ham Radio (CQCQCQ KE8TIZ CQCQCQ)"
|
"value": "Ham Radio (CQCQCQ KE8TIZ QRK?)"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"value": "Chemistry"
|
"value": "Chemistry"
|
||||||
@ -66,20 +60,11 @@
|
|||||||
{
|
{
|
||||||
"value": "Homesteading"
|
"value": "Homesteading"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"value": "Self-Sufficiency"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"value": "Embedded Systems"
|
"value": "Embedded Systems"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"value": "Computer Engineering"
|
"value": "Computer Engineering"
|
||||||
},
|
|
||||||
{
|
|
||||||
"value": "Artifical Intelligence (Language Models)"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"value": "Cryptocurrencies (Monero)"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="homepage-card">
|
<div class="homepage-card">
|
||||||
<div>
|
<div>
|
||||||
<h1 data-show="about-description" data-value="uname -a" class="typewriter card-title">~ $ </h1>
|
<h4 data-show="about-description" data-value="uname -a" class="typewriter card-title">~ $ </h1>
|
||||||
<br/>
|
<br/>
|
||||||
<small>AKA About for non-nerds</small>
|
<small>AKA About for non-nerds</small>
|
||||||
</div>
|
</div>
|
||||||
@ -21,29 +21,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="mini-terminal">
|
<div class="mini-terminal">
|
||||||
<p data-show="about-interests" data-value="cat interests.txt | less" class="typewriter">~ $ </p>
|
<p data-show="about-interests" data-value="cat interests.txt | less" class="typewriter">~ $ </p>
|
||||||
<div id="about-interests">
|
<div id="about-interests" class="terminal-contents">
|
||||||
{{ range .Site.Data.index.About.Interests }}
|
|
||||||
<p class="terminal-text" data-value="{{ .value }}"></p>
|
|
||||||
{{ end }}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="homepage-card">
|
|
||||||
<div>
|
|
||||||
<h1 data-show="about-description" data-value="uname -a" class="typewriter card-title">~ $ </h1>
|
|
||||||
<small>AKA About for non-nerds</small>
|
|
||||||
</div>
|
|
||||||
<div class="about-grid">
|
|
||||||
<div id="about-description" class="about-description">
|
|
||||||
{{ range .Site.Data.index.About.Content }}
|
|
||||||
<p data-value="{{ .value }}"></p>
|
|
||||||
{{ end }}
|
|
||||||
</div>
|
|
||||||
<div class="mini-terminal">
|
|
||||||
<p data-show="about-interests" data-value="cat interests.txt | less" class="typewriter">~ $ </p>
|
|
||||||
<div id="about-interests">
|
|
||||||
{{ range .Site.Data.index.About.Interests }}
|
{{ range .Site.Data.index.About.Interests }}
|
||||||
<p class="terminal-text" data-value="{{ .value }}"></p>
|
<p class="terminal-text" data-value="{{ .value }}"></p>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -22,7 +22,7 @@ body {
|
|||||||
background-color: rgba(11,11,12,1);
|
background-color: rgba(11,11,12,1);
|
||||||
}
|
}
|
||||||
|
|
||||||
h1, h2, h3, h4 {
|
h1, h2, h3 {
|
||||||
font-family: 'Hermit', Helvetica, Arial, sans-serif;
|
font-family: 'Hermit', Helvetica, Arial, sans-serif;
|
||||||
font-size: 56px;
|
font-size: 56px;
|
||||||
line-height: 80px;
|
line-height: 80px;
|
||||||
@ -30,6 +30,15 @@ h1, h2, h3, h4 {
|
|||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h4 {
|
||||||
|
font-family: 'Hermit', Helvetica, Arial, sans-serif;
|
||||||
|
font-size: 40px;
|
||||||
|
line-height: 60px;
|
||||||
|
text-shadow: 1px 1px 1px grey;
|
||||||
|
color: white;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
p, a, li, tr, td, span, noscript, figcaption {
|
p, a, li, tr, td, span, noscript, figcaption {
|
||||||
font-family: 'Hermit', Helvetica, Arial, sans-serif;
|
font-family: 'Hermit', Helvetica, Arial, sans-serif;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
@ -61,11 +70,7 @@ html {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.dashed-bottom {
|
.dashed-bottom {
|
||||||
border-bottom: 5px dashed white;
|
border-bottom: 5px solid rgba(11,11,12,1);
|
||||||
}
|
|
||||||
|
|
||||||
.light-dashed-bottom {
|
|
||||||
border-bottom: 2px dashed #e6e6e6;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.intro-content {
|
.intro-content {
|
||||||
@ -84,15 +89,15 @@ html {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.homepage-card {
|
.homepage-card {
|
||||||
height: calc(100vh - 6vh);
|
height: calc(70vh - 6vh);
|
||||||
width: calc(100vw - 6vw);
|
width: calc(100vw - 6vw);
|
||||||
padding: 1vh 1vw;
|
padding: 1vh 1vw;
|
||||||
padding-top: 2vh;
|
padding-top: 2vh;
|
||||||
background-color: rgba(11,11,12,0.4);
|
background-color: rgba(11,11,12,0.4);
|
||||||
corner-radius: 10px;
|
corner-radius: 10px;
|
||||||
margin: 2vh 2vw;
|
margin: 2vh 2vw;
|
||||||
display: grid;
|
display: flex;
|
||||||
grid-template-rows: auto 1fr;
|
flex-direction: column;
|
||||||
overflow-y: hidden;
|
overflow-y: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -100,8 +105,10 @@ html {
|
|||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 65% 1fr;
|
grid-template-columns: 65% 1fr;
|
||||||
grid-template-rows: 1fr max-content;
|
grid-template-rows: 1fr max-content;
|
||||||
height: 100%;
|
flex-grow: 1;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
max-height: calc(100% - 100px);
|
||||||
|
overflow-y: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-title {
|
.card-title {
|
||||||
@ -109,7 +116,6 @@ html {
|
|||||||
margin: 10px;
|
margin: 10px;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
padding-right: 10px;
|
padding-right: 10px;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.about-description {
|
.about-description {
|
||||||
@ -129,10 +135,15 @@ html {
|
|||||||
|
|
||||||
.mini-terminal {
|
.mini-terminal {
|
||||||
background-color: black;
|
background-color: black;
|
||||||
height: 100%;
|
height: calc(100% - 20px);
|
||||||
|
max-height: calc(100% - 20px);
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.terminal-contents {
|
||||||
|
overflow-y: scroll;
|
||||||
|
}
|
||||||
|
|
||||||
.page-header {
|
.page-header {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 50px;
|
padding: 50px;
|
||||||
@ -181,12 +192,12 @@ article a {
|
|||||||
height: 30vh;
|
height: 30vh;
|
||||||
padding-bottom: 25px;
|
padding-bottom: 25px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background: linear-gradient(rgba(11,11,12,1) 0%, rgba(11,11,12,0.9) 50%, rgba(0,0,0,0) 100%);
|
background: linear-gradient(rgba(11,11,12,0) 0%, rgba(11,11,12,0.6) 5%, rgba(0,0,0,0) 100%);
|
||||||
|
transition: background 200ms linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
article a:hover {
|
article a:hover {
|
||||||
background: linear-gradient(rgba(11,11,12,1) 0%, rgba(11,11,12,0.9) 50%, rgba(32,42,68,0.5) 100%);
|
background: black;
|
||||||
transition: 300ms linear;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.post {
|
.post {
|
||||||
@ -243,6 +254,8 @@ figure {
|
|||||||
article a {
|
article a {
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
max-height: 75vh;
|
||||||
|
margin-bottom: 1vh;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
@ -255,4 +268,17 @@ figure {
|
|||||||
background: rgba(22, 22, 22, 0.9);
|
background: rgba(22, 22, 22, 0.9);
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.about-grid {
|
||||||
|
display: grid;
|
||||||
|
grid-template-rows: 60% 40%;
|
||||||
|
grid-template-columns: 100%;
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.about-description {
|
||||||
|
margin: 5px;
|
||||||
|
overflow-y: scroll;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<div class="page-header dashed-bottom">
|
<div class="page-header">
|
||||||
<h1 data-value="Posts" class="typewriter scramble"></h1>
|
<h1 data-value="Posts" class="typewriter scramble"></h1>
|
||||||
<p>Ideas, projects, and other musings.</p>
|
<p>Ideas, projects, and other musings.</p>
|
||||||
</div>
|
</div>
|
||||||
{{ range.Pages }}
|
{{ range.Pages }}
|
||||||
<article class="light-dashed-bottom">
|
<article>
|
||||||
<a href="{{ .Permalink }}">
|
<a href="{{ .Permalink }}">
|
||||||
{{ if .Params.banner }}
|
{{ if .Params.banner }}
|
||||||
<div class="post-list-body-container">
|
<div class="post-list-body-container">
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<div class="page-header dashed-bottom">
|
<div class="page-header">
|
||||||
<h1 data-value="{{ .Title }}" class="scramble">{{ .Title }}</h1>
|
<h1 data-value="{{ .Title }}" class="scramble">{{ .Title }}</h1>
|
||||||
<small class="post-list-date">{{ .Date.Format "January 2, 2006" }}</small>
|
<small class="post-list-date">{{ .Date.Format "January 2, 2006" }}</small>
|
||||||
</div>
|
</div>
|
||||||
|
@ -10,7 +10,7 @@ window.onload = function() {
|
|||||||
let parallax = document.querySelector('.parallax')
|
let parallax = document.querySelector('.parallax')
|
||||||
let scrollPosition = window.pageYOffset;
|
let scrollPosition = window.pageYOffset;
|
||||||
|
|
||||||
let newSize = (document.querySelector('#content').offsetHeight * 0.66);
|
let newSize = (document.querySelector('#content').offsetHeight * 0.8);
|
||||||
if(newSize < window.innerHeight)
|
if(newSize < window.innerHeight)
|
||||||
newSize = window.innerHeight;
|
newSize = window.innerHeight;
|
||||||
parallax.style.height = newSize + "px";
|
parallax.style.height = newSize + "px";
|
||||||
|
Loading…
Reference in New Issue
Block a user