Skip to content

Commit

Permalink
💄 b3log#83 mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanessa219 committed Feb 6, 2018
1 parent f56cd69 commit 379ad21
Show file tree
Hide file tree
Showing 16 changed files with 24 additions and 16 deletions.
2 changes: 1 addition & 1 deletion pipe.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"Server": "http://localhost:5897",
"StaticServer": "",
"StaticResourceVersion": "1517909451454",
"StaticResourceVersion": "1517910874646",
"RuntimeMode": "dev",
"LogLevel": "debug",
"SessionSecret": "BEYOND",
Expand Down
2 changes: 1 addition & 1 deletion theme/sw.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion theme/x/9IPHP/css/common.css

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions theme/x/9IPHP/css/common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ body {
font-size: 14px;
line-height: 1.42857143;
color: #333;
display: flex;
flex-direction: column;
height: 100%;
}

a {
Expand Down Expand Up @@ -194,6 +197,10 @@ svg {
}
}

.main {
flex: 1;
}

.toc {
@for $i from 1 through 5 {
.toc__h#{$i} a {
Expand Down
5 changes: 3 additions & 2 deletions theme/x/9IPHP/define-side.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
{{.Setting.BasicNoticeBoard}}
</div>
{{end}}
{{if le 0 (len .MostUseTags)}}
{{if le 1 (len .MostUseTags)}}
<div class="module">
<div class="module__header">
{{.I18n.Tags}}
Expand All @@ -31,7 +31,8 @@
</div>
</div>
{{end}}
{{if le 0 (len .MostUseCategories)}}

{{if le 1 (len .MostUseCategories)}}
<div class="module">
<div class="module__header">
{{.I18n.Categories}}
Expand Down
2 changes: 1 addition & 1 deletion theme/x/9IPHP/js/article.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion theme/x/9IPHP/js/common.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion theme/x/Gina/js/article.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion theme/x/Gina/js/common.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion theme/x/Koma/js/article.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion theme/x/Koma/js/common.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion theme/x/Medium/article.html
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ <h2 class="post__title">

<div class="article__bottom">
<div class="wrapper">
{{if lt 0 (len .RecommendArticles)}}
{{if le 1 (len .RecommendArticles)}}
<div class="fn-clear article__wrap">
{{range $index, $item := .RecommendArticles}}
{{if le $index 5}}
Expand Down
2 changes: 1 addition & 1 deletion theme/x/Medium/js/article.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion theme/x/Medium/js/common.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion theme/x/Next/js/article.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion theme/x/Next/js/common.min.js

Large diffs are not rendered by default.

0 comments on commit 379ad21

Please sign in to comment.