Clean up jumbotron labels, update to latest shared theme

This commit is contained in:
James 2018-07-13 02:29:03 +10:00
parent d5679b596e
commit 637f13a77b
3 changed files with 17 additions and 10 deletions

View file

@ -39,13 +39,12 @@
{{ $fileTitle := (index (split .Name "-") 1) }}
{{ $fileTitle := (index (split $fileTitle ".") 0) }}
<li class="glide__slide">
<div>
<div class="image is-16by9">
<div class="carousel-caption">{{ $fileTitle }}</div>
<img {{if eq $index 0}}
class="article-image img-responsive center-block"
src="/images/jumbotron{{ $element.Name | relURL }}"
{{else}}
class="article-image img-responsive center-block lazy-load"
class="lazy-load"
data-src="/images/jumbotron{{ $element.Name | relURL }}"
{{end}}
alt="{{ $fileTitle }}">

@ -1 +1 @@
Subproject commit 175e9ea65b63361243ec02b6fafedcc3d2fbfb85
Subproject commit d5f9ad007d223619ff7a7ed0d2911dca3a2c04fa

View file

@ -69,12 +69,20 @@ $blog-entry-single-height: 26em;
// Used for the carousel
.carousel-caption {
text-align: left;
padding: 0 10px;
font-size: 14px;
top: 10px;
padding: 0 5px;
font-size: 0.70rem;
bottom: 0;
right: 0;
position: absolute;
z-index: 5;
text-shadow: -2px 2px 3px #000,-2px -2px 3px #000,2px -2px 3px #000,2px 2px 3px #000;
z-index: 2;
display: inline-block;
min-width: 300px;
border-radius: 5px 0 0 0;
-moz-border-radius: 5px 0 0 0;
-webkit-border-radius: 5px 0 0 0;
// Overrride on regular has-background-dark with transparency
background: rgba(54, 54, 54, 0.85) !important;
}