git push wip

This commit is contained in:
2023-03-27 21:49:34 -05:00
commit 630fd021b3
49 changed files with 1146 additions and 0 deletions

47
assets/sass/_global.scss Normal file
View File

@ -0,0 +1,47 @@
@import "./utils/variables";
body {
font-family: $fontParagraph;
color: $white;
background-color: $backgroundDark;
margin: 0;
display: flex;
flex-direction: column;
min-height: 100vh;
}
a {
color: $blue;
&:hover {
color: #fff
}
&:after {
color: $lightblue
}
}
pre code {
font-family: $fontCode;
font-size: 75%;
display: block;
background: $backgroundDarker;
padding: 10px;
overflow: auto;
}
code {
font-family: $fontCode;
font-size: 75%;
}
@for $i from 1 through 6 {
h#{$i} {
font-family: $fontHeader;
}
}
@-ms-viewport{
width: device-width;
}

View File

@ -0,0 +1,23 @@
@import "../utils/variables";
.footer {
padding: 15px;
text-align: center;
background-color: $backgroundDarker;
max-height: 1em;
}
.footerText {
display: flex;
margin: 0 auto;
justify-content: space-between;
max-width: $width;
overflow: hidden;
text-overflow: clip;
font-size: 0.9em;
vertical-align: middle;
}
.footerLink {
color: $white;
}

View File

@ -0,0 +1,137 @@
@import "../utils/variables";
.header {
font-family: $fontHeader;
padding: 0 20px;
height: 60px;
display: flex;
justify-content: space-between;
align-items: center;
width: $width;
}
.headerWrapper {
overflow: auto;
box-sizing: border-box;
background-color: $backgroundDarker;
display: flex;
justify-content: center;
flex-shrink: 0;
}
.headerLinks {
ul {
list-style: none;
padding: 0;
margin: 0;
li {
display: inline;
margin: 5px;
a {
color: $white;
text-decoration: none;
}
}
}
}
.terminal {
color: $white;
text-decoration: none;
display: flex;
gap: 2px;
align-items: center;
}
.terminal::after {
content: "";
width: 5px;
height: 15px;
background: #fff;
display: inline-block;
animation: blinker 1.085s steps(2) infinite;
}
@keyframes blinker {
0% {
opacity: 0;
}
}
.hamb {
cursor: pointer;
float: right;
display: none;
}
.hamb-line {
background: $white;
display: block;
height: 2px;
position: relative;
width: 24px;
} /* Style span tag */
.hamb-line::before,
.hamb-line::after {
background: $white;
content: "";
display: block;
height: 100%;
position: absolute;
transition: all 0.2s ease-out;
width: 100%;
}
.hamb-line::before {
top: 5px;
}
.hamb-line::after {
top: -5px;
}
.side-menu {
display: none;
}
.side-menu:checked ~ .headerLinks {
max-height: 100%;
}
.side-menu:checked ~ .hamb .hamb-line {
background: transparent;
}
.side-menu:checked ~ .hamb .hamb-line::before {
transform: rotate(-45deg);
top: 0;
}
.side-menu:checked ~ .hamb .hamb-line::after {
transform: rotate(45deg);
top: 0;
}
@media screen and (max-width: 768px) {
.headerLinks {
width: 100%;
height: 100%;
position: fixed;
top: 60px;
left: 0;
background-color: $backgroundDark;
overflow: hidden;
max-height: 0;
transition: max-height 0.5s ease-out;
display: flex;
align-items: center;
justify-content: center;
ul {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
}
.hamb {
display: block;
}
}

View File

@ -0,0 +1,52 @@
@import "../utils/variables";
.postDate {
float: right;
color: $white;
}
.postTitle {
color: $blue;
text-decoration: none;
text-transform: capitalize;
font-family: $fontHeader;
font-size: 1.2em;
float: left;
}
.postHeader {
overflow: hidden;
}
.postsList {
margin-top: 20px;
}
.postListItem {
padding: 20px;
background-color: $black;
margin-bottom: 20px;
}
.postExcerpt {
text-align: initial;
text-decoration: none;
color: $white;
}
.headerContainer {
display: flex;
justify-content: space-between;
}
.noDecoration {
text-decoration: none;
}
a,
a:link,
a:visited,
a:hover,
a:active{
text-decoration: none;
}

View File

@ -0,0 +1,19 @@
@import "../utils/variables";
.socialNavbar {
ul {
list-style: none;
padding: 0;
li {
display: inline;
}
}
a {
color: $white;
text-shadow: $black 0px 0px 2px;
-webkit-font-smoothing: antialiased;
display: inline-block;
margin: 10px;
}
}

17
assets/sass/main.scss Normal file
View File

@ -0,0 +1,17 @@
@import "./global";
// utils
@import "./utils/variables";
@import "./utils/fonts";
// components
@import "./components/footer";
@import "./components/header";
@import "./components/post";
@import "./components/social";
// pages
@import "./pages/single";
@import "./pages/list";
@import "./pages/index";
@import "./pages/baseof";

View File

@ -0,0 +1,31 @@
@import "../utils/variables";
.content {
text-align: center;
margin: 0 auto;
flex: 1 auto;
padding: 20px;
@media only screen and (min-width: $breakLarge) {
display: flex;
width: $width;
}
}
.vertical {
display: flex;
flex-direction: column;
justify-content: center;
}
.flexWrapper {
display: flex;
flex-direction: column;
justify-content: center;
min-height: 100vh;
}
.main {
width: 100%;
height: 100%;
}

View File

@ -0,0 +1,9 @@
.indexWrapper {
display: flex;
flex-direction: column;
justify-content: center;
}
.indexHeader {
font-size: 3em;
}

View File

@ -0,0 +1,5 @@
@import "../utils/variables";
.listHeader, .listContent {
text-align: left;
}

View File

@ -0,0 +1,5 @@
@import "../utils/variables";
.postWrapper {
text-align: left;
}

View File

@ -0,0 +1,19 @@
@font-face {
font-family: 'Blogger Sans';
src: url('../fonts/BloggerSans/BloggerSans-Regular.woff2');
src: local('Blogger Sans'),
url('../fonts/BloggerSans/BloggerSans-Regular.woff2') format('woff2');
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'M+ 1m';
src: url('../fonts/MPlus-1m/MPlus-1m-Regular.woff2');
src: local('M+ 1m'),
url('../fonts/MPlus-1m/MPlus-1m-Regular.woff2') format('woff2');
font-weight: normal;
font-style: normal;
font-display: swap;
}

View File

@ -0,0 +1,18 @@
// Colors
$darkGrey: #4C4D4D;
$white: #C8E9EE;
$black: #070809;
$blue: #0F7491;
$lightblue: #40C2D7;
$backgroundDarker: #070809;
$backgroundDark: #101111;
//Fonts
$fontHeader: 'M+ 1m', monospace;
$fontParagraph: 'Blogger Sans', sans-serif;
$fontCode: 'M+ 1m', monospace;
// Content
$breakLarge: 992px;
$width: 760px;