2021-12-28 17:05:11 +08:00
|
|
|
html {
|
2021-12-31 15:53:37 +08:00
|
|
|
font-family: -apple-system, BlinksMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
2021-12-28 17:05:11 +08:00
|
|
|
font-size: 16px;
|
|
|
|
font-weight: 500;
|
|
|
|
font-variant-numeric: tabular-nums;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
}
|
|
|
|
|
|
|
|
html::-webkit-scrollbar {
|
|
|
|
width: 10px;
|
|
|
|
height: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
html::-webkit-scrollbar-thumb {
|
|
|
|
height: 40px;
|
|
|
|
border-radius: 16px;
|
|
|
|
}
|
|
|
|
|
2022-01-04 17:16:08 +08:00
|
|
|
.container {
|
2021-12-28 17:05:11 +08:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.header {
|
|
|
|
width: 45rem;
|
|
|
|
padding: 7rem 0 3rem 0;
|
|
|
|
-webkit-background-size: cover;
|
|
|
|
background-size: cover;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2021-12-31 15:53:37 +08:00
|
|
|
.header > .title {
|
2021-12-28 17:05:11 +08:00
|
|
|
width: 6rem;
|
|
|
|
}
|
2021-12-31 15:53:37 +08:00
|
|
|
.header > .title > a {
|
2021-12-28 17:05:11 +08:00
|
|
|
font-size: 2.2rem;
|
|
|
|
letter-spacing: 0.2rem;
|
|
|
|
line-height: 2.4rem;
|
|
|
|
}
|
2021-12-31 15:53:37 +08:00
|
|
|
.header > .description {
|
2021-12-28 17:05:11 +08:00
|
|
|
font-size: 0.9rem;
|
|
|
|
}
|
2021-12-31 15:53:37 +08:00
|
|
|
.header > .description > .socials {
|
2021-12-28 17:05:11 +08:00
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
2021-12-31 15:53:37 +08:00
|
|
|
.header > .description > .socials > a {
|
2021-12-28 17:05:11 +08:00
|
|
|
font-size: 1rem;
|
|
|
|
margin-left: 0.5rem;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
main {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
2021-12-31 15:53:37 +08:00
|
|
|
width: 52rem;
|
2021-12-28 17:05:11 +08:00
|
|
|
margin-top: 4rem;
|
2021-12-31 15:53:37 +08:00
|
|
|
padding-bottom: 3rem;
|
|
|
|
}
|
|
|
|
main > .index,
|
|
|
|
main > .archives,
|
|
|
|
main > .categories,
|
|
|
|
main > .category,
|
|
|
|
main > .links,
|
|
|
|
main > .post,
|
2022-01-04 17:16:08 +08:00
|
|
|
main > .tag,
|
|
|
|
main > .journals {
|
2021-12-28 17:05:11 +08:00
|
|
|
width: 45rem;
|
2021-12-31 15:53:37 +08:00
|
|
|
padding: 1rem 0.1rem 1rem 0.1rem;
|
2021-12-28 17:05:11 +08:00
|
|
|
}
|
2021-12-31 15:53:37 +08:00
|
|
|
main .index > h1 > a {
|
2021-12-28 17:05:11 +08:00
|
|
|
letter-spacing: 0.0625rem;
|
|
|
|
font-size: 1.375rem;
|
|
|
|
line-height: 1.75rem;
|
|
|
|
}
|
2021-12-31 15:53:37 +08:00
|
|
|
main .index > p {
|
2021-12-28 17:05:11 +08:00
|
|
|
line-height: 1.5rem;
|
|
|
|
text-indent: 2rem;
|
|
|
|
}
|
2021-12-31 15:53:37 +08:00
|
|
|
main .index > .info {
|
2021-12-28 17:05:11 +08:00
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
flex-direction: row;
|
|
|
|
padding: 0.5rem 0 2rem 0;
|
|
|
|
}
|
2021-12-31 15:53:37 +08:00
|
|
|
main .index > .info > .date,
|
|
|
|
main .index > .info .tag {
|
2021-12-28 17:05:11 +08:00
|
|
|
font-weight: 400;
|
|
|
|
font-size: 0.75rem;
|
2021-12-31 15:53:37 +08:00
|
|
|
margin: 0 0.5rem;
|
|
|
|
}
|
|
|
|
main .index > .info > .date > i,
|
|
|
|
main .index > .info .tag > i {
|
|
|
|
position: relative;
|
|
|
|
top: 0.1rem;
|
2021-12-28 17:05:11 +08:00
|
|
|
}
|
2021-12-31 15:53:37 +08:00
|
|
|
main .index > .info > .date > a,
|
|
|
|
main .index > .info .tag > a {
|
2021-12-28 17:05:11 +08:00
|
|
|
font-size: 0.75rem;
|
|
|
|
}
|
2021-12-31 15:53:37 +08:00
|
|
|
main .archives > ul {
|
|
|
|
padding: 0.625rem 0.1rem;
|
2021-12-28 17:05:11 +08:00
|
|
|
}
|
2021-12-31 15:53:37 +08:00
|
|
|
main .archives > ul > .year {
|
|
|
|
font-size: 1.5rem;
|
|
|
|
font-weight: bold;
|
|
|
|
line-height: 2.2rem;
|
|
|
|
padding: 0.5rem 0;
|
2021-12-28 17:05:11 +08:00
|
|
|
}
|
2021-12-31 15:53:37 +08:00
|
|
|
main .archives > ul > li {
|
2021-12-28 17:05:11 +08:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2021-12-31 15:53:37 +08:00
|
|
|
font-size: 0.875rem;
|
|
|
|
padding-bottom: 0.3rem;
|
|
|
|
line-height: 1.75rem;
|
2021-12-28 17:05:11 +08:00
|
|
|
}
|
2021-12-31 15:53:37 +08:00
|
|
|
main .categories, main .tags {
|
|
|
|
margin: 5rem 0;
|
2021-12-28 17:05:11 +08:00
|
|
|
}
|
2021-12-31 15:53:37 +08:00
|
|
|
main .categories > ul, main .tags > ul {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
align-content: center;
|
|
|
|
flex-wrap: wrap;
|
2021-12-28 17:47:49 +08:00
|
|
|
}
|
2021-12-31 15:53:37 +08:00
|
|
|
main .categories > ul > li, main .tags > ul > li {
|
|
|
|
margin: 0.5rem 1rem;
|
|
|
|
font-size: 1rem;
|
2021-12-28 17:47:49 +08:00
|
|
|
}
|
2021-12-31 15:53:37 +08:00
|
|
|
main .categories > ul .count, main .tags > ul .count {
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
top: -0.5rem;
|
|
|
|
right: -0.125rem;
|
|
|
|
font-size: 0.75rem;
|
|
|
|
}
|
|
|
|
main .category > ul, main .tag > ul {
|
|
|
|
padding: 0.625rem 0.1rem;
|
|
|
|
}
|
|
|
|
main .category > ul > .name, main .tag > ul > .name {
|
|
|
|
font-size: 1.5rem;
|
2021-12-29 17:46:17 +08:00
|
|
|
font-weight: bold;
|
2021-12-28 17:47:49 +08:00
|
|
|
line-height: 2.2rem;
|
2021-12-31 15:53:37 +08:00
|
|
|
padding: 0.5rem 0;
|
2021-12-28 17:47:49 +08:00
|
|
|
}
|
2021-12-31 15:53:37 +08:00
|
|
|
main .category > ul > li, main .tag > ul > li {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
font-size: 0.875rem;
|
2021-12-28 17:47:49 +08:00
|
|
|
padding-bottom: 0.3rem;
|
2021-12-29 17:46:17 +08:00
|
|
|
line-height: 1.75rem;
|
2021-12-28 17:47:49 +08:00
|
|
|
}
|
2021-12-31 15:53:37 +08:00
|
|
|
main .links > ul {
|
|
|
|
padding: 0.625rem 0.1rem;
|
2021-12-28 17:47:49 +08:00
|
|
|
}
|
2021-12-31 15:53:37 +08:00
|
|
|
main .links > ul > .friend {
|
|
|
|
font-size: 1.5rem;
|
|
|
|
font-weight: bold;
|
|
|
|
line-height: 2.2rem;
|
|
|
|
padding: 0.5rem 0;
|
2021-12-28 17:47:49 +08:00
|
|
|
}
|
2021-12-31 15:53:37 +08:00
|
|
|
main .links > ul > li {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
font-size: 1rem;
|
|
|
|
padding-bottom: 0.3rem;
|
|
|
|
line-height: 1.5rem;
|
2021-12-29 17:46:17 +08:00
|
|
|
}
|
2021-12-31 15:53:37 +08:00
|
|
|
main .post > .title {
|
|
|
|
margin-top: 4rem;
|
2021-12-29 17:46:17 +08:00
|
|
|
}
|
2021-12-31 15:53:37 +08:00
|
|
|
main .post > .title > h1 > a {
|
|
|
|
color: black;
|
|
|
|
letter-spacing: 0.0625rem;
|
|
|
|
font-size: 2rem;
|
|
|
|
line-height: 2rem;
|
2021-12-29 17:46:17 +08:00
|
|
|
}
|
2021-12-31 15:53:37 +08:00
|
|
|
main .post > .title > .info {
|
|
|
|
padding-bottom: 1rem;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
border-bottom: 1px solid #f3f3f3;
|
|
|
|
}
|
|
|
|
main .post > .title > .info > span {
|
|
|
|
margin: 0 0.25rem;
|
|
|
|
font-weight: 400;
|
|
|
|
font-size: 0.75rem;
|
|
|
|
color: rgba(0, 0, 0, 0.65);
|
|
|
|
}
|
|
|
|
main .post > .title > .info > span i {
|
2021-12-29 17:46:17 +08:00
|
|
|
position: relative;
|
2021-12-31 15:53:37 +08:00
|
|
|
top: 0.125rem;
|
|
|
|
color: rgba(0, 0, 0, 0.85);
|
|
|
|
}
|
2022-01-04 17:16:08 +08:00
|
|
|
main .journals > .name {
|
|
|
|
font-size: 1.5rem;
|
|
|
|
font-weight: bold;
|
|
|
|
line-height: 2.2rem;
|
|
|
|
padding: 0.5rem 0;
|
|
|
|
}
|
|
|
|
main .journals > ul > li {
|
|
|
|
padding: 1rem 0.1rem;
|
|
|
|
}
|
|
|
|
main .journals > ul > li > .content {
|
|
|
|
padding: 0.25rem 0.25rem;
|
|
|
|
font-size: 1rem;
|
|
|
|
}
|
|
|
|
main .journals > ul > li > .option {
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
|
|
|
color: rgba(0, 0, 0, 0.65);
|
|
|
|
font-weight: 400;
|
|
|
|
font-size: 0.75rem;
|
|
|
|
margin: 0 0.5rem;
|
|
|
|
}
|
|
|
|
main .journals > ul > li > .option > i {
|
|
|
|
padding: 0 0.5rem;
|
|
|
|
}
|
2021-12-31 15:53:37 +08:00
|
|
|
main .pagenav {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
padding: 2rem 0;
|
|
|
|
}
|
|
|
|
main .pagenav > a {
|
|
|
|
text-decoration: none;
|
|
|
|
margin: 0 2rem;
|
2021-12-28 17:47:49 +08:00
|
|
|
}
|
2021-12-28 17:05:11 +08:00
|
|
|
|
|
|
|
footer {
|
|
|
|
padding: 2rem 0;
|
|
|
|
}
|
|
|
|
footer .copyright {
|
|
|
|
font-size: 0.8rem;
|
|
|
|
}
|
|
|
|
footer .copyright a {
|
|
|
|
margin: 0 0.125rem;
|
|
|
|
}
|
|
|
|
|
2022-01-04 17:16:08 +08:00
|
|
|
.menu {
|
|
|
|
position: fixed;
|
|
|
|
right: 0.5rem;
|
|
|
|
bottom: 10rem;
|
|
|
|
}
|
|
|
|
|
2021-12-28 17:05:11 +08:00
|
|
|
/*animation starts*/
|
|
|
|
@-webkit-keyframes fadeInDown {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
-webkit-transform: translateY(-3px);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
-webkit-transform: translateY(0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@-moz-keyframes fadeInDown {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
-moz-transform: translateY(-3px);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
-moz-transform: translateY(0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@-o-keyframes fadeInDown {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
-o-transform: translateY(-3px);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
-o-transform: translateY(0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@keyframes fadeInDown {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
transform: translateY(-3px);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
transform: translateY(0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/*animation ends*/
|