feat: 暗色主题、主题切换按钮
This commit is contained in:
@@ -108,9 +108,12 @@ const {data} = await http.get<ApiResponse<Archive>>("posts/archives");
|
||||
text-overflow: ellipsis;
|
||||
color: var(--text-primary);
|
||||
font-size: 16px;
|
||||
text-underline-offset: 4px;
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
.post-title:hover{
|
||||
color: var(--text-title-hover);
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
|
||||
@@ -94,7 +94,7 @@ const published_at = formatDatetime(data.published_at, "YYYY.MM.DD");
|
||||
h1 {
|
||||
font-size: 28px;
|
||||
line-height: 1.4;
|
||||
font-weight: 400;
|
||||
font-weight: 500;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
@@ -130,6 +130,12 @@ const published_at = formatDatetime(data.published_at, "YYYY.MM.DD");
|
||||
border-radius: 20px;
|
||||
padding: 8px 16px;
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
h1{
|
||||
font-size: 24px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<script>
|
||||
|
||||
Reference in New Issue
Block a user