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> <script>
$(document).ready(function(){ $(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> </script>
<footer class="mt-5 mb-5" id="footer" role="footer"> <footer class="mt-5 mb-5" id="footer" role="footer">
<div class="container"> <div class="container">
<hr>
<div class="text-center"> <div class="text-center">
<p> <p>
<?php if ($this->options->nisInfo != "") {?> <?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"> <footer class="flex-footer" id="footer" role="footer">
<div class="container"> <div class="container">
<hr>
<div class="text-center"> <div class="text-center">
<p> <p>
<?php if ($this->options->nisInfo != "") {?> <?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('时间: '); ?><time datetime="<?php $this->date('c'); ?>" itemprop="datePublished"><?php $this->date(); ?></time></li>
<li><?php _e('分类: '); ?><?php $this->category(','); ?></li> <li><?php _e('分类: '); ?><?php $this->category(','); ?></li>
</ul> </ul>
<hr>
<div class="post-content" itemprop="articleBody"> <div class="post-content" itemprop="articleBody">
<?php $this->content(); ?> <?php $this->content(); ?>
</div> </div>
<!--<p itemprop="keywords" class="post-tags"><?php _e('标签: '); ?><?php $this->tags(', ', true, 'none'); ?></p>--> <!--<p itemprop="keywords" class="post-tags"><?php _e('标签: '); ?><?php $this->tags(', ', true, 'none'); ?></p>-->
</article> </article>
<ul class="post-near"> <!-- 暂时找不到好的办法让这个很好地兼容 Bootstrap 的写法 -->
<li>上一篇: <?php $this->thePrev('%s','没有了'); ?></li> <!-- <ul class="post-near">
<li>下一篇: <?php $this->theNext('%s','没有了'); ?></li> <li>上一篇: <?php #$this->thePrev('%s','没有了'); ?></li>
</ul> <li>下一篇: <?php #$this->theNext('%s','没有了'); ?></li>
</ul> -->
<?php $this->need('comments.php'); ?> <?php $this->need('comments.php'); ?>
</div><!-- end #main--> </div><!-- end #main-->