small fixes

This commit is contained in:
teldra 2022-04-12 08:35:34 +02:00
parent 57ce85ded1
commit ebd644f357
4 changed files with 6 additions and 13 deletions

View File

@ -2,4 +2,3 @@
title: "Archiv"
layout: "archive"
---
ewdsfsdf

View File

@ -2,12 +2,6 @@ fieldset {
display: flex; flex-direction: row; padding: 0; border: none; margin: 0 0 .3rem .5rem;
}
#result {
-webkit-user-select: all;
user-select: all;
}
input, textarea {
background-color: var(--background-body);
color: var(--text-link)

View File

@ -12,15 +12,15 @@
{{- $thumb = $img.Resize "1024x" }}
{{ end }}
<section>
<div id="articleinner">
<div class="articleinner">
{{ if (ne $img "") }}
<div id="articlepicture" class="{{ "multiple_medium" }} margin_right_1rem">
<div class="articlepicture {{ "multiple_medium" }} margin_right_1rem">
{{ if and (ne .type "list") (.context.Resources.ByType "image") }}<a href="{{- $img.Permalink -}}">{{ end }}
<img src="{{- $thumb.Permalink -}}" class="borderrad4px" />
{{ if ne .type "list" }}</a>{{ end }}
</div>
{{ end }}
<div id="articletext" class="{{ $text }}">
<div class="articletext {{ $text }}">
{{ if .partial_before }}
{{ partial .partial_before (dict "context" .context "pic" .pic) }}
{{ end }}

View File

@ -15,16 +15,16 @@
{{ end }}
<section>
<div id="articleinner">
<div class="articleinner">
{{ if and (ne $img "") (eq .pic true)}}
<div id="articlepicture" class="{{ $pic }}">
<div class="articlepicture {{ $pic }}">
{{ if and (ne .type "list") (.context.Resources.ByType "image") }}<a href="{{- $img.Permalink -}}">{{ end }}
<img src="{{- $thumb.Permalink -}}" class="borderrad4px" />
{{ if ne .type "list" }}</a>{{ end }}
{{ if eq .type "article" }}{{ end }}
</div>
{{ end }}
<div id="articletext" class="{{ $text }}">
<div class="articletext {{ $text }}">
{{ if .partial_before }}
{{ partial .partial_before (dict "context" .context "pic" .pic) }}
{{ end }}