Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-blk
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
1
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
biao
9 years ago
Commit
3354ed8289c1efba75a7b2a11a98111c4a3e7c52
1 parent
98222572
update for style
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
apps/channel/views/partial/ad-banner.hbs
public/scss/channel/_ad-banner.css
public/scss/channel/_editorial.css
apps/channel/views/partial/ad-banner.hbs
View file @
3354ed8
<div
class=
"ad-banner"
>
{{#
adBanner
}}
<a
href=
"
{{
url
}}
"
target=
"_blank"
>
<img
class=
"lazy-img"
data-original=
"
{{
image
src
1150
16
0
}}
"
title=
"
{{
title
}}
"
alt=
"
{{
alt
}}
"
>
<img
class=
"lazy-img"
data-original=
"
{{
image
src
1150
16
3
}}
"
title=
"
{{
title
}}
"
alt=
"
{{
alt
}}
"
>
</a>
{{/
adBanner
}}
</div>
...
...
public/scss/channel/_ad-banner.css
View file @
3354ed8
.ad-banner
{
height
:
16
0
px
;
height
:
16
3
px
;
margin-top
:
15px
;
img
{
...
...
public/scss/channel/_editorial.css
View file @
3354ed8
.editorial-container
{
$
bigImgWidth
:
390px
;
$
smallImgWidth
:
358px
;
$
smallImgHeight
:
243px
;
$
smallImgWidth
:
360px
;
$
smallImgHeight
:
240px
;
$
space
:
10px
;
@extend
.resource-container;
...
...
@@ -19,7 +19,7 @@
position
:
relative
;
&.bottom-space
{
margin-bottom
:
1
4
px
;
margin-bottom
:
1
5
px
;
}
&
.right-space
{
...
...
Please
register
or
login
to post a comment