2021-12-28 17:05:11 +08:00
|
|
|
// HTML
|
|
|
|
html {
|
|
|
|
background-color: #f5f5f5;
|
|
|
|
color: #1f1f1f;
|
|
|
|
}
|
|
|
|
|
|
|
|
// 滚动条
|
|
|
|
html::-webkit-scrollbar-thumb {
|
|
|
|
background-color: #0000000d;
|
|
|
|
}
|
|
|
|
|
|
|
|
html::-webkit-scrollbar-thumb:hover {
|
|
|
|
background-color: #00000026;
|
|
|
|
}
|
|
|
|
|
|
|
|
::selection {
|
|
|
|
background: #0095ff1a;
|
|
|
|
}
|
|
|
|
|
2022-01-14 14:49:51 +08:00
|
|
|
// // Body
|
|
|
|
// body {
|
|
|
|
// display: flex;
|
|
|
|
// flex-wrap: nowrap;
|
|
|
|
// flex-direction: column;
|
|
|
|
// align-items: center;
|
|
|
|
// }
|
2021-12-28 17:05:11 +08:00
|
|
|
|
|
|
|
// Header 头部
|
|
|
|
.header {
|
|
|
|
// 站点标题
|
2021-12-31 15:53:37 +08:00
|
|
|
> .title {
|
|
|
|
> a {
|
|
|
|
> span {
|
2021-12-28 17:05:11 +08:00
|
|
|
color: rgb(0, 0, 0);
|
|
|
|
&:hover {
|
|
|
|
color: rgba(0, 0, 0, 0.65);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// 二级标题
|
2021-12-31 15:53:37 +08:00
|
|
|
> .description {
|
2021-12-28 17:05:11 +08:00
|
|
|
color: rgba(0, 0, 0, 0.65);
|
2021-12-31 15:53:37 +08:00
|
|
|
> .socials {
|
|
|
|
> a {
|
2021-12-28 17:05:11 +08:00
|
|
|
color: rgba(0, 0, 0, 0.65);
|
|
|
|
&:hover {
|
|
|
|
color: rgba(0, 0, 0, 0.85);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// main 主体
|
|
|
|
main {
|
|
|
|
background: #ffffff;
|
|
|
|
box-shadow: 0 0.375rem 1rem -0.5rem rgba(0, 0, 0, 0.08);
|
2021-12-28 17:47:49 +08:00
|
|
|
// 首页
|
2021-12-31 15:53:37 +08:00
|
|
|
.index {
|
|
|
|
> h1 {
|
|
|
|
> a {
|
2021-12-28 17:05:11 +08:00
|
|
|
color: rgba(0, 0, 0, 1);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-12-31 15:53:37 +08:00
|
|
|
> p {
|
2021-12-28 17:05:11 +08:00
|
|
|
color: rgba(0, 0, 0, 0.85);
|
|
|
|
}
|
|
|
|
|
2021-12-31 15:53:37 +08:00
|
|
|
> .info {
|
2021-12-28 17:05:11 +08:00
|
|
|
border-bottom: 1px solid #f3f3f3;
|
|
|
|
.date,
|
|
|
|
.tag {
|
2021-12-31 15:53:37 +08:00
|
|
|
span {
|
|
|
|
color: rgb(0, 0, 0, 0.65);
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: rgb(0, 0, 0, 0.65);
|
|
|
|
}
|
2021-12-28 17:05:11 +08:00
|
|
|
i {
|
|
|
|
color: rgb(0, 0, 0, 0.85);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-12-31 15:53:37 +08:00
|
|
|
// 归档 分类目录 分类 标签目录 标签 友链
|
|
|
|
.archives,.categories,.category,.tag,.tags,.links{
|
|
|
|
> ul {
|
|
|
|
> .year,.name,.friend{
|
|
|
|
color: rgb(0, 0, 0.85);
|
2021-12-28 17:05:11 +08:00
|
|
|
}
|
2021-12-31 15:53:37 +08:00
|
|
|
> li{
|
|
|
|
> a{
|
2021-12-29 17:46:17 +08:00
|
|
|
color: rgb(0, 0, 0.85);
|
2021-12-28 17:47:49 +08:00
|
|
|
&:hover {
|
|
|
|
color: rgb(0, 0, 0, 0.65);
|
|
|
|
}
|
|
|
|
}
|
2021-12-31 15:53:37 +08:00
|
|
|
> span{
|
2021-12-28 17:47:49 +08:00
|
|
|
color: #c5c5c5;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-12-29 17:46:17 +08:00
|
|
|
|
2021-12-31 15:53:37 +08:00
|
|
|
// 文章分页
|
|
|
|
.pagenav {
|
|
|
|
a {
|
|
|
|
color: rgb(0, 0, 0);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: rgb(0, 0, 0, 0.65);
|
2021-12-29 17:46:17 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-01-14 14:49:51 +08:00
|
|
|
|
|
|
|
// 文章
|
|
|
|
.post{
|
|
|
|
> .title{
|
|
|
|
> h1 {
|
|
|
|
color: rgba(0, 0, 0, 1);
|
|
|
|
> a {
|
|
|
|
color: rgba(0, 0, 0, 1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
> .info {
|
|
|
|
border-bottom: 1px solid #f3f3f3;
|
|
|
|
> span{
|
|
|
|
color: rgb(0, 0, 0, 0.65);
|
|
|
|
i {
|
|
|
|
|
|
|
|
color: rgb(0, 0, 0, 0.85);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// 日志
|
|
|
|
.journals{
|
|
|
|
> ul{
|
|
|
|
> li{
|
|
|
|
> .option{
|
|
|
|
color: rgb(0, 0, 0, 0.65);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
2021-12-28 17:05:11 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
// 脚注
|
|
|
|
footer {
|
|
|
|
.copyright {
|
|
|
|
a {
|
|
|
|
color: rgb(0, 0, 0, 0.25);
|
|
|
|
&:hover {
|
|
|
|
color: rgb(0, 0, 0, 0.85);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
2021-12-28 17:47:49 +08:00
|
|
|
}
|