|
@@ -31,25 +31,37 @@
|
|
}
|
|
}
|
|
|
|
|
|
body {
|
|
body {
|
|
- margin: 0;
|
|
|
|
- font-size: 16px;
|
|
|
|
- box-sizing: border-box;
|
|
|
|
- background: var(--secondary-background-color);
|
|
|
|
- color: var(--primary-text-color);
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-p, h1, h2, h3, h4, h5, h6, blockquote, ul, ol, li, pre, code {
|
|
|
|
- margin: 0;
|
|
|
|
- padding: 0;
|
|
|
|
|
|
+ margin: 0;
|
|
|
|
+ font-size: 16px;
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
+ background: var(--secondary-background-color);
|
|
|
|
+ color: var(--primary-text-color);
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+p,
|
|
|
|
+h1,
|
|
|
|
+h2,
|
|
|
|
+h3,
|
|
|
|
+h4,
|
|
|
|
+h5,
|
|
|
|
+h6,
|
|
|
|
+blockquote,
|
|
|
|
+ul,
|
|
|
|
+ol,
|
|
|
|
+li,
|
|
|
|
+pre,
|
|
|
|
+code {
|
|
|
|
+ margin: 0;
|
|
|
|
+ padding: 0;
|
|
}
|
|
}
|
|
|
|
|
|
a {
|
|
a {
|
|
- text-decoration: none;
|
|
|
|
- color: var(--link-color);
|
|
|
|
|
|
+ text-decoration: none;
|
|
|
|
+ color: var(--link-color);
|
|
}
|
|
}
|
|
|
|
|
|
::-webkit-scrollbar {
|
|
::-webkit-scrollbar {
|
|
- display: none;
|
|
|
|
|
|
+ display: none;
|
|
}
|
|
}
|
|
|
|
|
|
.container {
|
|
.container {
|
|
@@ -65,69 +77,79 @@ a {
|
|
}
|
|
}
|
|
|
|
|
|
.aside {
|
|
.aside {
|
|
- width: 200px;
|
|
|
|
- align-self: flex-start;
|
|
|
|
- height: max-content;
|
|
|
|
- background: var(--background-color);
|
|
|
|
- padding: 20px;
|
|
|
|
- border-radius: 12px;
|
|
|
|
- transition: all .3s;
|
|
|
|
- position: sticky;
|
|
|
|
- top: 20px;
|
|
|
|
|
|
+ width: 200px;
|
|
|
|
+ align-self: flex-start;
|
|
|
|
+ height: max-content;
|
|
|
|
+ background: var(--background-color);
|
|
|
|
+ padding: 20px;
|
|
|
|
+ border-radius: 12px;
|
|
|
|
+ transition: all .3s;
|
|
|
|
+ position: sticky;
|
|
|
|
+ top: 20px;
|
|
}
|
|
}
|
|
|
|
|
|
.aside .avatar-box {
|
|
.aside .avatar-box {
|
|
- display: flex;
|
|
|
|
- flex-direction: column;
|
|
|
|
- align-items: center;
|
|
|
|
- margin-bottom: 20px;
|
|
|
|
- background: var(--secondary-background-color);
|
|
|
|
- padding: 20px;
|
|
|
|
- line-height: 25px;
|
|
|
|
- border-radius: 12px;
|
|
|
|
- transition: all .3s;
|
|
|
|
|
|
+ display: flex;
|
|
|
|
+ flex-direction: column;
|
|
|
|
+ align-items: center;
|
|
|
|
+ margin-bottom: 20px;
|
|
|
|
+ background: var(--secondary-background-color);
|
|
|
|
+ padding: 20px;
|
|
|
|
+ line-height: 25px;
|
|
|
|
+ border-radius: 12px;
|
|
|
|
+ transition: all .3s;
|
|
}
|
|
}
|
|
|
|
|
|
.aside .avatar-box .avatar {
|
|
.aside .avatar-box .avatar {
|
|
- width: 100px;
|
|
|
|
- height: 100px;
|
|
|
|
- border-radius: 50%;
|
|
|
|
- margin-bottom: 10px;
|
|
|
|
- background: var(--background-color);
|
|
|
|
- transition: all .3s;
|
|
|
|
|
|
+ width: 100px;
|
|
|
|
+ height: 100px;
|
|
|
|
+ border-radius: 50%;
|
|
|
|
+ margin-bottom: 10px;
|
|
|
|
+ background: var(--background-color);
|
|
|
|
+ transition: all .3s;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+/* 鼠标进入后旋转180度,类开后恢复 */
|
|
|
|
+.aside .avatar-box .avatar:hover {
|
|
|
|
+ transform: rotate(720deg);
|
|
}
|
|
}
|
|
|
|
|
|
.aside .avatar-box .info {
|
|
.aside .avatar-box .info {
|
|
- display: flex;
|
|
|
|
- flex-direction: column;
|
|
|
|
- align-items: center;
|
|
|
|
- transition: all .3s;
|
|
|
|
|
|
+ display: flex;
|
|
|
|
+ flex-direction: column;
|
|
|
|
+ align-items: center;
|
|
|
|
+ transition: all .3s;
|
|
}
|
|
}
|
|
|
|
|
|
.aside .avatar-box .blogger {
|
|
.aside .avatar-box .blogger {
|
|
- font-size: 18px;
|
|
|
|
- font-weight: bold;
|
|
|
|
- transition: all .3s;
|
|
|
|
|
|
+ font-size: 18px;
|
|
|
|
+ font-weight: bold;
|
|
|
|
+ transition: all .3s;
|
|
}
|
|
}
|
|
|
|
|
|
.aside .avatar-box .desc {
|
|
.aside .avatar-box .desc {
|
|
- font-size: 14px;
|
|
|
|
- opacity: 0.7;
|
|
|
|
- text-align: center;
|
|
|
|
- transition: all .3s;
|
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
+ opacity: 0.7;
|
|
|
|
+ text-align: center;
|
|
|
|
+ transition: all .3s;
|
|
}
|
|
}
|
|
|
|
|
|
.main {
|
|
.main {
|
|
- width: 0;
|
|
|
|
- flex: 1;
|
|
|
|
- transition: all .3s;
|
|
|
|
|
|
+ width: 0;
|
|
|
|
+ flex: 1;
|
|
|
|
+ transition: all .3s;
|
|
}
|
|
}
|
|
|
|
|
|
.footer {
|
|
.footer {
|
|
- padding: 20px;
|
|
|
|
- margin: 20px 0;
|
|
|
|
- background: var(--background-color);
|
|
|
|
- border-radius: 12px;
|
|
|
|
|
|
+ padding: 20px;
|
|
|
|
+ margin: 20px 0;
|
|
|
|
+ background: var(--background-color);
|
|
|
|
+ border-radius: 12px;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.footer a {
|
|
|
|
+ color: inherit;
|
|
|
|
+ text-decoration: none;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|