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 {
} }
} }
$titles = array();
$readmeFile = $scanner->getDefaultReadme(); $readmeFile = $scanner->getDefaultReadme();
if (!empty($readmeFile)) { if (!empty($readmeFile)) {
if (!empty($readmeFile['sort'])) { if (!empty($readmeFile['sort'])) {

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

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

1
www/css/beauty.css

@ -7,6 +7,7 @@ body{position:relative;font-family: 微軟正黑體;
ul,li{list-style:none;margin:0;padding:0} ul,li{list-style:none;margin:0;padding:0}
img,span{display:inline-block;max-width:100%} img,span{display:inline-block;max-width:100%}
a{color:#464c5c} a{color:#464c5c}
.markdown-body li{list-style:disc}
.img-responsive{max-width:100%;display:block} .img-responsive{max-width:100%;display:block}
.elementBlock{display:block !important} .elementBlock{display:block !important}

Loading…
Cancel
Save