1000 lines
17 KiB
CSS
1000 lines
17 KiB
CSS
@charset "UTF-8";
|
|
html {
|
|
font-variant-numeric: tabular-nums;
|
|
-webkit-font-smoothing: antialiased;
|
|
font-size: 16px;
|
|
}
|
|
@media (max-width: 870px) {
|
|
html {
|
|
font-size: 18px;
|
|
font-family: -apple-system, BlinksMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
|
font-weight: 500;
|
|
}
|
|
}
|
|
@media (min-width: 870px) and (max-width: 2048px) {
|
|
html {
|
|
font-size: 17px;
|
|
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-weight: 400;
|
|
}
|
|
}
|
|
|
|
[data-font=serif] {
|
|
font-family: -apple-system, BlinksMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
|
font-weight: 500;
|
|
}
|
|
|
|
[data-font=sans] {
|
|
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-weight: 400;
|
|
}
|
|
|
|
html ::-webkit-scrollbar {
|
|
width: 10px;
|
|
height: 10px;
|
|
}
|
|
html ::-webkit-scrollbar-thumb {
|
|
height: 40px;
|
|
border-radius: 16px;
|
|
background-color: #0000003f;
|
|
}
|
|
html ::-webkit-scrollbar-thumb:hover {
|
|
background-color: #0000003f;
|
|
}
|
|
@media (prefers-color-scheme: dark) {
|
|
html ::-webkit-scrollbar-thumb {
|
|
background-color: #3d3030;
|
|
}
|
|
html ::-webkit-scrollbar-thumb:hover {
|
|
background-color: #acacac;
|
|
}
|
|
}
|
|
|
|
body {
|
|
background-color: #f7f7f7;
|
|
color: #333333;
|
|
}
|
|
@media (prefers-color-scheme: dark) {
|
|
body {
|
|
background-color: #3d3d3d;
|
|
color: #a3a3a3;
|
|
}
|
|
}
|
|
|
|
.container {
|
|
display: flex;
|
|
flex-wrap: nowrap;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
main {
|
|
display: flex;
|
|
flex-wrap: nowrap;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
background: #ffffff;
|
|
box-shadow: 0 0.375rem 1rem -0.5rem rgba(0, 0, 0, 0.17);
|
|
}
|
|
@media (prefers-color-scheme: dark) {
|
|
main {
|
|
background: #292929;
|
|
box-shadow: 0 0.375rem 1rem -0.5rem rgba(0, 0, 0, 0.34);
|
|
}
|
|
}
|
|
@media (max-width: 870px) {
|
|
main {
|
|
width: 99%;
|
|
margin-top: 1%;
|
|
padding-bottom: 5%;
|
|
}
|
|
}
|
|
@media (min-width: 870px) and (max-width: 2048px) {
|
|
main {
|
|
width: 52rem;
|
|
margin-top: 4rem;
|
|
padding-bottom: 3rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 870px) {
|
|
main > .index,
|
|
main > .archives,
|
|
main > .categories,
|
|
main > .category,
|
|
main > .links,
|
|
main > .post,
|
|
main > .tag,
|
|
main > .journals {
|
|
width: 90%;
|
|
padding: 2.5% 5%;
|
|
}
|
|
main > .index > ul,
|
|
main > .archives > ul,
|
|
main > .categories > ul,
|
|
main > .category > ul,
|
|
main > .links > ul,
|
|
main > .post > ul,
|
|
main > .tag > ul,
|
|
main > .journals > ul {
|
|
margin-block-start: 0;
|
|
margin-block-end: 0;
|
|
}
|
|
}
|
|
@media (min-width: 870px) and (max-width: 2048px) {
|
|
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;
|
|
}
|
|
}
|
|
|
|
.menu {
|
|
position: fixed;
|
|
right: 0.5rem;
|
|
bottom: 10rem;
|
|
font-size: 0.5rem;
|
|
}
|
|
|
|
.heti {
|
|
max-width: 45rem !important;
|
|
}
|
|
.heti > img {
|
|
width: 100% !important;
|
|
}
|
|
|
|
@-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);
|
|
}
|
|
}
|
|
.header {
|
|
display: flex;
|
|
}
|
|
.header > .title > a {
|
|
font-size: 2.2rem;
|
|
letter-spacing: 0.2rem;
|
|
line-height: 2.4rem;
|
|
}
|
|
.header > .title > a > span {
|
|
color: #262626;
|
|
}
|
|
.header > .title > a > span:hover {
|
|
color: #26262680;
|
|
}
|
|
.header > .description {
|
|
font-size: 0.9rem;
|
|
color: #8c8c8c;
|
|
}
|
|
.header > .description > .socials {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
}
|
|
.header > .description > .socials > a {
|
|
font-size: 1rem;
|
|
margin-left: 0.5rem;
|
|
cursor: pointer;
|
|
color: #8c8c8c;
|
|
}
|
|
.header > .description > .socials > a:hover {
|
|
color: #8c8c8c80;
|
|
}
|
|
@media (prefers-color-scheme: dark) {
|
|
.header > .title > a > span {
|
|
color: #dbdbdb;
|
|
}
|
|
.header > .title > a > span:hover {
|
|
color: #dbdbdb80;
|
|
}
|
|
.header > .description {
|
|
color: #7d7d7d;
|
|
}
|
|
.header > .description > .socials > a {
|
|
color: #7d7d7d;
|
|
}
|
|
.header > .description > .socials > a:hover {
|
|
color: #7d7d7d80;
|
|
}
|
|
}
|
|
@media (max-width: 870px) {
|
|
.header {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
width: 90%;
|
|
padding: 17% 5% 5% 5%;
|
|
}
|
|
.header > .description {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
}
|
|
@media (min-width: 870px) and (max-width: 2048px) {
|
|
.header {
|
|
width: 45rem;
|
|
padding: 7rem 0 3rem 0;
|
|
justify-content: space-between;
|
|
}
|
|
.header > .title {
|
|
width: 6rem;
|
|
}
|
|
.header > .description {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-end;
|
|
}
|
|
}
|
|
|
|
footer .copyright {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
font-size: 0.8rem;
|
|
}
|
|
footer .copyright a {
|
|
padding: 0.1rem 0.1rem;
|
|
color: #bfbfbf;
|
|
}
|
|
footer .copyright a:hover {
|
|
color: #262626;
|
|
}
|
|
@media (prefers-color-scheme: dark) {
|
|
footer .copyright > a {
|
|
color: #262626;
|
|
}
|
|
footer .copyright > a:hover {
|
|
color: #bfbfbf;
|
|
}
|
|
}
|
|
@media (max-width: 870px) {
|
|
footer {
|
|
padding: 5% 0;
|
|
}
|
|
}
|
|
@media (min-width: 870px) and (max-width: 2048px) {
|
|
footer {
|
|
padding: 2rem 0;
|
|
}
|
|
}
|
|
|
|
.pagenav {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
.pagenav > a {
|
|
text-decoration: none;
|
|
margin: 0 2rem;
|
|
color: #262626;
|
|
}
|
|
.pagenav > a:hover {
|
|
color: #595959;
|
|
}
|
|
@media (prefers-color-scheme: dark) {
|
|
.pagenav > a {
|
|
color: #b6b6b6;
|
|
}
|
|
.pagenav > a:hover {
|
|
color: #434343;
|
|
}
|
|
}
|
|
@media (max-width: 870px) {
|
|
.pagenav {
|
|
padding: 4% 0 5% 0;
|
|
}
|
|
}
|
|
@media (min-width: 870px) and (max-width: 2048px) {
|
|
.pagenav {
|
|
padding: 2rem 0;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 870px) {
|
|
.comment {
|
|
width: 99%;
|
|
margin: 5% 0;
|
|
}
|
|
}
|
|
@media (min-width: 870px) and (max-width: 2048px) {
|
|
.comment {
|
|
margin-top: 2rem;
|
|
width: 52rem;
|
|
}
|
|
}
|
|
|
|
.post-bottom-menu {
|
|
display: flex;
|
|
justify-content: space-around;
|
|
border-top: 1px solid #e7e7e7;
|
|
}
|
|
.post-bottom-menu > a {
|
|
color: #262626;
|
|
}
|
|
.post-bottom-menu > a:hover {
|
|
color: #595959;
|
|
}
|
|
@media (prefers-color-scheme: dark) {
|
|
.post-bottom-menu {
|
|
border-top: 1px solid #e7e7e7;
|
|
}
|
|
.post-bottom-menu > a {
|
|
color: #b6b6b6;
|
|
}
|
|
.post-bottom-menu > a:hover {
|
|
color: #434343;
|
|
}
|
|
}
|
|
@media (max-width: 870px) {
|
|
.post-bottom-menu {
|
|
margin-top: 7%;
|
|
padding-top: 5%;
|
|
width: 80%;
|
|
}
|
|
}
|
|
@media (min-width: 870px) and (max-width: 2048px) {
|
|
.post-bottom-menu {
|
|
margin-top: 2rem;
|
|
padding-top: 2rem;
|
|
width: 40rem;
|
|
}
|
|
}
|
|
|
|
.close {
|
|
display: none;
|
|
}
|
|
|
|
/*
|
|
*
|
|
* 归档页面
|
|
*
|
|
* 按照顺序
|
|
* 1.默认
|
|
* 2.深色
|
|
* 3.媒体查询
|
|
* - 870px
|
|
* - 2048px
|
|
*/
|
|
.archives > ul > .year {
|
|
font-size: 1.5rem;
|
|
font-weight: bold;
|
|
line-height: 2.2rem;
|
|
color: #262626;
|
|
}
|
|
.archives > ul > li {
|
|
display: flex;
|
|
font-size: 0.875rem;
|
|
padding-bottom: 0.3rem;
|
|
line-height: 1.75rem;
|
|
}
|
|
.archives > ul > li > a {
|
|
color: #595959;
|
|
}
|
|
.archives > ul > li > a:hover {
|
|
color: #59595980;
|
|
}
|
|
.archives > ul > li > span {
|
|
color: #8c8c8c;
|
|
}
|
|
@media (prefers-color-scheme: dark) {
|
|
.archives > ul > .year {
|
|
color: #dbdbdb;
|
|
}
|
|
.archives > ul > li > a {
|
|
color: #acacac;
|
|
}
|
|
.archives > ul > li > a:hover {
|
|
color: #acacac80;
|
|
}
|
|
.archives > ul > li > span {
|
|
color: #7d7d7d;
|
|
}
|
|
}
|
|
@media (max-width: 870px) {
|
|
.archives > ul {
|
|
padding: 2.5% 1%;
|
|
}
|
|
.archives > ul > .year {
|
|
padding: 2.5% 0;
|
|
}
|
|
.archives > ul > .title {
|
|
padding: 2.5% 0;
|
|
}
|
|
.archives > ul > li {
|
|
justify-content: space-between;
|
|
}
|
|
}
|
|
@media (min-width: 870px) and (max-width: 2048px) {
|
|
.archives > ul {
|
|
padding: 0.625rem 0.1rem;
|
|
}
|
|
.archives > ul > .year {
|
|
padding: 0.5rem 0;
|
|
}
|
|
.archives > ul > li {
|
|
justify-content: space-between;
|
|
padding-bottom: 0.3rem;
|
|
}
|
|
}
|
|
|
|
/*
|
|
*
|
|
* 分类页面
|
|
*
|
|
* 按照顺序
|
|
* 1.默认
|
|
* 2.深色
|
|
* 3.媒体查询
|
|
* - 870px
|
|
* - 2048px
|
|
*/
|
|
.category > ul > .name {
|
|
font-size: 1.5rem;
|
|
font-weight: bold;
|
|
line-height: 2.2rem;
|
|
color: #262626;
|
|
}
|
|
.category > ul > li {
|
|
display: flex;
|
|
font-size: 0.875rem;
|
|
line-height: 2rem;
|
|
}
|
|
.category > ul > li > a {
|
|
color: #595959;
|
|
}
|
|
.category > ul > li > a:hover {
|
|
color: #59595980;
|
|
}
|
|
.category > ul > li > span {
|
|
color: #8c8c8c;
|
|
}
|
|
@media (prefers-color-scheme: dark) {
|
|
.category > ul > .name {
|
|
color: #dbdbdb;
|
|
}
|
|
.category > ul > li > a {
|
|
color: #dbdbdb;
|
|
}
|
|
.category > ul > li > a:hover {
|
|
color: #dbdbdb80;
|
|
}
|
|
.category > ul > li > span {
|
|
color: #7d7d7d;
|
|
}
|
|
}
|
|
@media (max-width: 870px) {
|
|
.category > ul {
|
|
padding: 2.5% 1%;
|
|
}
|
|
.category > ul > .name {
|
|
padding: 2.5% 0;
|
|
}
|
|
.category > ul > li {
|
|
justify-content: space-between;
|
|
}
|
|
}
|
|
@media (min-width: 870px) and (max-width: 2048px) {
|
|
.category > ul {
|
|
padding: 0.625rem 0.1rem;
|
|
}
|
|
.category > ul > .name {
|
|
padding: 0.5rem 0;
|
|
}
|
|
.category > ul > li {
|
|
justify-content: space-between;
|
|
padding-bottom: 0.3rem;
|
|
}
|
|
}
|
|
|
|
.categories > ul {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
.categories > ul > li {
|
|
font-size: 1rem;
|
|
}
|
|
.categories > ul > li > a {
|
|
color: #262626;
|
|
}
|
|
.categories > ul > li > a:hover {
|
|
color: #26262680;
|
|
}
|
|
.categories > ul > li > a > span {
|
|
color: #8c8c8c;
|
|
}
|
|
.categories > ul .count {
|
|
display: inline-block;
|
|
position: relative;
|
|
top: -0.5rem;
|
|
right: -0.125rem;
|
|
font-size: 0.75rem;
|
|
}
|
|
@media (prefers-color-scheme: dark) {
|
|
.categories > ul > li > a {
|
|
color: #dbdbdb;
|
|
}
|
|
.categories > ul > li > a:hover {
|
|
color: #dbdbdb80;
|
|
}
|
|
}
|
|
@media (max-width: 870px) {
|
|
.categories {
|
|
margin: 7% 0;
|
|
}
|
|
.categories > ul > li {
|
|
margin: 2.5% 2.5%;
|
|
}
|
|
}
|
|
@media (min-width: 870px) and (max-width: 2048px) {
|
|
.categories {
|
|
margin: 5rem 0;
|
|
}
|
|
.categories > ul > li {
|
|
margin: 0.5rem 1rem;
|
|
}
|
|
}
|
|
|
|
/*
|
|
*
|
|
* 首页
|
|
*
|
|
* 按照顺序
|
|
* 1.默认
|
|
* 2.深色
|
|
* 3.媒体查询
|
|
* - 870px
|
|
* - 2048px
|
|
*/
|
|
.index > h1 > a {
|
|
letter-spacing: 0.0625rem;
|
|
font-size: 1.375rem;
|
|
line-height: 1.75rem;
|
|
color: #262626;
|
|
}
|
|
.index > h1 > a:hover {
|
|
color: #26262680;
|
|
}
|
|
.index > p {
|
|
line-height: 1.5rem;
|
|
text-indent: 2rem;
|
|
color: #595959;
|
|
}
|
|
.index > .info {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
flex-wrap: wrap;
|
|
flex-direction: row;
|
|
border-bottom: 1px solid #d9d9d9;
|
|
}
|
|
.index > .info > .date,
|
|
.index > .info > .tag {
|
|
font-weight: 400;
|
|
font-size: 0.75rem;
|
|
}
|
|
.index > .info > .date > i,
|
|
.index > .info > .tag > i {
|
|
position: relative;
|
|
top: 0.1rem;
|
|
color: #8c8c8c;
|
|
}
|
|
.index > .info > .date > a,
|
|
.index > .info > .tag > a {
|
|
font-size: 0.75rem;
|
|
color: #8c8c8c;
|
|
}
|
|
.index > .info > .date > a:hover,
|
|
.index > .info > .tag > a:hover {
|
|
color: #8c8c8c80;
|
|
}
|
|
@media (prefers-color-scheme: dark) {
|
|
.index > h1 > a {
|
|
color: #dbdbdb;
|
|
}
|
|
.index > h1 > a:hover {
|
|
color: #dbdbdb80;
|
|
}
|
|
.index > p {
|
|
color: #acacac;
|
|
}
|
|
.index > .info {
|
|
border-bottom: 1px solid #434343;
|
|
}
|
|
.index > .info > .date > i,
|
|
.index > .info > .tag > i {
|
|
color: #7d7d7d;
|
|
}
|
|
.index > .info > .date > a,
|
|
.index > .info > .tag > a {
|
|
color: #7d7d7d;
|
|
}
|
|
.index > .info > .date > a:hover,
|
|
.index > .info > .tag > a:hover {
|
|
color: #7d7d7d80;
|
|
}
|
|
}
|
|
@media (min-width: 320px) and (max-width: 870px) {
|
|
.index > h1 {
|
|
margin-block-start: 0;
|
|
}
|
|
.index > .info {
|
|
padding: 1% 0 2% 0;
|
|
}
|
|
.index > .info > span {
|
|
margin: 1% 1%;
|
|
}
|
|
}
|
|
@media (min-width: 870px) and (max-width: 2048px) {
|
|
.index > .info {
|
|
padding: 0.5rem 0 2rem 0;
|
|
}
|
|
.index > .info > span {
|
|
padding: 0 0.5rem;
|
|
}
|
|
}
|
|
|
|
/*
|
|
*
|
|
* 日志
|
|
*
|
|
* 按照顺序
|
|
* 1.默认
|
|
* 2.深色
|
|
* 3.媒体查询
|
|
* - 870px
|
|
* - 2048px
|
|
*/
|
|
.journals > .name {
|
|
font-size: 1.5rem;
|
|
font-weight: bold;
|
|
line-height: 2.2rem;
|
|
color: #262626;
|
|
}
|
|
.journals > ul > li > .content {
|
|
font-size: 1rem;
|
|
line-height: 1.5rem;
|
|
color: #595959;
|
|
}
|
|
.journals > ul > li > .info {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
font-size: 0.75rem;
|
|
color: #8c8c8c;
|
|
}
|
|
@media (prefers-color-scheme: dark) {
|
|
.journals > .name {
|
|
color: #dbdbdb;
|
|
}
|
|
.journals > ul > li > .content {
|
|
color: #acacac;
|
|
}
|
|
.journals > ul > li > .info {
|
|
color: #7d7d7d;
|
|
}
|
|
}
|
|
@media (max-width: 870px) {
|
|
.journals > .name {
|
|
padding: 2.5% 0;
|
|
text-align: center;
|
|
}
|
|
.journals > ul > li {
|
|
padding: 2.5% 0;
|
|
}
|
|
.journals > ul > li > .info {
|
|
padding: 1% 0;
|
|
}
|
|
}
|
|
@media (min-width: 870px) and (max-width: 2048px) {
|
|
.journals > .name {
|
|
padding: 0.5rem 0;
|
|
}
|
|
.journals > ul > li {
|
|
padding: 1rem 0.1rem;
|
|
}
|
|
.journals > ul > li > .info {
|
|
padding: 1rem 0;
|
|
}
|
|
}
|
|
|
|
/*
|
|
*
|
|
* 友链
|
|
*
|
|
* 按照顺序
|
|
* 1.默认
|
|
* 2.深色
|
|
* 3.媒体查询
|
|
* - 870px
|
|
* - 2048px
|
|
*/
|
|
.links > ul > .friend {
|
|
font-size: 1.5rem;
|
|
font-weight: bold;
|
|
line-height: 2.2rem;
|
|
color: #262626;
|
|
}
|
|
.links > ul > li {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
font-size: 1rem;
|
|
line-height: 1.5rem;
|
|
}
|
|
.links > ul > li > a {
|
|
color: #595959;
|
|
}
|
|
.links > ul > li > a:hover {
|
|
color: #59595980;
|
|
}
|
|
@media (prefers-color-scheme: dark) {
|
|
.links > ul > .friend {
|
|
color: #dbdbdb;
|
|
}
|
|
.links > ul > li > a {
|
|
color: #dbdbdb;
|
|
}
|
|
.links > ul > li > a:hover {
|
|
color: #dbdbdb80;
|
|
}
|
|
}
|
|
@media (max-width: 870px) {
|
|
.links > ul {
|
|
padding: 2.5% 1%;
|
|
}
|
|
.links > ul > .friend {
|
|
padding: 2.5% 0;
|
|
}
|
|
.links > ul > li {
|
|
padding-bottom: 1%;
|
|
}
|
|
}
|
|
@media (min-width: 870px) and (max-width: 2048px) {
|
|
.links > ul {
|
|
padding: 0.625rem 0.1rem;
|
|
}
|
|
.links > ul > .friend {
|
|
padding: 0.5rem 0;
|
|
}
|
|
.links > ul > li {
|
|
padding-bottom: 0.3rem;
|
|
}
|
|
}
|
|
|
|
/*
|
|
*
|
|
* 文章
|
|
*
|
|
* 按照顺序
|
|
* 1.默认
|
|
* 2.深色
|
|
* 3.媒体查询
|
|
* - 870px
|
|
* - 2048px
|
|
*/
|
|
.post > .title > h1 > a {
|
|
letter-spacing: 0.0625rem;
|
|
font-size: 2rem;
|
|
line-height: 2rem;
|
|
color: #262626;
|
|
}
|
|
.post > .title > h1 > a:hover {
|
|
color: #26262680;
|
|
}
|
|
.post > .title > .info {
|
|
display: flex;
|
|
border-bottom: 1px solid #d9d9d9;
|
|
margin-bottom: 1rem;
|
|
}
|
|
.post > .title > .info > span {
|
|
font-weight: 400;
|
|
font-size: 0.75rem;
|
|
color: #8c8c8c;
|
|
}
|
|
.post > .title > .info > span i {
|
|
position: relative;
|
|
top: 0.125rem;
|
|
color: #8c8c8c;
|
|
}
|
|
@media (prefers-color-scheme: dark) {
|
|
.post > .title > h1 > a {
|
|
color: #dbdbdb;
|
|
}
|
|
.post > .title > h1 > a :hover {
|
|
color: #dbdbdb80;
|
|
}
|
|
.post > .title > .info {
|
|
border-bottom: 1px solid #434343;
|
|
}
|
|
.post > .title > .info span {
|
|
color: #7d7d7d;
|
|
}
|
|
.post > .title > .info span i {
|
|
color: #7d7d7d;
|
|
}
|
|
}
|
|
@media (min-width: 320px) and (max-width: 870px) {
|
|
.post > .title {
|
|
margin-top: 10%;
|
|
}
|
|
.post > .title > .info {
|
|
flex-direction: column;
|
|
}
|
|
.post > .title > .info > span {
|
|
padding: 1% 1%;
|
|
}
|
|
}
|
|
@media (min-width: 870px) and (max-width: 2048px) {
|
|
.post > .title {
|
|
margin-top: 4rem;
|
|
}
|
|
.post > .title > .info {
|
|
flex-direction: row;
|
|
}
|
|
.post > .title > .info > span {
|
|
margin: 0.25rem 0.25rem;
|
|
}
|
|
}
|
|
|
|
/*
|
|
*
|
|
* 标志
|
|
*
|
|
* 按照顺序
|
|
* 1.默认
|
|
* 2.深色
|
|
* 3.媒体查询
|
|
* - 870px
|
|
* - 2048px
|
|
*/
|
|
.tag > ul > .name {
|
|
font-size: 1.5rem;
|
|
font-weight: bold;
|
|
line-height: 2.2rem;
|
|
color: #262626;
|
|
}
|
|
.tag > ul > li {
|
|
display: flex;
|
|
font-size: 0.875rem;
|
|
line-height: 1.75rem;
|
|
}
|
|
.tag > ul > li > a {
|
|
color: #595959;
|
|
}
|
|
.tag > ul > li > a:hover {
|
|
color: #59595980;
|
|
}
|
|
@media (prefers-color-scheme: dark) {
|
|
.tag > ul > .name {
|
|
color: #dbdbdb;
|
|
}
|
|
.tag > ul > li > a {
|
|
color: #dbdbdb;
|
|
}
|
|
.tag > ul > li > a:hover {
|
|
color: #dbdbdb80;
|
|
}
|
|
}
|
|
@media (max-width: 870px) {
|
|
.tag > ul {
|
|
padding: 2.5% 1%;
|
|
}
|
|
.tag > ul > .name {
|
|
padding: 2.5% 0;
|
|
text-align: center;
|
|
}
|
|
.tag > ul > li {
|
|
justify-content: center;
|
|
padding-bottom: 1%;
|
|
}
|
|
.tag > ul > li > span {
|
|
display: none;
|
|
}
|
|
}
|
|
@media (min-width: 870px) and (max-width: 2048px) {
|
|
.tag > ul {
|
|
padding: 0.625rem 0.1rem;
|
|
}
|
|
.tag > ul > .name {
|
|
padding: 0.5rem 0;
|
|
}
|
|
.tag > ul > li {
|
|
justify-content: space-between;
|
|
padding-bottom: 0.3rem;
|
|
}
|
|
}
|
|
|
|
.tags > ul {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
.tags > ul > li {
|
|
font-size: 1rem;
|
|
}
|
|
.tags > ul > li > a {
|
|
color: #262626;
|
|
}
|
|
.tags > ul > li > a:hover {
|
|
color: #26262680;
|
|
}
|
|
.tags > ul > li > a > span {
|
|
color: #8c8c8c;
|
|
}
|
|
.tags > ul .count {
|
|
display: inline-block;
|
|
position: relative;
|
|
top: -0.5rem;
|
|
right: -0.125rem;
|
|
font-size: 0.75rem;
|
|
}
|
|
@media (prefers-color-scheme: dark) {
|
|
.tags > ul > li > a {
|
|
color: #dbdbdb;
|
|
}
|
|
.tags > ul > li > a:hover {
|
|
color: #dbdbdb80;
|
|
}
|
|
}
|
|
@media (max-width: 870px) {
|
|
.tags {
|
|
margin: 7% 0;
|
|
}
|
|
.tags > ul > li {
|
|
margin: 2.5% 2.5%;
|
|
}
|
|
}
|
|
@media (min-width: 870px) and (max-width: 2048px) {
|
|
.tags {
|
|
margin: 5rem 0;
|
|
}
|
|
.tags > ul > li {
|
|
margin: 0.5rem 1rem;
|
|
}
|
|
}
|
|
|
|
img {
|
|
width: 100%;
|
|
}
|
|
|
|
/*# sourceMappingURL=redemption.css.map */
|