From 78bcf196909d3a14c874ec7ddbcaf370ed703a80 Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Sun, 23 Feb 2020 15:56:50 +0800 Subject: [PATCH] update css --- _config.yml | 6 +++--- source/less/_article.less | 4 ++-- source/less/_main.less | 3 +-- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/_config.yml b/_config.yml index 7745532..cb909cd 100755 --- a/_config.yml +++ b/_config.yml @@ -5,7 +5,7 @@ info: docs: https://xaoxuu.com/wiki/volantis/ cdn: # 要使用CDN,请在根目录的config文件中写上 use_cdn: true css: - # style: https://cdn.jsdelivr.net/gh/xaoxuu/cdn-volantis@20.2.25/css/style.css + style: https://cdn.jsdelivr.net/gh/xaoxuu/cdn-volantis@20.2.27/css/style.css js: app: https://cdn.jsdelivr.net/gh/xaoxuu/cdn-volantis@20.2.22/js/app.js search: https://cdn.jsdelivr.net/gh/xaoxuu/cdn-volantis@20.2.22/js/search.js @@ -46,9 +46,9 @@ style: # 幻灯片背景 backstretch: position: background # cover: 封面背景 background: 整个网页背景 - duration: 6000 # 持续时间(毫秒) + duration: 10000 # 持续时间(毫秒) fade: 2500 # 渐变(毫秒) - is_dark: #true # 图片是否是暗色的(调整文字为白色) + is_dark: # true # 图片是否是暗色的(调整文字为白色) images: - https://i.loli.net/2020/02/08/HNuVoted2mUxILl.jpg - https://i.loli.net/2020/02/08/dNJyR4LHtarTqPu.jpg diff --git a/source/less/_article.less b/source/less/_article.less index 8601890..1ecae6a 100755 --- a/source/less/_article.less +++ b/source/less/_article.less @@ -244,11 +244,11 @@ word-wrap: normal; font-size: @fontsize_small; line-height: @fontsize_small * 1.5; + margin: .6em 0; } position: relative; width: 100%; font-size: @fontsize_small; - margin: .6em 0; padding: .7em 1.2em; @@ -450,7 +450,7 @@ } } - p btn { + p btn, li btn { a { background: @color_text_link; color: @color_text_in_header; diff --git a/source/less/_main.less b/source/less/_main.less index 74c0c44..18f8cbc 100755 --- a/source/less/_main.less +++ b/source/less/_main.less @@ -28,7 +28,7 @@ columns: 320px; // 支持多列 } :first-child{ - margin-top: 0; + // margin-top: 0; } } ul.popular-posts{ @@ -106,7 +106,6 @@ p{ text-align: left; word-wrap: normal; - margin: 0; font-size: @fontsize_small; line-height: @fontsize_small * 1.5; }