👄 mobile
This commit is contained in:
parent
7839389d81
commit
2b822081da
@ -39,10 +39,12 @@
|
||||
${article.articleCreateDate?string("yyyy-MM-dd")}
|
||||
</time>
|
||||
|
||||
<span class="mobile__none">
|
||||
<#list article.articleTags?split(",") as articleTag>
|
||||
<a rel="tag" href="${servePath}/tags/${articleTag?url('UTF-8')}" class="ft__red">
|
||||
${articleTag}</a><#if articleTag_has_next>,</#if>
|
||||
<a rel="tag" class="ft__red" href="${servePath}/tags/${articleTag?url('UTF-8')}">
|
||||
${articleTag}</a><#if articleTag_has_next>, </#if>
|
||||
</#list>
|
||||
</span>
|
||||
<div class="fn__right">
|
||||
<a class="ft__red" href="${servePath}${article.articlePermalink}#comments"><#if article.articleCommentCount gt 0>${article.articleCommentCount} </#if>${commentLabel}</a>
|
||||
•
|
||||
|
@ -75,10 +75,12 @@
|
||||
${article.articleCreateDate?string("yyyy-MM-dd")}
|
||||
</time>
|
||||
|
||||
<span class="mobile__none">
|
||||
<#list article.articleTags?split(",") as articleTag>
|
||||
<a rel="tag" href="${servePath}/tags/${articleTag?url('UTF-8')}" class="ft__red">
|
||||
${articleTag}</a><#if articleTag_has_next>,</#if>
|
||||
${articleTag}</a><#if articleTag_has_next>, </#if>
|
||||
</#list>
|
||||
</span>
|
||||
<div class="fn__right">
|
||||
<a class="ft__red" href="${servePath}${article.articlePermalink}#comments"><#if article.articleCommentCount gt 0>${article.articleCommentCount} </#if>${commentLabel}</a>
|
||||
•
|
||||
|
@ -792,11 +792,12 @@ a {
|
||||
.wrapper {
|
||||
max-width: 768px;
|
||||
margin: 0 auto;
|
||||
padding: 0 70px 0 20px; }
|
||||
padding: 0 70px 0 20px;
|
||||
box-sizing: border-box; }
|
||||
|
||||
.footer {
|
||||
color: #999;
|
||||
padding: 30px 0;
|
||||
margin: 30px auto;
|
||||
line-height: 1.6em;
|
||||
font-size: 0.85em; }
|
||||
.footer a {
|
||||
@ -896,7 +897,7 @@ a {
|
||||
|
||||
.comment-body-ref {
|
||||
position: absolute;
|
||||
width: 664px;
|
||||
width: 80%;
|
||||
left: 84px; }
|
||||
|
||||
.comments__title {
|
||||
@ -972,7 +973,7 @@ a {
|
||||
box-sizing: border-box;
|
||||
font-size: 14px;
|
||||
outline: none;
|
||||
font-family: "Helvetica Neue","Luxi Sans","DejaVu Sans",Tahoma,"Hiragino Sans GB","Microsoft Yahei",sans-serif; }
|
||||
font-family: "Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", "Microsoft Yahei", sans-serif; }
|
||||
.form button {
|
||||
width: auto;
|
||||
vertical-align: bottom;
|
||||
@ -986,3 +987,34 @@ a {
|
||||
.form input:focus,
|
||||
.form textarea:focus {
|
||||
border-color: #2a2a2a; }
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.header {
|
||||
position: inherit;
|
||||
width: 100%;
|
||||
height: 45px;
|
||||
flex-direction: row;
|
||||
padding-right: 10px; }
|
||||
.header a, .header span {
|
||||
float: left;
|
||||
width: auto;
|
||||
padding: 0;
|
||||
line-height: 25px;
|
||||
margin-left: 10px; }
|
||||
.wrapper {
|
||||
padding-right: 20px; }
|
||||
.article__item {
|
||||
margin: 20px 0; }
|
||||
.article__item .tag {
|
||||
display: none; }
|
||||
.article__more {
|
||||
margin-bottom: 40px; }
|
||||
.footer {
|
||||
text-align: right; }
|
||||
.icon__up {
|
||||
display: none; }
|
||||
.pagination > .ft__center {
|
||||
visibility: hidden;
|
||||
height: 36px; }
|
||||
.mobile__none {
|
||||
display: none; } }
|
||||
|
2
Jane/css/base.min.css
vendored
2
Jane/css/base.min.css
vendored
File diff suppressed because one or more lines are too long
@ -119,12 +119,13 @@ a {
|
||||
max-width: 768px;
|
||||
margin: 0 auto;
|
||||
padding: 0 70px 0 20px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
// footer
|
||||
.footer {
|
||||
color: $gray;
|
||||
padding: 30px 0;
|
||||
margin: 30px auto;
|
||||
line-height: 1.6em;
|
||||
font-size: 0.85em;
|
||||
a {
|
||||
@ -252,7 +253,6 @@ a {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// comments
|
||||
|
||||
#comments {
|
||||
@ -261,7 +261,7 @@ a {
|
||||
|
||||
.comment-body-ref {
|
||||
position: absolute;
|
||||
width: 664px;
|
||||
width: 80%;
|
||||
left: 84px;
|
||||
}
|
||||
|
||||
@ -359,7 +359,7 @@ a {
|
||||
box-sizing: border-box;
|
||||
font-size: 14px;
|
||||
outline: none;
|
||||
font-family: "Helvetica Neue","Luxi Sans","DejaVu Sans",Tahoma,"Hiragino Sans GB","Microsoft Yahei",sans-serif;
|
||||
font-family: "Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;
|
||||
}
|
||||
|
||||
button {
|
||||
@ -378,6 +378,59 @@ a {
|
||||
|
||||
input:focus,
|
||||
textarea:focus {
|
||||
border-color: #2a2a2a;
|
||||
border-color: #2a2a2a;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.header {
|
||||
position: inherit;
|
||||
width: 100%;
|
||||
height: 45px;
|
||||
flex-direction: row;
|
||||
padding-right: 10px;
|
||||
|
||||
a, span {
|
||||
float: left;
|
||||
width: auto;
|
||||
padding: 0;
|
||||
line-height: 25px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.wrapper {
|
||||
padding-right: 20px;
|
||||
}
|
||||
|
||||
.article {
|
||||
&__item {
|
||||
margin: 20px 0;
|
||||
|
||||
.tag {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
&__more {
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
.footer {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.icon__up {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.pagination > .ft__center {
|
||||
visibility: hidden;
|
||||
height: 36px;
|
||||
}
|
||||
|
||||
.mobile__none {
|
||||
display: none;
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user