diff options
author | Chip Senkbeil <chip.senkbeil@gmail.com> | 2015-08-31 03:43:08 +0300 |
---|---|---|
committer | Chip Senkbeil <chip.senkbeil@gmail.com> | 2015-08-31 03:43:08 +0300 |
commit | b3b08ac00693c6866c910f436166cf780535fa1c (patch) | |
tree | d57eb9d53991f9f43d180bccb0a6c0f8001af69c | |
parent | fd8d6ec2489f515dd803bd988ba5f2ed9010a428 (diff) |
Added black overlay to always-shown text, added conditional to show highlight block
-rw-r--r-- | layouts/partials/cell.html | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/layouts/partials/cell.html b/layouts/partials/cell.html index 640855d..9fd4204 100644 --- a/layouts/partials/cell.html +++ b/layouts/partials/cell.html @@ -21,15 +21,18 @@ 33.33vh {{ end }}; "> + <!-- Show text permanently --> {{ if eq .always_show_text true }} - <div class="center-items center-text fill-container"> - <h3>{{ .name }}</h3> + <div class="center-items center-text fill-container black-overlay"> + <h3 class="white-text">{{ .name }}</h3> </div> {{ end }} - <div class="highlight-block"> - <h3>{{ .name }}</h3> - </div> + {{ if not (eq .no_highlight true) }} + <div class="highlight-block"> + <h3 class="white-text">{{ .name }}</h3> + </div> + {{ end }} </div> </a> |