git push wip
This commit is contained in:
23
assets/sass/components/_footer.scss
Normal file
23
assets/sass/components/_footer.scss
Normal 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;
|
||||
}
|
137
assets/sass/components/_header.scss
Normal file
137
assets/sass/components/_header.scss
Normal 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;
|
||||
}
|
||||
}
|
52
assets/sass/components/_post.scss
Normal file
52
assets/sass/components/_post.scss
Normal 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;
|
||||
}
|
19
assets/sass/components/_social.scss
Normal file
19
assets/sass/components/_social.scss
Normal 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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user