fix(theme): styles
renamed featured header image class on article pages so that they're (somewhat) more distinct from article preview images on list pagespull/7/head
parent
bcf28169fa
commit
934d5f1a7b
|
|
@ -6,7 +6,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{if isset .Params "image" }}
|
{{if isset .Params "image" }}
|
||||||
<img src="{{ index .Params "image" }}" alt="{{ .Title }}" class="preview">
|
<img src="{{ index .Params "image" }}" alt="{{ .Title }}" class="heading">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
<article class="row content" style="margin-top: 2em">
|
<article class="row content" style="margin-top: 2em">
|
||||||
|
|
|
||||||
|
|
@ -55,6 +55,6 @@ article p img {
|
||||||
hyphens: auto;
|
hyphens: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
img.preview {
|
img.preview, img.heading {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue