Highlight post use default image instead of background color
This commit is contained in:
parent
df6d609a5b
commit
f47b298014
2 changed files with 2 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{% assign post = site.posts.first %}
|
||||
<div class="section-highlight section--center mdl-grid mdl-grid--no-spacing mdl-shadow--2dp">
|
||||
|
||||
<header class="section__play-btn mdl-cell mdl-cell--3-col-desktop mdl-cell--2-col-tablet mdl-cell--4-col-phone mdl-color--teal-100 mdl-color-text--white" {% if post.image %} style="background: url('{{ post.image }}') center/cover;" {% endif %}></header>
|
||||
<header class="section__play-btn mdl-cell mdl-cell--3-col-desktop mdl-cell--2-col-tablet mdl-cell--4-col-phone" {% if post.image %} style="background: url('{{ post.image }}') center/cover;" {% endif %}></header>
|
||||
|
||||
<div class="mdl-card mdl-cell mdl-cell--9-col-desktop mdl-cell--6-col-tablet mdl-cell--4-col-phone">
|
||||
<div class="mdl-card__supporting-text">
|
||||
|
|
|
|||
|
|
@ -60,6 +60,7 @@
|
|||
-ms-flex-pack: center;
|
||||
justify-content: center;
|
||||
min-height: 200px;
|
||||
background: url('../img/welcome_card.jpg') center / cover;
|
||||
}
|
||||
|
||||
button {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue