diff options
| author | Eltrac <45323514+BigCoke233@users.noreply.github.com> | 2019-12-29 18:34:45 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-12-29 18:34:45 +0800 |
| commit | 9f2be0bd09de4340ff4b0d107e0e1e775fca4581 (patch) | |
| tree | 2f24e737a1566174c63d4a5263a06a5fc00f71e6 /assets | |
| parent | 6c07f07ca8423a6b6cc231feedb34e7f4082a989 (diff) | |
😅 Fix: 修复样式问题
Diffstat (limited to 'assets')
| -rw-r--r-- | assets/css/main/dark.css | 16 | ||||
| -rw-r--r-- | assets/css/main/miracles.min.css | 9 | ||||
| -rw-r--r-- | assets/css/main/page.css | 30 | ||||
| -rw-r--r-- | assets/css/main/post.css | 8 |
4 files changed, 54 insertions, 9 deletions
diff --git a/assets/css/main/dark.css b/assets/css/main/dark.css index 55a25da..cf7e4ae 100644 --- a/assets/css/main/dark.css +++ b/assets/css/main/dark.css @@ -131,6 +131,7 @@ .body-dark .dark-button,
.body-dark .options,
.body-dark .post-body,
+.body-dark .saying-item,
.body-dark .post-item,
.body-dark .post-pagenav a {
box-shadow:0 0 36px #323232;
@@ -180,6 +181,7 @@ .body-dark .OwO-packages li:hover,
.body-dark .comment-form input,
.body-dark .comment-form textarea,
+.body-dark .saying-item textarea,
.body-dark .comment-reply a:hover,
.body-dark .dark-button,.body-dark .dialog,
.body-dark .drawer,
@@ -189,10 +191,10 @@ .body-dark .options-family-button,
.body-dark .options-theme-label,
.body-dark .post-body,
+.body-dark .saying-item,
.body-dark .post-content th,
.body-dark .post-item,
.body-dark .post-pagenav a,
-.body-dark .saying-textarea,
.body-dark .search-form input {
background:#5a5a5a!important
}
@@ -202,6 +204,9 @@ .body-dark .index-banner {
background-color:#6e6e6e!important
}
+.body-dark .index-banner {
+ background-color: rgb(80,80,80)!important
+}
/* Need white fonts */
.body-dark .OwO-bar,
.body-dark .OwO-logo,
@@ -210,6 +215,7 @@ .body-dark .comment-content p,
.body-dark .comment-form input,
.body-dark .comment-form textarea,
+.body-dark .saying-item textarea,
.body-dark .dark-button,
.body-dark .drawer,
.body-dark .drawer a,
@@ -230,6 +236,8 @@ .body-dark .options-family-button,
.body-dark .options-theme-item:hover .options-theme-label,
.body-dark .post-body,
+.body-dark .saying-item,
+.body-dark .saying-item a,
.body-dark .post-body a,
.body-dark .post-content blockquote,
.body-dark .post-item,
@@ -238,7 +246,8 @@ .body-dark .search-form button,
.body-darl .login a,
.body-dark .alert,
-.body-dark .banner-content.banner-font-black {
+.body-dark .banner-content.banner-font-black,
+.body-dark .post-pagenav a {
color:#fafafa!important
}
.body-dark .options-theme-label {
@@ -249,6 +258,7 @@ .body-dark .OwO-logo,
.body-dark .comment-form input,
.body-dark .comment-form textarea,
+.body-dark .saying-item textarea,
.body-dark .drawer,
.body-dark .mobile-menu-footer,
.body-dark .mobile-menu-title,
@@ -258,7 +268,7 @@ .body-dark .post-content td,
.body-dark .post-content th,
.body-dark .post-content tr,
-.body-dark .saying-textarea {
+.body-dark .saying-hr {
border-color:#6e6e6e!important
}
.body-dark .tip {
diff --git a/assets/css/main/miracles.min.css b/assets/css/main/miracles.min.css index 748411a..3ff55a2 100644 --- a/assets/css/main/miracles.min.css +++ b/assets/css/main/miracles.min.css @@ -211,7 +211,8 @@ width: 350px;
}
.post-list,
- .post-body {
+ .post-body,
+ .saying-body {
margin-top: -130px
}
.links-container {
@@ -323,7 +324,8 @@ width: 400px;
}
.post-list,
- .post-body {
+ .post-body,
+ .saying-body {
margin-top: -134px
}
.links-container {
@@ -432,7 +434,8 @@ width: 550px;
}
.post-list,
- .post-body {
+ .post-body,
+ .saying-body {
margin-top: -140px
}
.links-container {
diff --git a/assets/css/main/page.css b/assets/css/main/page.css index c50a455..d30a8f6 100644 --- a/assets/css/main/page.css +++ b/assets/css/main/page.css @@ -129,4 +129,34 @@ }
.links-container {
padding: 6px;
+}
+
+/* Saying 说说 */
+.saying-meta {
+ color: gray!important;
+ margin-top: -5px!important;
+ line-height: 22px;
+}
+.saying-meta img {
+ float: left;
+ height: 45px;
+ width: 45px;
+ border-radius: 100%;
+ margin-right: 15px;
+ box-shadow: 1px 1px 2px #bababa;
+ webkit-box-shadow: 1px 1px 2px #bababa;
+ -moz-box-shadow: 1px 1px 2px #bababa;
+}
+.saying-author {
+ font-size: 18px;
+}
+.saying-hr {
+ border-bottom: 1px solid #ddd;
+}
+.saying-header.saying-inner {
+ padding-bottom: 0;
+}
+.saying-middle.saying-inner {
+ padding-top: 0;
+ padding-bottom: 10px;
}
\ No newline at end of file diff --git a/assets/css/main/post.css b/assets/css/main/post.css index 6ee7be5..d8471fe 100644 --- a/assets/css/main/post.css +++ b/assets/css/main/post.css @@ -6,14 +6,15 @@ */
/* 文章 */
.post-list,
-.post-body {
+.post-body,
+.saying-body {
margin-top: -110px;
transition: .8s;
}
.post-item {
margin-bottom: 10px;
}
-.post-body,.post-item {
+.post-body,.post-item,.saying-item {
background: #fff;
box-shadow: 0 0 36px var(--shadow-color);
-moz-box-shadow: 0 0 36px var(--shadow-color);
@@ -105,7 +106,8 @@ font-size: 25px;
}
/* >文章内容 */
-.post-content {
+.post-content,
+.saying-inner {
padding: 26px;
line-height: 28px;
letter-spacing: 2px;
|
