* add thumnail class to post thumbnails
* fix typo in css
This commit is contained in:
parent
539033ec6d
commit
a9ac1207c0
@ -289,10 +289,9 @@ figure {
|
|||||||
float: left;
|
float: left;
|
||||||
margin: 1ex;
|
margin: 1ex;
|
||||||
}
|
}
|
||||||
figure img {
|
img.thumbnail {
|
||||||
max-width:256px;
|
max-width: 350px;
|
||||||
max-height:128px;
|
max-height: 350px;
|
||||||
max-width:100%;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.thread {
|
.thread {
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
{{#Attachments}}
|
{{#Attachments}}
|
||||||
<figure>
|
<figure>
|
||||||
<figcaption>
|
<figcaption>
|
||||||
<a href="{{Source}}" title="{{Filename}}" target="_blank"><img src="{{Thumbnail}}" alt="{{Filename}}" /></a>
|
<a href="{{Source}}" title="{{Filename}}" target="_blank"><img src="{{Thumbnail}}" alt="{{Filename}}" class="thumbnail"/></a>
|
||||||
</figcaption>
|
</figcaption>
|
||||||
</figure>
|
</figure>
|
||||||
{{/Attachments}}
|
{{/Attachments}}
|
||||||
|
Reference in New Issue
Block a user