mirror of
https://github.com/ParkerTenBroeck/ParkerTenBroeck.github.io.git
synced 2026-06-06 21:14:06 -04:00
First
This commit is contained in:
commit
6449151d7a
38 changed files with 779 additions and 0 deletions
8
sass/blog.scss
Normal file
8
sass/blog.scss
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
.blog-page {
|
||||
.title {
|
||||
h1 {
|
||||
font-size: 2.2em;
|
||||
}
|
||||
padding-bottom: 2em;
|
||||
}
|
||||
}
|
||||
9
sass/footer.scss
Normal file
9
sass/footer.scss
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
footer {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
margin: 1em 0;
|
||||
|
||||
border-top-style: solid;
|
||||
border-top-width: 4px;
|
||||
border-top-color: var(--grey);
|
||||
}
|
||||
28
sass/header.scss
Normal file
28
sass/header.scss
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
|
||||
|
||||
header {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
margin: 1em 0;
|
||||
font-size: large;
|
||||
|
||||
.title * {
|
||||
font-size: xx-large;
|
||||
|
||||
|
||||
text-decoration-color: var(--primary)!important;
|
||||
&:hover {
|
||||
text-decoration-color: var(--grey)!important;
|
||||
}
|
||||
}
|
||||
|
||||
nav {
|
||||
a {
|
||||
margin-right: 0.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
padding-bottom: 1em;
|
||||
}
|
||||
|
||||
87
sass/style.scss
Normal file
87
sass/style.scss
Normal file
|
|
@ -0,0 +1,87 @@
|
|||
@use "theme.scss";
|
||||
@use "header.scss";
|
||||
@use "footer.scss";
|
||||
@use "blog.scss";
|
||||
|
||||
body {
|
||||
background: var(--bg-0);
|
||||
color: var(--fg-1);
|
||||
|
||||
font-size: 16px;
|
||||
line-height: 1.6em;
|
||||
letter-spacing: .5px;
|
||||
}
|
||||
|
||||
.content {
|
||||
margin-bottom: 4em;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
max-width: 800px;
|
||||
padding: 0 0.5em;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 978px) {
|
||||
.content {
|
||||
margin-left: 4rem;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--fg-0);
|
||||
font-weight: bold;
|
||||
|
||||
text-decoration: underline;
|
||||
text-decoration-thickness: 0.30ex;
|
||||
text-decoration-color: var(--grey);
|
||||
|
||||
&:hover {
|
||||
text-decoration-color: var(--primary);
|
||||
}
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
color: var(--fg-0);
|
||||
font-weight: bold;
|
||||
margin-top: 2em;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.4rem;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
h6 {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
code {
|
||||
background: var(--bg-1);
|
||||
border-radius: 3px;
|
||||
font-family: 'Berkeley Mono';
|
||||
padding: .15rem .3rem;
|
||||
}
|
||||
|
||||
time {
|
||||
padding-bottom: 1em;
|
||||
color: var(--fg-2);
|
||||
}
|
||||
14
sass/theme.scss
Normal file
14
sass/theme.scss
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
|
||||
|
||||
:root {
|
||||
--bg-0: #1d1d1d;
|
||||
--bg-1: #131313;
|
||||
|
||||
--grey: #777;
|
||||
|
||||
--fg-0: #eee;
|
||||
--fg-1: #ccc;
|
||||
--fg-2: #999;
|
||||
|
||||
--primary: #daa520
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue