DIV:
<div class="bg-dark p-t-b-60"><div class="container about">$func_about(navi=epen,para=About,plus=card,len=468,title=10,memo=1,show=title|memo|content|more,more=ENTER DETAIL)$</div></div>
CSS:
.p-t-b-60{ padding-top: 60px; padding-bottom: 60px;}
#epen .RowsTitle .Title{display: flex; flex-direction: row-reverse;flex-wrap: nowrap; justify-content: center; align-items: center;}
#epen .RowsTitle .Title .cn{ display: inline-block; font-size: x-large; font-weight: bold; margin:0 0.5em;}
#epen .RowsTitle .Title .en{ display: inline-block; font-size: xx-large; color:#FB0B28; font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;}
#epen .Subject{ margin-bottom: 20px; text-align: center; text-shadow: 0px 0px 1px #fff;}
#epen .More{ text-align: center;}
#epen .More a{ display: inline-block; padding:10px 50px; background: #FB0B28; color:#fff; line-height:2em;}
#epen .More a:hover{ background:#161616; color:#fff;}
.about .Margin{ display: flex; flex-flow: row nowrap; justify-content:space-between; line-height: 2em; margin-bottom:30px;}
.about .Content .card{ width: 48%; max-height: 362px; overflow: hidden;}
.about .Content .card img{ width: 100%; height: 100%;}
.about .Content .intro{ width: 48%; line-height: 1.9em; text-indent: 2em; color:#aaa;}
.about .Content .intro br{ display:block; line-height: 2.5em;}
.about #epen .RowsTitle{ margin-bottom: 10px;}
.about #epen .RowsTitle .Title .cn{ color:#ccc; border-bottom:2px solid #B03840; line-height:48px; margin: 0; padding:0 10px;}
.about #epen .RowsTitle .Title .en{ border-bottom:2px solid #ccc; padding:0 10px;}
.about #epen .Subject{ color: #666; text-shadow: none; margin-bottom:30px;}
@media (max-width: 768px) {
.p-t-b-60{ padding-top: 40px; padding-bottom: 40px;}
.about .Margin{ flex-direction: column;}
.about .Content .intro,.about .Content .card{ width: auto; margin: 0 0 20px 0;}
.about .RowsTitle .More{ left: 0; right: 0;}
}
模板:epen |