summaryrefslogtreecommitdiffstats
path: root/assets/css/main/post.css
diff options
context:
space:
mode:
authorBigCoke233 <hi@guhub.cn>2020-04-09 00:19:11 +0800
committerBigCoke233 <hi@guhub.cn>2020-04-09 00:19:11 +0800
commitf5bced134e73cf20da42124f77ab001a38f1739b (patch)
treed8c1284de31305b2cacb9eeda3fdf1ebbbb3b921 /assets/css/main/post.css
parentaad116339e17c1d9d048e37e5a7b824b3ccc4f30 (diff)
:notebook_with_decorative_cover: Add: 拓展 Markdown 语法,支持 kbd 标签
Diffstat (limited to 'assets/css/main/post.css')
-rw-r--r--assets/css/main/post.css14
1 files changed, 14 insertions, 0 deletions
diff --git a/assets/css/main/post.css b/assets/css/main/post.css
index 294c838..e122706 100644
--- a/assets/css/main/post.css
+++ b/assets/css/main/post.css
@@ -167,6 +167,20 @@
width: 100%;
border: 2px dashed #f1f1f1
}
+.post-content kbd {
+ display: inline-block;
+ padding: 3px 5px;
+ font: 0.84em sans-serif;
+ line-height: 15px;
+ color: #444d56;
+ vertical-align: middle;
+ background-color: #fafbfc;
+ border: solid 1px #d1d5da;
+ border-bottom-color: #c6cbd1;
+ border-radius: 3px;
+ -webkit-box-shadow: inset 0 -1px 0 #c6cbd1;
+ box-shadow: inset 0 -1px 0 #c6cbd1
+}
.post-content code {
font-size: 0.95em;
background: #f0f0f0;