feature(archives): Build a archives page draft
This commit is contained in:
@@ -1,14 +1,16 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
// 全局 HTML 配置
|
||||
html {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
|
||||
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
||||
'Noto Color Emoji';
|
||||
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
||||
'Noto Color Emoji';
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
font-variant-numeric: tabular-nums;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
|
||||
// 滚动条
|
||||
html::-webkit-scrollbar {
|
||||
width: 10px;
|
||||
@@ -76,10 +78,11 @@ main {
|
||||
width: 50rem;
|
||||
margin-top: 4rem;
|
||||
|
||||
.post {
|
||||
.post{
|
||||
width: 45rem;
|
||||
padding-top: 1rem;
|
||||
|
||||
}
|
||||
.post > {
|
||||
h1 {
|
||||
a {
|
||||
letter-spacing: 0.0625rem;
|
||||
@@ -126,18 +129,67 @@ main {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 2rem 0 5rem 0;
|
||||
|
||||
}
|
||||
.pagenav > {
|
||||
a {
|
||||
text-decoration: none;
|
||||
margin: 0 2rem;
|
||||
}
|
||||
}
|
||||
|
||||
.archives{
|
||||
width: 45rem;
|
||||
padding-top: 1rem;
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
.archives > {
|
||||
li {
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.year {
|
||||
font-size: 1.4rem;
|
||||
font-weight: 600;
|
||||
line-height: 2.2rem;
|
||||
letter-spacing: 0.1rem;
|
||||
padding: 0.625rem 0;
|
||||
}
|
||||
|
||||
.list {
|
||||
margin-bottom: 3rem;
|
||||
line-height: 1.75rem;
|
||||
|
||||
.title{
|
||||
padding-bottom: 0.3rem;
|
||||
|
||||
a {
|
||||
display: inline-block;
|
||||
width: 85%;
|
||||
color: #1f1f1f;
|
||||
}
|
||||
|
||||
.time {
|
||||
float: right;
|
||||
color: #c5c5c5;
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #1f1f1f;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
footer {
|
||||
padding: 2rem 0;
|
||||
|
||||
.copyright {
|
||||
font-size: 0.8rem;
|
||||
|
||||
a {
|
||||
margin: 0 0.125rem;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user