mirror of
https://gitlab.com/ansol/web-ansol.org.git
synced 2024-11-21 22:01:31 +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 {
|
||||
color: #333;
|
||||
width: calc(100vw - 80px);
|
||||
max-width: 600px;
|
||||
max-width: 800px;
|
||||
margin: 0px auto;
|
||||
line-height: 1.3em;
|
||||
}
|
||||
|
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user