From 6e056f3ba0d41c3349cfa76b720888d37f39eddd Mon Sep 17 00:00:00 2001
From: filesite
Date: Wed, 10 Jul 2024 17:31:32 +0800
Subject: [PATCH] css improve for markdown code
---
themes/beauty/controller/SiteController.php | 1 -
themes/beauty/views/layout/main.php | 11 +++--------
www/css/beauty.css | 1 +
3 files changed, 4 insertions(+), 9 deletions(-)
diff --git a/themes/beauty/controller/SiteController.php b/themes/beauty/controller/SiteController.php
index 1a46ea0..e8ceb03 100644
--- a/themes/beauty/controller/SiteController.php
+++ b/themes/beauty/controller/SiteController.php
@@ -61,7 +61,6 @@ Class SiteController extends Controller {
}
}
- $titles = array();
$readmeFile = $scanner->getDefaultReadme();
if (!empty($readmeFile)) {
if (!empty($readmeFile['sort'])) {
diff --git a/themes/beauty/views/layout/main.php b/themes/beauty/views/layout/main.php
index 47f1045..238ecec 100644
--- a/themes/beauty/views/layout/main.php
+++ b/themes/beauty/views/layout/main.php
@@ -36,27 +36,22 @@ require_once __DIR__ . '/../../../../plugins/Html.php';
- Copyright ©2022
+ ©2022 - =date('Y')?>
by FileSite.io
当前皮肤
- 执行耗时: {page_time_cost} ms
+
友情链接:Ta荐 - 你的聚宝盆
- {$contactInfo}
-eof;
- } ?>
- 联系我们
+ 关于我们
diff --git a/www/css/beauty.css b/www/css/beauty.css
index 6d0d8c1..9aed2d7 100644
--- a/www/css/beauty.css
+++ b/www/css/beauty.css
@@ -7,6 +7,7 @@ body{position:relative;font-family: 微軟正黑體;
ul,li{list-style:none;margin:0;padding:0}
img,span{display:inline-block;max-width:100%}
a{color:#464c5c}
+.markdown-body li{list-style:disc}
.img-responsive{max-width:100%;display:block}
.elementBlock{display:block !important}