removed resources directory (not source code) and added it to .gitignore; moved scss files one level up
This commit is contained in:
parent
6cf10d85cd
commit
24f0f9dc20
36 changed files with 7 additions and 1416 deletions
65
assets/_default/list.scss
Normal file
65
assets/_default/list.scss
Normal file
|
@ -0,0 +1,65 @@
|
|||
@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);
|
||||
}
|
||||
}
|
||||
@media (max-width: 600px) {
|
||||
.section-articles {
|
||||
grid-template-columns: repeat(1, 1fr);
|
||||
}
|
||||
}
|
91
assets/_default/single.scss
Normal file
91
assets/_default/single.scss
Normal file
|
@ -0,0 +1,91 @@
|
|||
@import '../partials/main';
|
||||
@import '../partials/nav';
|
||||
|
||||
.section-article {
|
||||
article {
|
||||
max-width: 720px;
|
||||
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;
|
||||
}
|
||||
aside {
|
||||
margin-top: 80px;
|
||||
.tags {
|
||||
display: flex;
|
||||
list-style: none;
|
||||
margin-left: -10px;
|
||||
padding: 0;
|
||||
li {
|
||||
background: rgb(60, 60, 90);
|
||||
padding: 5px 10px;
|
||||
border-radius: 5px;
|
||||
margin-left: 10px;
|
||||
a {
|
||||
color: rgb(180, 180, 220);
|
||||
}
|
||||
a:hover {
|
||||
background: rgb(70, 70, 105);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.section-articles {
|
||||
margin: 20px auto -50px auto;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
grid-gap: 1rem;
|
||||
max-width: 720px;
|
||||
article {
|
||||
color: rgb(255, 255, 255);
|
||||
margin: 20px 0;
|
||||
border-radius: 5px;
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
height: max-content;
|
||||
transition: background .2s;
|
||||
a {
|
||||
margin: 10px 0;
|
||||
}
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
.previous-article {
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
.section-articles::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
width: 100vw;
|
||||
background: rgb(50, 50, 75);
|
||||
height: 230px;
|
||||
left: 0;
|
||||
z-index: -10;
|
||||
}
|
||||
|
||||
@import '../partials/footer';
|
Loading…
Add table
Add a link
Reference in a new issue