summaryrefslogtreecommitdiffstats
path: root/assets/css/main/post.css
diff options
context:
space:
mode:
authorEltrac <45323514+BigCoke233@users.noreply.github.com>2019-08-23 14:29:02 +0800
committerGitHub <noreply@github.com>2019-08-23 14:29:02 +0800
commit49790a978509d664d0a510a8380b00684784bd8a (patch)
tree80a2dcb37ff764f616c93f48574bceaa77a96f7b /assets/css/main/post.css
parent5ae85a8216bcc4ccf67c3e3a867f677d03aa3d09 (diff)
Perf: Details
Diffstat (limited to 'assets/css/main/post.css')
-rw-r--r--assets/css/main/post.css50
1 files changed, 49 insertions, 1 deletions
diff --git a/assets/css/main/post.css b/assets/css/main/post.css
index fa9ad4d..02aac0d 100644
--- a/assets/css/main/post.css
+++ b/assets/css/main/post.css
@@ -7,7 +7,8 @@
/* 文章 */
.post-list,
.post-body {
- margin-top: -110px
+ margin-top: -110px;
+ transition: .8s;
}
.post-body,.post-item {
background: #fff;
@@ -146,6 +147,10 @@
.post-content p {
vertical-align: middle;
}
+.post-content ul ul,
+.post-content ol ol {
+ margin-top: 0;
+}
.post-content .owo-img {
box-shadow: 0 0 0 #fff;
-moz-box-shadow: 0 0 0 #fff;
@@ -154,6 +159,49 @@
height: 34px;
vertical-align: middle
}
+/* 加密文章 */
+.post-content .protected {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+}
+
+.post-content .protected .word {
+ display: none;
+}
+
+.post-content .protected .text {
+ border-top-left-radius: 6px;
+ border-bottom-left-radius: 6px;
+ margin-right: -7px;
+}
+
+.post-content .protected .submit {
+ border-top-right-radius: 6px;
+ border-bottom-right-radius: 6px;
+ margin-left: -7xp;
+ background: var(--theme-color);
+ border-color: var(--theme-color)!important;
+ color: #fff;
+ cursor: pointer;
+}
+
+.post-content .protected .submit:hover {
+ opacity: 0.8;
+}
+
+.post-content .protected .submit,
+.post-content .protected .text {
+ border: 1px solid #ccc;
+ padding: 8px 14px;
+ box-shadow: 0 2px 10px #ddd;
+ transition: .3s;
+}
+
+.post-content .protected {
+ margin: 50px 0;
+}
+
/* >短代码 */
.tip {
border: 1px solid rgb(240,240,240);