From 3a794cdeb8d6f355b5c4169c57e9a00e6e50de74 Mon Sep 17 00:00:00 2001 From: CyC2018 <1029579233@qq.com> Date: Fri, 15 Feb 2019 10:50:30 +0800 Subject: [PATCH] Update style.css --- docs/_style/style.css | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/docs/_style/style.css b/docs/_style/style.css index 90a8a3aa..800dcf39 100644 --- a/docs/_style/style.css +++ b/docs/_style/style.css @@ -54,12 +54,22 @@ body>section>div.cover-main>ul>li>a { box-shadow: 7px 9px 10px #aaa !important; } -code { - box-shadow: 2px 1px 20px 2px #aaa; - border-radius: 10px !important; - padding-left: 20px !important; -} pre { background-color: #f3f2ee !important; +} + +@media (min-width:600px) { + code { + box-shadow: 2px 1px 20px 2px #aaa; + border-radius: 10px !important; + padding-left: 20px !important; + } +} + +@media (max-width:600px) { + pre { + padding-left: 0px !important; + padding-right: 0px !important; + } } \ No newline at end of file