initial commit
This commit is contained in:
commit
ab7f027048
86 changed files with 4742 additions and 0 deletions
60
assets/scss/_default/list.scss
Normal file
60
assets/scss/_default/list.scss
Normal file
|
@ -0,0 +1,60 @@
|
|||
@import '../partials/main';
|
||||
@import '../partials/nav';
|
||||
@import '../partials/footer';
|
||||
|
||||
header {
|
||||
text-align: center;
|
||||
margin: 100px 0;
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
}
|
||||
}
|
||||
|
||||
.section-articles {
|
||||
margin: 20px 0;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
grid-gap: 1rem;
|
||||
a {
|
||||
color: rgb(255, 255, 255);
|
||||
text-decoration: none;
|
||||
}
|
||||
article {
|
||||
background: rgb(60, 60, 90);
|
||||
color: rgb(255, 255, 255);
|
||||
padding: 20px;
|
||||
border-radius: 5px;
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
height: max-content;
|
||||
transition: background .2s;
|
||||
img {
|
||||
order: -1;
|
||||
max-width: calc(100% + 40px);
|
||||
border-radius: 5px;
|
||||
margin: -20px -20px 20px -20px;
|
||||
background: rgb(80, 80, 120);
|
||||
object-fit: cover;
|
||||
max-height: 250px;
|
||||
}
|
||||
h1 {
|
||||
margin-top: 0px;
|
||||
}
|
||||
a {
|
||||
color: rgb(255, 255, 255);
|
||||
}
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
.meta {
|
||||
margin: 0;
|
||||
}
|
||||
.author {
|
||||
font-style: italic;
|
||||
color: rgb(200, 200, 230);
|
||||
}
|
||||
}
|
||||
article:hover {
|
||||
background: rgb(70, 70, 105);
|
||||
}
|
||||
}
|
85
assets/scss/_default/single.scss
Normal file
85
assets/scss/_default/single.scss
Normal file
|
@ -0,0 +1,85 @@
|
|||
@import '../partials/main';
|
||||
@import '../partials/nav';
|
||||
|
||||
.section-article {
|
||||
article {
|
||||
max-width: calc(100% / 3 * 2);
|
||||
margin: 80px auto;
|
||||
.meta {
|
||||
color: rgb(180, 180, 220);
|
||||
}
|
||||
.title {
|
||||
font-size: 2em;
|
||||
margin-top: 20px;
|
||||
}
|
||||
img {
|
||||
max-width: 100%;
|
||||
margin-bottom: 15px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
a {
|
||||
color: rgb(255, 130, 130);
|
||||
transition: background .2s, color .2s;
|
||||
margin: -5px -10px;
|
||||
padding: 5px 10px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
a:hover {
|
||||
background: rgb(255, 130, 130);
|
||||
color: rgb(255, 240, 240);
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.section-articles {
|
||||
margin: 20px auto;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
grid-gap: 1rem;
|
||||
max-width: calc(100% / 3 * 2);
|
||||
a {
|
||||
color: rgb(255, 255, 255);
|
||||
text-decoration: none;
|
||||
}
|
||||
article {
|
||||
background: rgb(60, 60, 90);
|
||||
color: rgb(255, 255, 255);
|
||||
padding: 20px;
|
||||
border-radius: 5px;
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
height: max-content;
|
||||
transition: background .2s;
|
||||
img {
|
||||
order: -1;
|
||||
max-width: calc(100% + 40px);
|
||||
border-radius: 5px;
|
||||
margin: -20px -20px 20px -20px;
|
||||
background: rgb(80, 80, 120);
|
||||
object-fit: cover;
|
||||
max-height: 170px;
|
||||
}
|
||||
h1 {
|
||||
margin-top: 0px;
|
||||
}
|
||||
a {
|
||||
color: rgb(255, 255, 255);
|
||||
}
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
.meta {
|
||||
margin: 0;
|
||||
}
|
||||
.author {
|
||||
font-style: italic;
|
||||
color: rgb(200, 200, 230);
|
||||
}
|
||||
}
|
||||
article:hover {
|
||||
background: rgb(70, 70, 105);
|
||||
}
|
||||
}
|
||||
|
||||
@import '../partials/footer';
|
102
assets/scss/index.scss
Normal file
102
assets/scss/index.scss
Normal file
|
@ -0,0 +1,102 @@
|
|||
@import 'partials/main';
|
||||
@import 'partials/nav';
|
||||
|
||||
header {
|
||||
text-align: center;
|
||||
margin: 150px 0;
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
}
|
||||
}
|
||||
|
||||
.section-articles {
|
||||
margin: 20px 0;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
grid-gap: 1rem;
|
||||
a {
|
||||
color: rgb(255, 255, 255);
|
||||
text-decoration: none;
|
||||
}
|
||||
article {
|
||||
background: rgb(60, 60, 90);
|
||||
color: rgb(255, 255, 255);
|
||||
padding: 20px;
|
||||
border-radius: 5px;
|
||||
display: grid;
|
||||
height: max-content;
|
||||
grid-template-columns: 120px 1fr;
|
||||
grid-template-areas: "img h1"
|
||||
"img p";
|
||||
transition: background .2s;
|
||||
img {
|
||||
object-fit: cover;
|
||||
height: 180px;
|
||||
width: 120px;
|
||||
border-radius: 5px;
|
||||
border: 0px solid rgb(40, 40, 60);
|
||||
grid-area: img;
|
||||
margin: -20px;
|
||||
}
|
||||
h1 {
|
||||
margin: 0px;
|
||||
grid-area: h1;
|
||||
}
|
||||
.meta {
|
||||
margin: 0;
|
||||
grid-area: p;
|
||||
}
|
||||
.author {
|
||||
font-style: italic;
|
||||
color: rgb(200, 200, 230);
|
||||
}
|
||||
}
|
||||
article:hover {
|
||||
background: rgb(70, 70, 105);
|
||||
}
|
||||
}
|
||||
|
||||
.section-projects {
|
||||
margin: 20px 0;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
grid-gap: 1rem;
|
||||
a {
|
||||
color: rgb(255, 255, 255);
|
||||
text-decoration: none;
|
||||
}
|
||||
article {
|
||||
background: rgb(60, 60, 90);
|
||||
color: rgb(255, 255, 255);
|
||||
padding: 20px;
|
||||
border-radius: 5px;
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
height: max-content;
|
||||
transition: background .2s;
|
||||
img {
|
||||
order: -1;
|
||||
max-width: calc(100% + 40px);
|
||||
border-radius: 5px;
|
||||
margin: -20px -20px 20px -20px;
|
||||
background: rgb(80, 80, 120);
|
||||
object-fit: cover;
|
||||
max-height: 170px;
|
||||
}
|
||||
h1 {
|
||||
margin-top: 0;
|
||||
}
|
||||
.meta {
|
||||
margin: 0;
|
||||
}
|
||||
.status {
|
||||
font-style: italic;
|
||||
color: rgb(200, 200, 230);
|
||||
}
|
||||
}
|
||||
article:hover {
|
||||
background: rgb(70, 70, 105);
|
||||
}
|
||||
}
|
||||
|
||||
@import 'partials/footer';
|
25
assets/scss/partials/_footer.scss
Normal file
25
assets/scss/partials/_footer.scss
Normal file
|
@ -0,0 +1,25 @@
|
|||
footer {
|
||||
background: rgb(30, 30, 45);
|
||||
color: rgb(200, 200, 230);
|
||||
margin-top: 100px;
|
||||
.container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
|
||||
.website-subnav {
|
||||
margin-left: auto;
|
||||
ul {
|
||||
display: flex;
|
||||
padding: 0;
|
||||
}
|
||||
li {
|
||||
list-style-type: none;
|
||||
padding: 10px;
|
||||
padding-left: 20px;
|
||||
}
|
||||
a {
|
||||
color: rgb(200, 200, 230);
|
||||
}
|
||||
}
|
24
assets/scss/partials/_main.scss
Normal file
24
assets/scss/partials/_main.scss
Normal file
|
@ -0,0 +1,24 @@
|
|||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
a {
|
||||
color: rgb(255, 130, 130);
|
||||
text-decoration: none;
|
||||
}
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
body {
|
||||
background: rgb(40, 40, 60);
|
||||
color: rgb(240, 240, 255);
|
||||
margin: 0;
|
||||
font-family: Monaco, Lucida Console, monospace;
|
||||
display: grid;
|
||||
}
|
||||
|
||||
.container {
|
||||
width: 100%;
|
||||
max-width: 1140px;
|
||||
margin: 0 auto;
|
||||
}
|
33
assets/scss/partials/_nav.scss
Normal file
33
assets/scss/partials/_nav.scss
Normal file
|
@ -0,0 +1,33 @@
|
|||
nav {
|
||||
background: rgb(60, 60, 90);
|
||||
.container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.website-name {
|
||||
a {
|
||||
color: rgb(245, 245, 245);
|
||||
text-decoration: none;
|
||||
background: rgb(255, 130, 130);
|
||||
padding: 5px 10px;
|
||||
border-radius: 20px;
|
||||
text-shadow: rgb(255, 100, 100) 2px 2px;
|
||||
}
|
||||
}
|
||||
.website-nav {
|
||||
margin-left: auto;
|
||||
ul {
|
||||
display: flex;
|
||||
padding: 0;
|
||||
}
|
||||
li {
|
||||
list-style-type: none;
|
||||
padding: 10px;
|
||||
padding-left: 20px;
|
||||
}
|
||||
a {
|
||||
color: rgb(245, 245, 245);
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
56
assets/scss/projects/list.scss
Normal file
56
assets/scss/projects/list.scss
Normal file
|
@ -0,0 +1,56 @@
|
|||
@import '../partials/main';
|
||||
@import '../partials/nav';
|
||||
|
||||
header {
|
||||
text-align: center;
|
||||
margin: 100px 0;
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
}
|
||||
}
|
||||
|
||||
.section-articles {
|
||||
margin: 20px 0;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
grid-gap: 1rem;
|
||||
a {
|
||||
color: rgb(255, 255, 255);
|
||||
text-decoration: none;
|
||||
}
|
||||
article {
|
||||
background: rgb(60, 60, 90);
|
||||
color: rgb(255, 255, 255);
|
||||
padding: 20px;
|
||||
border-radius: 5px;
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
max-width: 562px;
|
||||
height: max-content;
|
||||
transition: background .2s;
|
||||
img {
|
||||
order: -1;
|
||||
max-width: calc(100% + 40px);
|
||||
border-radius: 5px;
|
||||
margin: -20px -20px 20px -20px;
|
||||
background: rgb(80, 80, 120);
|
||||
object-fit: cover;
|
||||
max-height: 170px;
|
||||
}
|
||||
h1 {
|
||||
margin-top: 0;
|
||||
}
|
||||
p {
|
||||
margin: 0;
|
||||
}
|
||||
.status {
|
||||
font-style: italic;
|
||||
color: rgb(200, 200, 230);
|
||||
}
|
||||
}
|
||||
article:hover {
|
||||
background: rgb(70, 70, 105);
|
||||
}
|
||||
}
|
||||
|
||||
@import '../partials/footer';
|
Loading…
Add table
Add a link
Reference in a new issue