mirror of
https://gitlab.com/ansol/web-ansol.org.git
synced 2024-11-25 15:43:17 +00:00
Aumenta largura dos artigos
600px era muito pouco, aumentei para 800px. Com isso apanhei algumas esquisitices do layout.
This commit is contained in:
parent
e9eb34eb20
commit
415345b5ed
@ -303,7 +303,7 @@ main section.news-section { margin-top: 20px; }
|
|||||||
article.article {
|
article.article {
|
||||||
color: #333;
|
color: #333;
|
||||||
width: calc(100vw - 80px);
|
width: calc(100vw - 80px);
|
||||||
max-width: 600px;
|
max-width: 800px;
|
||||||
margin: 0px auto;
|
margin: 0px auto;
|
||||||
line-height: 1.3em;
|
line-height: 1.3em;
|
||||||
}
|
}
|
||||||
|
@ -64,7 +64,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{/* Featured image */}}
|
{{/* Featured image */}}
|
||||||
<div class="article-header {{$image_container}} featured-image-wrapper mt-4 mb-4" style="max-width: {{$image.Width}}px; max-height: {{$image.Height}}px;">
|
<div class="article-header {{$image_container}} featured-image-wrapper mt-4 mb-4">
|
||||||
<div style="position: relative">
|
<div style="position: relative">
|
||||||
<img src="{{ $image.RelPermalink }}" alt="{{ with $.Params.image.alt_text }}{{.}}{{ end }}" class="featured-image">
|
<img src="{{ $image.RelPermalink }}" alt="{{ with $.Params.image.alt_text }}{{.}}{{ end }}" class="featured-image">
|
||||||
{{ with $.Params.image.caption }}<div class="featured-image-caption">{{ . | markdownify | emojify }}</div>{{ end }}
|
{{ with $.Params.image.caption }}<div class="featured-image-caption">{{ . | markdownify | emojify }}</div>{{ end }}
|
||||||
|
Loading…
Reference in New Issue
Block a user