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 {
|
.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 {
|
.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 {
|
.blog.podcasts .post {
|
||||||
|
|||||||
@@ -149,7 +149,7 @@
|
|||||||
@endforeach
|
@endforeach
|
||||||
|
|
||||||
<div id="items">
|
<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>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
@if($loop->index % 3 == 2)
|
@if($loop->index % 3 == 2 || $loop->last)
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|||||||
@@ -20,17 +20,24 @@
|
|||||||
<div class="author">{{$block->name}}</div>
|
<div class="author">{{$block->name}}</div>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
@elseif($block->type == "image")
|
@elseif($block->type == "image")
|
||||||
<div class="mediabox-image">
|
<a class="post_image page_margin_top prettyPhoto" href="{{$block->image->imageWide}}" title="{{$block->image->title}} © {{$block->image->author}}">
|
||||||
<img src="{{$block->image->imageWide}}" alt="{{$block->image->title}}" 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;">
|
||||||
<span class="mediabox-image-title">{{$block->image->title}} © {{$block->image->author}}</span>
|
</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>
|
</div>
|
||||||
@elseif($block->type == "video")
|
@elseif($block->type == "video")
|
||||||
@include('widgets/mediaplayer')
|
@include('widgets/mediaplayer')
|
||||||
<video controls>
|
<video controls>
|
||||||
@foreach($block->video->streams as $stream)
|
@foreach($block->video->streams as $stream)
|
||||||
<source src="{!!$stream->stream_url!!}" type="application/x-mpegurl" />
|
<source src="{!!$stream->stream_url!!}" type="application/x-mpegurl" />
|
||||||
@endforeach
|
@endforeach
|
||||||
</video>
|
</video>
|
||||||
<span class="author">{{$block->video->author}}</span>
|
<span class="author">{{$block->video->author}}</span>
|
||||||
@endif
|
@endif
|
||||||
@endforeach
|
@endforeach
|
||||||
|
|||||||
Reference in New Issue
Block a user