html {
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";
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;
}
.container {
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;
}
.header > .title {
width: 6rem;
}
.header > .title > a {
font-size: 2.2rem;
letter-spacing: 0.2rem;
line-height: 2.4rem;
}
.header > .description {
display: flex;
flex-direction: column;
align-items: flex-end;
font-size: 0.9rem;
}
.header > .description > .socials {
display: flex;
justify-content: flex-end;
}
.header > .description > .socials > a {
font-size: 1rem;
margin-left: 0.5rem;
cursor: pointer;
}
main {
display: flex;
flex-wrap: nowrap;
flex-direction: column;
align-items: center;
width: 52rem;
margin-top: 4rem;
padding-bottom: 3rem;
}
main > .index,
main > .archives,
main > .categories,
main > .category,
main > .links,
main > .post,
main > .tag,
main > .journals {
width: 45rem;
padding: 1rem 0.1rem 1rem 0.1rem;
}
main .index > h1 > a {
letter-spacing: 0.0625rem;
font-size: 1.375rem;
line-height: 1.75rem;
}
main .index > p {
line-height: 1.5rem;
text-indent: 2rem;
}
main .index > .info {
display: flex;
justify-content: flex-end;
flex-wrap: wrap;
flex-direction: row;
padding: 0.5rem 0 2rem 0;
}
main .index > .info > .date,
main .index > .info .tag {
font-weight: 400;
font-size: 0.75rem;
margin: 0 0.5rem;
}
main .index > .info > .date > i,
main .index > .info .tag > i {
position: relative;
top: 0.1rem;
}
main .index > .info > .date > a,
main .index > .info .tag > a {
font-size: 0.75rem;
}
main .archives > ul {
padding: 0.625rem 0.1rem;
}
main .archives > ul > .year {
font-size: 1.5rem;
font-weight: bold;
line-height: 2.2rem;
padding: 0.5rem 0;
}
main .archives > ul > li {
display: flex;
justify-content: space-between;
font-size: 0.875rem;
padding-bottom: 0.3rem;
line-height: 1.75rem;
}
main .categories, main .tags {
margin: 5rem 0;
}
main .categories > ul, main .tags > ul {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
align-content: center;
flex-wrap: wrap;
}
main .categories > ul > li, main .tags > ul > li {
margin: 0.5rem 1rem;
font-size: 1rem;
}
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;
font-weight: bold;
line-height: 2.2rem;
padding: 0.5rem 0;
}
main .category > ul > li, main .tag > ul > li {
display: flex;
justify-content: space-between;
font-size: 0.875rem;
padding-bottom: 0.3rem;
line-height: 1.75rem;
}
main .links > ul {
padding: 0.625rem 0.1rem;
}
main .links > ul > .friend {
font-size: 1.5rem;
font-weight: bold;
line-height: 2.2rem;
padding: 0.5rem 0;
}
main .links > ul > li {
display: flex;
justify-content: space-between;
font-size: 1rem;
padding-bottom: 0.3rem;
line-height: 1.5rem;
}
main .post > .title {
margin-top: 4rem;
}
main .post > .title > h1 > a {
letter-spacing: 0.0625rem;
font-size: 2rem;
line-height: 2rem;
}
main .post > .title > .info {
padding-bottom: 1rem;
margin-bottom: 1rem;
}
main .post > .title > .info > span {
margin: 0 0.25rem;
font-weight: 400;
font-size: 0.75rem;
}
main .post > .title > .info > span i {
position: relative;
top: 0.125rem;
}
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;
font-weight: 400;
font-size: 0.75rem;
margin: 0 0.5rem;
}
main .journals > ul > li > .option > i {
padding: 0 0.5rem;
}
main .journals > ul > li > .info {
display: flex;
justify-content: flex-end;
font-size: 0.75rem;
}
main .pagenav {
display: flex;
justify-content: space-between;
padding: 2rem 0;
}
main .pagenav > a {
text-decoration: none;
margin: 0 2rem;
}
footer {
padding: 2rem 0;
}
footer .copyright {
font-size: 0.8rem;
}
footer .copyright a {
margin: 0 0.125rem;
}
.comment {
width: 47rem;
margin: 1rem 0rem;
padding: 1rem 2.5rem;
}
.close {
display: none;
}
.post-bottom-menu {
display: flex;
justify-content: space-around;
margin-top: 2rem;
padding-top: 2rem;
width: 40rem;
}
/*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*/