Skip to content

Commit

Permalink
Fix Specifics
Browse files Browse the repository at this point in the history
修复了多项小细节,包括代码块、菜单、日期、统计代码...
  • Loading branch information
Dreamer-Paul committed Apr 27, 2018
1 parent 2d386cf commit 8cf5a71
Show file tree
Hide file tree
Showing 12 changed files with 355 additions and 313 deletions.
4 changes: 2 additions & 2 deletions archive.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<?php $this->need('header.php'); ?>

<main>
<div class="wrap min">
<section class="home-title">
Expand All @@ -18,7 +18,7 @@
<h2><a href="<?php $this->permalink() ?>"><?php $this->title() ?></a></h2>
<p><?php $this->excerpt(100); ?></p>
<div class="post-meta">
<time class="date"><?php $this->date('Y.m.d'); ?></time>
<time class="date"><?php $this->date(); ?></time>
<?php if (!empty($this->options->archive_meta) && in_array('show_category', $this->options->archive_meta)): ?>
<span class="category"><?php $this->category(''); ?></span>
<?php endif; ?>
Expand Down
2 changes: 1 addition & 1 deletion comments.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<?php $comments->gravatar('150', 'robohash'); ?>
<div class="comment-meta">
<span class="comment-author"><?php $comments->author(); ?></span>
<time class="comment-time"><?php $comments->date('y.m.d'); ?></time>
<time class="comment-time"><?php $comments->date(); ?></time>
<span class="comment-reply"><?php $comments->reply(); ?></span>
</div>
<div class="comment-content">
Expand Down
21 changes: 12 additions & 9 deletions css/kico.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

/* ----
# Kico Style 1.5.3
# Kico Style 1.5.4
# By: Dreamer-Paul
# Last Update: 2018.2.5
# Last Update: 2018.4.22
一个简洁、有趣的开源响应式框架,仅包含基础样式,需按照一定规则进行二次开发。
Expand Down Expand Up @@ -113,7 +113,7 @@ body::-webkit-scrollbar-track:hover{
max-width: 1000px;
}
.wrap.max{
max-width: 1600px;
max-width: 1400px;
}

.wrap.full{
Expand Down Expand Up @@ -193,12 +193,10 @@ kbd{
font-family: 'Consolas', 'Courier New', monospace, "微软雅黑";
}

audio{
vertical-align: middle;
}

img, svg, video{
img, svg{
height: auto;
}
img, svg, audio, video{
max-width: 100%;
vertical-align: middle;
}
Expand Down Expand Up @@ -664,7 +662,12 @@ iframe{
margin-right: 0;
}

.row.no-wrap{ flex-wrap: nowrap; }
.row.scrollable{
overflow: auto;
margin-left: 0;
margin-right: 0;
flex-wrap: nowrap;
}

/* -- 对齐方式 */
.row.right{ justify-content: flex-end; }
Expand Down
Loading

0 comments on commit 8cf5a71

Please sign in to comment.