From c517d30ce9a808a14e593f8e0138999e49e0f6c5 Mon Sep 17 00:00:00 2001 From: Terwer Date: Wed, 3 Apr 2019 11:27:03 +0800 Subject: [PATCH] Post order style --- jvue-front/pages/post-dark/_id.vue | 35 ++++++++++++++++++++++++++++++ jvue-front/pages/post/_id.vue | 34 +++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) diff --git a/jvue-front/pages/post-dark/_id.vue b/jvue-front/pages/post-dark/_id.vue index ee83ac7..9f01154 100644 --- a/jvue-front/pages/post-dark/_id.vue +++ b/jvue-front/pages/post-dark/_id.vue @@ -328,6 +328,41 @@ export default { color: #ff5370; line-height: 1.6; } + +/* 顺序列表 */ +.post-dark { + ul, + ol { + li { + color: #f3f3f3; + code { + font-size: 16px; + } + p { + code { + font-size: 16px; + } + } + } + } + + blockquote { + color: #67c23a; + background-color: #181818; + border: solid 1px; + border-radius: 4px; + padding: 0 10px; + margin: 10px 0; + code { + font-size: 16px; + } + p { + code { + font-size: 16px; + } + } + } +} diff --git a/jvue-front/pages/post/_id.vue b/jvue-front/pages/post/_id.vue index 7ab473f..5fb05e6 100644 --- a/jvue-front/pages/post/_id.vue +++ b/jvue-front/pages/post/_id.vue @@ -233,4 +233,38 @@ export default { color: #000000; line-height: 1.6; } + +/* 顺序列表 */ +.post-default { + ul, + ol { + li { + code { + font-size: 16px; + } + p { + code { + font-size: 16px; + } + } + } + } + + blockquote { + color: black; + background: #f5f5f5 !important; + padding: 0 10px; + margin: 10px 0; + border: 1px solid #ccc !important; + border-radius: 3px !important; + code { + font-size: 16px; + } + p { + code { + font-size: 16px; + } + } + } +}