mirror of https://github.com/jkjoy/hugoblog.git
138 lines
2.9 KiB
SCSS
138 lines
2.9 KiB
SCSS
.archive-header {
|
|
padding-top: 30px;
|
|
padding-left: 120px;
|
|
padding-right: 120px;
|
|
h1 {
|
|
font-size: 24px;
|
|
font-weight: bold;
|
|
}
|
|
.taxonomy-description {
|
|
font-size: 18px;
|
|
color: rgba(0, 0, 0, 0.6);
|
|
}
|
|
|
|
& + .site--main {
|
|
padding-top: 30px;
|
|
}
|
|
|
|
&__search {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding-bottom: 20px;
|
|
.search-form {
|
|
border: 1px solid #eee;
|
|
border-radius: 999rem;
|
|
padding: 5px;
|
|
.search-field {
|
|
border: 0;
|
|
background-color: rgba(0, 0, 0, 0);
|
|
padding: 0 15px;
|
|
font-size: 14px;
|
|
width: 250px;
|
|
}
|
|
.search-submit {
|
|
border-radius: 999rem;
|
|
border: 0;
|
|
background: gredient(to right, #007cf0, #00dfd8);
|
|
font-size: 14px;
|
|
color: rgba(0, 0, 0, 0.6);
|
|
padding: 8px 18px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.archive-header {
|
|
padding-left: 3.5%;
|
|
padding-right: 3.5%;
|
|
h1 {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.taxonomy-description {
|
|
font-size: 16px;
|
|
}
|
|
|
|
& + .site--main {
|
|
padding-top: 20px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.page--archive {
|
|
padding-top: 20px;
|
|
padding-left: 80px;
|
|
padding-right: 80px;
|
|
}
|
|
|
|
.archive--title__year {
|
|
font-size: 24px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.archive--title__month {
|
|
font-size: 20x;
|
|
color: var(--farallon-text-gray);
|
|
}
|
|
|
|
.archive--list {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
grid-gap: 20px;
|
|
.archive--item {
|
|
border: 1px solid var(--farallon-border-color-light);
|
|
padding: 15px;
|
|
border-radius: 10px;
|
|
.archive--title {
|
|
line-height: 1.4;
|
|
font-size: 14px;
|
|
}
|
|
.archive--meta {
|
|
font-size: 12px;
|
|
color: rgba(0, 0, 0, 0.6);
|
|
}
|
|
&:hover {
|
|
background-color: #fafafa;
|
|
background: linear-gradient(
|
|
89.99999999999999deg,
|
|
rgba(255, 233, 244, 0.3) 0%,
|
|
rgba(234, 243, 255, 0.5) 100%
|
|
);
|
|
.archive--title {
|
|
color: var(--jl-hover-color);
|
|
}
|
|
}
|
|
}
|
|
padding: 20px 0;
|
|
}
|
|
|
|
@media (max-width: 820px) {
|
|
.page--archive {
|
|
padding-left: 40px;
|
|
padding-right: 40px;
|
|
}
|
|
.archive--list {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.page--archive {
|
|
padding-left: 3.5%;
|
|
padding-right: 3.5%;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 414px) {
|
|
.page--archive {
|
|
padding-left: 3.5%;
|
|
padding-right: 3.5%;
|
|
}
|
|
.archive--list {
|
|
grid-template-columns: repeat(1, 1fr);
|
|
}
|
|
}
|