👄 mobile
This commit is contained in:
parent
7839389d81
commit
2b822081da
@ -39,10 +39,12 @@
|
|||||||
${article.articleCreateDate?string("yyyy-MM-dd")}
|
${article.articleCreateDate?string("yyyy-MM-dd")}
|
||||||
</time>
|
</time>
|
||||||
|
|
||||||
|
<span class="mobile__none">
|
||||||
<#list article.articleTags?split(",") as articleTag>
|
<#list article.articleTags?split(",") as articleTag>
|
||||||
<a rel="tag" href="${servePath}/tags/${articleTag?url('UTF-8')}" class="ft__red">
|
<a rel="tag" class="ft__red" href="${servePath}/tags/${articleTag?url('UTF-8')}">
|
||||||
${articleTag}</a><#if articleTag_has_next>, </#if>
|
${articleTag}</a><#if articleTag_has_next>, </#if>
|
||||||
</#list>
|
</#list>
|
||||||
|
</span>
|
||||||
<div class="fn__right">
|
<div class="fn__right">
|
||||||
<a class="ft__red" href="${servePath}${article.articlePermalink}#comments"><#if article.articleCommentCount gt 0>${article.articleCommentCount} </#if>${commentLabel}</a>
|
<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")}
|
${article.articleCreateDate?string("yyyy-MM-dd")}
|
||||||
</time>
|
</time>
|
||||||
|
|
||||||
|
<span class="mobile__none">
|
||||||
<#list article.articleTags?split(",") as articleTag>
|
<#list article.articleTags?split(",") as articleTag>
|
||||||
<a rel="tag" href="${servePath}/tags/${articleTag?url('UTF-8')}" class="ft__red">
|
<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>
|
</#list>
|
||||||
|
</span>
|
||||||
<div class="fn__right">
|
<div class="fn__right">
|
||||||
<a class="ft__red" href="${servePath}${article.articlePermalink}#comments"><#if article.articleCommentCount gt 0>${article.articleCommentCount} </#if>${commentLabel}</a>
|
<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 {
|
.wrapper {
|
||||||
max-width: 768px;
|
max-width: 768px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 0 70px 0 20px; }
|
padding: 0 70px 0 20px;
|
||||||
|
box-sizing: border-box; }
|
||||||
|
|
||||||
.footer {
|
.footer {
|
||||||
color: #999;
|
color: #999;
|
||||||
padding: 30px 0;
|
margin: 30px auto;
|
||||||
line-height: 1.6em;
|
line-height: 1.6em;
|
||||||
font-size: 0.85em; }
|
font-size: 0.85em; }
|
||||||
.footer a {
|
.footer a {
|
||||||
@ -896,7 +897,7 @@ a {
|
|||||||
|
|
||||||
.comment-body-ref {
|
.comment-body-ref {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 664px;
|
width: 80%;
|
||||||
left: 84px; }
|
left: 84px; }
|
||||||
|
|
||||||
.comments__title {
|
.comments__title {
|
||||||
@ -986,3 +987,34 @@ a {
|
|||||||
.form input:focus,
|
.form input:focus,
|
||||||
.form textarea:focus {
|
.form 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; }
|
||||||
|
.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;
|
max-width: 768px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 0 70px 0 20px;
|
padding: 0 70px 0 20px;
|
||||||
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
// footer
|
// footer
|
||||||
.footer {
|
.footer {
|
||||||
color: $gray;
|
color: $gray;
|
||||||
padding: 30px 0;
|
margin: 30px auto;
|
||||||
line-height: 1.6em;
|
line-height: 1.6em;
|
||||||
font-size: 0.85em;
|
font-size: 0.85em;
|
||||||
a {
|
a {
|
||||||
@ -252,7 +253,6 @@ a {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// comments
|
// comments
|
||||||
|
|
||||||
#comments {
|
#comments {
|
||||||
@ -261,7 +261,7 @@ a {
|
|||||||
|
|
||||||
.comment-body-ref {
|
.comment-body-ref {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 664px;
|
width: 80%;
|
||||||
left: 84px;
|
left: 84px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -381,3 +381,56 @@ a {
|
|||||||
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