7
1
mirror of https://gitlab.com/ansol/web-ansol.org.git synced 2024-12-23 20:35:45 +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:
Hugo Peixoto 2022-01-15 18:18:01 +00:00
parent e9eb34eb20
commit 415345b5ed
2 changed files with 2 additions and 2 deletions

View File

@ -303,7 +303,7 @@ main section.news-section { margin-top: 20px; }
article.article {
color: #333;
width: calc(100vw - 80px);
max-width: 600px;
max-width: 800px;
margin: 0px auto;
line-height: 1.3em;
}

View File

@ -64,7 +64,7 @@
</div>
{{/* 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">
<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 }}