Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
alain
Make it Open Project Site
Commits
ba258809
Commit
ba258809
authored
Mar 19, 2021
by
Benthe Kuijpers
Browse files
news teaser changes: img cover and margin top excerpt
parent
ab772d5e
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
wordpress/wp-content/themes/makeitopen/assets/css/maps/style.css.map
View file @
ba258809
This diff is collapsed.
Click to expand it.
wordpress/wp-content/themes/makeitopen/assets/css/style.css
View file @
ba258809
This diff is collapsed.
Click to expand it.
wordpress/wp-content/themes/makeitopen/assets/scss/elements/_news-teaser.scss
View file @
ba258809
.news-teaser
{
.img-wrapper
{
line-height
:
0
;
display
:
block
;
@include
colourBg
(
$bg-yellow
,
0deg
);
div
{
height
:
0
;
padding-bottom
:
60%
;
overflow
:
hidden
;
position
:
relative
;
}
img
{
position
:
absolute
;
width
:
100%
;
height
:
100%
;
object-fit
:
cover
;
mix-blend-mode
:
multiply
;
max-width
:
100%
;
z-index
:
-1
;
}
...
...
@@ -44,19 +53,19 @@
font-weight
:
300
;
}
.excerpt
{
display
:
none
;
@media
only
screen
and
(
min-width
:
$medium
)
{
display
:
block
;
margin
:
20px
0
;
font-size
:
20px
;
line-height
:
32px
;
}
}
&
.text-link
{
padding
:
0
0
0
5px
;
}
}
.excerpt
{
display
:
none
;
@media
only
screen
and
(
min-width
:
$medium
)
{
display
:
block
;
margin
:
20px
0
;
font-size
:
20px
;
line-height
:
32px
;
}
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment