This commit is contained in:
parent
453daf2288
commit
4038dbe25d
@ -46,9 +46,7 @@
|
|||||||
</sup>
|
</sup>
|
||||||
</#if>
|
</#if>
|
||||||
</h2>
|
</h2>
|
||||||
<div class="content-reset article__content">
|
<div class="article__thumbnail" style="background-image: url(${article.articleImg1URL})"/>
|
||||||
${article.articleAbstract}
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="article__meta ft-gray fn-flex">
|
<div class="article__meta ft-gray fn-flex">
|
||||||
|
File diff suppressed because one or more lines are too long
@ -21,7 +21,6 @@
|
|||||||
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
|
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
|
||||||
* @version 2.0.0.0, Feb 21, 2019
|
* @version 2.0.0.0, Feb 21, 2019
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@import "../../../scss/reset-content";
|
@import "../../../scss/reset-content";
|
||||||
@import "../../../scss/reset";
|
@import "../../../scss/reset";
|
||||||
@import "../../../scss/nprogress";
|
@import "../../../scss/nprogress";
|
||||||
@ -487,88 +486,101 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* star article */
|
/* star article */
|
||||||
.article__wrap {
|
.article {
|
||||||
|
&__main {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
&__thumbnail {
|
||||||
|
margin: 10px 0;
|
||||||
|
background-position: center center;
|
||||||
|
background-size: cover;
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
&__wrap {
|
||||||
margin-right: -20px
|
margin-right: -20px
|
||||||
}
|
}
|
||||||
|
|
||||||
.article__item {
|
&__item {
|
||||||
border: 1px solid rgba(0, 0, 0, 0.1);
|
border: 1px solid rgba(0, 0, 0, 0.1);
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
float: left
|
float: left
|
||||||
}
|
}
|
||||||
|
|
||||||
.article__item--big {
|
&__item--big {
|
||||||
width: 318px;
|
width: 318px;
|
||||||
margin-right: 20px
|
margin-right: 20px
|
||||||
}
|
}
|
||||||
|
|
||||||
.article__item--big .article__main {
|
&__item--big .article__main {
|
||||||
height: 275px;
|
height: 236px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
margin-bottom: 10px
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.article__item--small {
|
&__item--small {
|
||||||
width: 318px;
|
width: 318px;
|
||||||
margin-right: 20px
|
margin-right: 20px;
|
||||||
}
|
.article__thumbnail {
|
||||||
|
background-image: none !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.article__item--small .article__main {
|
&__item--small .article__main {
|
||||||
height: 94px;
|
height: 91px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
margin-bottom: 10px
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.article__item--mid {
|
&__item--mid {
|
||||||
width: 488px;
|
width: 488px;
|
||||||
margin-right: 20px
|
margin-right: 20px
|
||||||
}
|
}
|
||||||
|
|
||||||
.article__item--mid .article__main {
|
&__item--mid .article__main {
|
||||||
height: 195px;
|
height: 195px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
margin-bottom: 10px
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.article__panel {
|
&__panel {
|
||||||
padding: 16px
|
padding: 16px
|
||||||
}
|
}
|
||||||
|
|
||||||
.article__title {
|
&__title {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
line-height: 24px;
|
line-height: 24px;
|
||||||
font-size: 21px;
|
font-size: 21px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
word-break: break-all
|
word-break: break-all
|
||||||
}
|
}
|
||||||
|
|
||||||
.article__title a {
|
&__title a {
|
||||||
color: rgba(0, 0, 0, 0.84)
|
color: rgba(0, 0, 0, 0.84)
|
||||||
}
|
}
|
||||||
|
|
||||||
.article__title a:hover {
|
&__title a:hover {
|
||||||
text-decoration: none
|
text-decoration: none
|
||||||
}
|
}
|
||||||
|
|
||||||
.article__title sup {
|
&__title sup {
|
||||||
top: -6px;
|
top: -6px;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
color: #03a87c;
|
color: #03a87c;
|
||||||
}
|
}
|
||||||
|
|
||||||
.article__content {
|
&__content {
|
||||||
margin-top: 4px;
|
margin-top: 4px;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
color: rgba(0, 0, 0, 0.54);
|
color: rgba(0, 0, 0, 0.54);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
line-height: 23px;
|
line-height: 23px;
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
}
|
}
|
||||||
|
|
||||||
.article__meta {
|
&__meta {
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
line-height: 23px;
|
line-height: 23px;
|
||||||
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* end article list */
|
/* end article list */
|
||||||
@ -880,18 +892,17 @@
|
|||||||
|
|
||||||
.page__item {
|
.page__item {
|
||||||
display: block;
|
display: block;
|
||||||
border-bottom: 1px solid rgba(0,0,0,0.05);
|
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
|
||||||
padding: 40px 0 35px
|
padding: 40px 0 35px
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
.header {
|
.header {
|
||||||
text-align:left
|
text-align: left
|
||||||
}
|
}
|
||||||
|
|
||||||
.header__logo,
|
.header__logo,
|
||||||
.post__side,.article__next,#articleBottomShare,#articleShare,
|
.post__side, .article__next, #articleBottomShare, #articleShare,
|
||||||
.article__comment .comment__avatar {
|
.article__comment .comment__avatar {
|
||||||
display: none
|
display: none
|
||||||
}
|
}
|
||||||
@ -930,11 +941,11 @@
|
|||||||
display: block
|
display: block
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer__tag>div {
|
.footer__tag > div {
|
||||||
margin: 0 0 50px
|
margin: 0 0 50px
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer__tag>div:last-child {
|
.footer__tag > div:last-child {
|
||||||
margin: 0
|
margin: 0
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -947,7 +958,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Make clicks pass-through */
|
/* Make clicks pass-through */
|
||||||
#nprogress .bar {
|
#nprogress .bar {
|
||||||
background: #d23f31;
|
background: #d23f31;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user