2024-05-06 12:00:46 +08:00
|
|
|
.post--single {
|
|
|
|
max-width: 678px;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
&__title {
|
|
|
|
font-size: 32px;
|
|
|
|
font-weight: bold;
|
|
|
|
line-height: 1.5;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__meta {
|
|
|
|
font-size: 14px;
|
|
|
|
color: var(--farallon-text-gray);
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
svg {
|
|
|
|
margin-right: 4px;
|
|
|
|
fill: var(--farallon-text-gray-lightest);
|
|
|
|
margin-left: 10px;
|
|
|
|
&:first-child {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__copyright {
|
|
|
|
color: var(--farallon-text-gray);
|
|
|
|
}
|
|
|
|
|
|
|
|
&__action {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
padding: 20px 0;
|
|
|
|
.button--like {
|
|
|
|
svg {
|
|
|
|
fill: var(--farallon-text-gray);
|
|
|
|
}
|
|
|
|
&:hover,
|
|
|
|
&.is-active {
|
|
|
|
svg {
|
|
|
|
fill: var(--jl-hover-color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__related {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(2, 1fr);
|
|
|
|
grid-gap: 20px;
|
|
|
|
padding-top: 10px;
|
|
|
|
&__item {
|
|
|
|
padding: 10px;
|
|
|
|
border: 1px solid var(--farallon-border-color);
|
|
|
|
border-radius: 10px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
.cover {
|
|
|
|
border-radius: 8px;
|
|
|
|
width: 100%;
|
|
|
|
height: 160px;
|
|
|
|
object-fit: cover;
|
|
|
|
}
|
|
|
|
&__title {
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: bold;
|
|
|
|
line-height: 1.4;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
background-color: #fafafa;
|
|
|
|
background: linear-gradient(
|
|
|
|
89.99999999999999deg,
|
|
|
|
rgba(255, 233, 244, 0.3) 0%,
|
|
|
|
rgba(234, 243, 255, 0.5) 100%
|
|
|
|
);
|
|
|
|
}
|
|
|
|
.meta {
|
|
|
|
font-size: 12px;
|
|
|
|
color: var(--farallon-text-gray);
|
|
|
|
line-height: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 768px) {
|
|
|
|
.post--single {
|
|
|
|
&__title {
|
|
|
|
font-size: 28px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.author--card {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
padding: 30px 0;
|
|
|
|
border-top: 1px solid var(--farallon-border-color);
|
|
|
|
margin-top: 20px;
|
|
|
|
.avatar {
|
|
|
|
border-radius: 100%;
|
|
|
|
}
|
|
|
|
.author--name {
|
|
|
|
font-weight: bold;
|
|
|
|
margin-top: 10px;
|
|
|
|
font-size: 18px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.author--description {
|
|
|
|
font-size: 14px;
|
|
|
|
color: var(--farallon-text-gray);
|
|
|
|
}
|
|
|
|
|
|
|
|
.author--sns {
|
|
|
|
margin-top: 12px;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
a {
|
|
|
|
margin: 0 10px 0 0;
|
|
|
|
&:last-child {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
svg {
|
|
|
|
fill: var(--farallon-text-color);
|
|
|
|
&:hover {
|
|
|
|
fill: var(--farallon-hover-color);
|
|
|
|
}
|
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
&.sns {
|
|
|
|
fill: none;
|
|
|
|
stroke: var(--farallon-text-color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.tag--list {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
padding: 15px 0 5px;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
a {
|
|
|
|
margin-right: 10px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
background: #f2f4f6;
|
|
|
|
font-size: 14px;
|
|
|
|
padding: 2px 12px;
|
|
|
|
border-radius: 5px;
|
|
|
|
color: var(--farallon-text-gray);
|
|
|
|
&:hover {
|
|
|
|
background-color: #e0e0e0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.related--posts__title {
|
|
|
|
font-size: 18px;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
.related--content {
|
|
|
|
padding-top: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toc {
|
|
|
|
font-size: 14px;
|
|
|
|
padding: 10px 15px;
|
|
|
|
background-color: var(--farallon-background-gray);
|
|
|
|
border-radius: 10px;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
summary {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
&-title {
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
ul {
|
|
|
|
padding-left: 10px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
li {
|
|
|
|
&::before {
|
|
|
|
content: "·";
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
& > ul {
|
|
|
|
margin-left: 10px;
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.translatedCard {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
font-size: 14px;
|
|
|
|
h4 {
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
ul {
|
|
|
|
list-style: square;
|
|
|
|
margin-left: 30px;
|
|
|
|
li {
|
|
|
|
a {
|
|
|
|
text-decoration: underline;
|
|
|
|
&:hover {
|
|
|
|
color: var(--farallon-hover-color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-05-06 16:34:08 +08:00
|
|
|
|
|
|
|
.category--card {
|
|
|
|
padding: 15px 0;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
&__list {
|
|
|
|
border-top: 1px solid var(--farallon-border-color-light);
|
|
|
|
}
|
|
|
|
&__image {
|
|
|
|
img {
|
|
|
|
border-radius: 4px;
|
|
|
|
height: 64px;
|
|
|
|
object-fit: cover;
|
|
|
|
width: 64px;
|
|
|
|
// border: 1px solid var(--farallon-border-color);
|
|
|
|
}
|
|
|
|
margin-right: 15px;
|
|
|
|
width: 64px;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
&__content {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
.category--card__title {
|
|
|
|
color: var(--farallon-hover-color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&__title {
|
|
|
|
font-size: 18px;
|
|
|
|
font-weight: bold;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
line-height: 1;
|
|
|
|
}
|
|
|
|
&__description {
|
|
|
|
font-size: 14px;
|
|
|
|
color: var(--farallon-text-gray);
|
|
|
|
line-height: 1.2;
|
|
|
|
}
|
|
|
|
|
|
|
|
& + & {
|
|
|
|
position: relative;
|
|
|
|
&::before {
|
|
|
|
position: absolute;
|
|
|
|
left: 15px;
|
|
|
|
right: 15px;
|
|
|
|
top: 0;
|
|
|
|
height: 1px;
|
|
|
|
background-color: var(--farallon-border-color-light);
|
|
|
|
content: "";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 768px) {
|
|
|
|
.author--card {
|
|
|
|
padding: 20px 0;
|
|
|
|
}
|
|
|
|
.category--card {
|
|
|
|
padding: 12px 0;
|
|
|
|
&__image {
|
|
|
|
width: 48px;
|
|
|
|
img {
|
|
|
|
height: 48px;
|
|
|
|
width: 48px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&__title {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
&__description {
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|