Layoutwijzigingen minor

This commit is contained in:
2020-01-24 20:51:04 +01:00
parent 23d2ee993a
commit 29a447005c
4 changed files with 19 additions and 9 deletions

View File

@@ -116,11 +116,14 @@ button[disabled]:hover
}
.blog_grid .post.large {
height: 526px; /* small items have 2 x 2px margin, so 3 * 174 + 2 * 2 */
/* Width is 787px, so ensure largest photo has 16:9 ratio. */
height: 442px;
}
.blog_grid .post.small {
height: 174px;
/* Height of main is 442, minus two 2px margins, leaves 146px per item */
height: 146px;
overflow: hidden;
}
.blog.podcasts .post {

View File

@@ -149,7 +149,7 @@
@endforeach
<div id="items">
@include('partial/newslist_small', array_slice($news, 10, count($news)))
@include('partial/newslist_small', ['news' => array_slice($news, 11, count($news))])
</div>
<div>

View File

@@ -33,7 +33,7 @@
</ul>
</div>
</li>
@if($loop->index % 3 == 2)
@if($loop->index % 3 == 2 || $loop->last)
</ul>
</div>
@endif

View File

@@ -20,9 +20,16 @@
<div class="author">{{$block->name}}</div>
</blockquote>
@elseif($block->type == "image")
<div class="mediabox-image">
<img src="{{$block->image->imageWide}}" alt="{{$block->image->title}}" title="{{$block->image->title}} &copy;{{$block->image->author}}"/>
<span class="mediabox-image-title">{{$block->image->title}} &copy; {{$block->image->author}}</span>
<a class="post_image page_margin_top prettyPhoto" href="{{$block->image->imageWide}}" title="{{$block->image->title}} &copy; {{$block->image->author}}">
<img src="{{$block->image->imageWide}}" class="attachment-small-slider-thumb size-small-slider-thumb wp-post-image" alt="{{$block->image->title}}" title="" style="display: block;">
</a>
<div class="sentence">
@if($block->image->title)
<span class="text">{{$block->image->title}}</span>
@endif
@if($block->image->author)
<span class="author">{{$block->image->author}}</span>
@endif
</div>
@elseif($block->type == "video")
@include('widgets/mediaplayer')