Browse Source

css improve for markdown code

master
filesite 5 months ago
parent
commit
6e056f3ba0
  1. 1
      themes/beauty/controller/SiteController.php
  2. 11
      themes/beauty/views/layout/main.php
  3. 1
      www/css/beauty.css

1
themes/beauty/controller/SiteController.php

@ -61,7 +61,6 @@ Class SiteController extends Controller { @@ -61,7 +61,6 @@ Class SiteController extends Controller {
}
}
$titles = array();
$readmeFile = $scanner->getDefaultReadme();
if (!empty($readmeFile)) {
if (!empty($readmeFile['sort'])) {

11
themes/beauty/views/layout/main.php

@ -36,27 +36,22 @@ require_once __DIR__ . '/../../../../plugins/Html.php'; @@ -36,27 +36,22 @@ require_once __DIR__ . '/../../../../plugins/Html.php';
<div id="qrimg"></div>
</div>
<p>
Copyright <span>&copy;2022</span>
<span>&copy;2022 - <?=date('Y')?></span>
by <a href="https://filesite.io/" target="_blank">FileSite.io</a>
<br>
<?php if (!empty(FSC::$app['config']['theme'])) { ?>
当前皮肤 <strong><?php echo FSC::$app['config']['theme']; ?></strong>
- 执行耗时: {page_time_cost} ms
<?php } ?>
<br>友情链接:<a href="https://tajian.tv" target="_blank">Ta荐 - 你的聚宝盆</a>
</p>
<?php if (!empty(FSC::$app['config']['googleimage']['contact'])) {
$contactInfo = FSC::$app['config']['googleimage']['contact'];
echo <<<eof
<p>{$contactInfo}</p>
eof;
} ?>
</footer>
<!-- 右侧弹出框 -->
<div class="blank_cover elementNone blank_coverJS rtcloseJS"></div>
<div class="right_sidebox right_sideboxJS elementNone">
<h5>
<span>联系我们</span>
<span>关于我们</span>
<a class="rtcloseJS" href="javascript:;">
<img class="icon svgimg verMiddle" src="/img/beauty/clos.svg" alt="关闭" title="关闭">
</a>

1
www/css/beauty.css

@ -7,6 +7,7 @@ body{position:relative;font-family: 微軟正黑體; @@ -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}

Loading…
Cancel
Save