Layoutwijzigingen minor
This commit is contained in:
7
website/public/css/nhgooi.css
vendored
7
website/public/css/nhgooi.css
vendored
@@ -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 {
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
@if($loop->index % 3 == 2)
|
||||
@if($loop->index % 3 == 2 || $loop->last)
|
||||
</ul>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@@ -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}} ©{{$block->image->author}}"/>
|
||||
<span class="mediabox-image-title">{{$block->image->title}} © {{$block->image->author}}</span>
|
||||
<a class="post_image page_margin_top prettyPhoto" href="{{$block->image->imageWide}}" title="{{$block->image->title}} © {{$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')
|
||||
|
||||
Reference in New Issue
Block a user