add lines & styles

This commit is contained in:
Skywt2003 2021-08-03 20:45:41 +08:00
parent 463fc91de6
commit f6ff249fe7
3 changed files with 12 additions and 7 deletions

View File

@ -6,12 +6,15 @@
<script>
$(document).ready(function(){
$("article .post-content img").addClass("img-fluid mx-auto d-block shadow");
$("article .post-content img").addClass("img-fluid mx-auto d-block shadow rounded");
$("article blockquote").addClass("shadow rounded");
$("article pre").addClass("shadow rounded");
$("table").addClass("table");
});
</script>
<footer class="mt-5 mb-5" id="footer" role="footer">
<div class="container">
<hr>
<div class="text-center">
<p>
<?php if ($this->options->nisInfo != "") {?>

View File

@ -106,6 +106,7 @@ if (!defined('__TYPECHO_ROOT_DIR__')) exit;
<footer class="flex-footer" id="footer" role="footer">
<div class="container">
<hr>
<div class="text-center">
<p>
<?php if ($this->options->nisInfo != "") {?>

View File

@ -11,16 +11,17 @@
<li><?php _e('时间: '); ?><time datetime="<?php $this->date('c'); ?>" itemprop="datePublished"><?php $this->date(); ?></time></li>
<li><?php _e('分类: '); ?><?php $this->category(','); ?></li>
</ul>
<hr>
<div class="post-content" itemprop="articleBody">
<?php $this->content(); ?>
</div>
<!--<p itemprop="keywords" class="post-tags"><?php _e('标签: '); ?><?php $this->tags(', ', true, 'none'); ?></p>-->
</article>
<ul class="post-near">
<li>上一篇: <?php $this->thePrev('%s','没有了'); ?></li>
<li>下一篇: <?php $this->theNext('%s','没有了'); ?></li>
</ul>
<!-- 暂时找不到好的办法让这个很好地兼容 Bootstrap 的写法 -->
<!-- <ul class="post-near">
<li>上一篇: <?php #$this->thePrev('%s','没有了'); ?></li>
<li>下一篇: <?php #$this->theNext('%s','没有了'); ?></li>
</ul> -->
<?php $this->need('comments.php'); ?>
</div><!-- end #main-->