style fixes
All checks were successful
website-main / prod-build (push) Successful in 13s
website-main / test-build (push) Successful in 5s

This commit is contained in:
Denys Konovalov 2024-01-03 12:14:44 +01:00
parent 7db204b6d4
commit eab1d36be5
Signed by: Denys Konovalov
GPG Key ID: 0037E1B0E33BD2C9
3 changed files with 14 additions and 19 deletions

@ -262,7 +262,7 @@ textarea.form-control {
border-color: var(--gcg-color-primary);
}
.content * {
.content *:not(details, details > *) {
margin-bottom: 20px;
}
@ -366,7 +366,7 @@ summary {
color: var(--gcg-color-secondary);
}
summary.hover {
summary:hover {
color: var(--gcg-color-primary);
}
@ -399,11 +399,6 @@ details[open] summary {
font-size: 96px;
}
#wc-canvas {
width: 100%;
height: 600px;
}
.filter-controls li {
cursor: pointer;
transition: 0.1s ease;

@ -3,8 +3,8 @@
<details>
<summary>{{ .title }}</summary>
<div class="content text-justify">
{{ .content | markdownify | emojify }}
<div>{{ .content }}</div>
</div>
</details>
</div>
</div>
</div>

@ -1,10 +1,10 @@
{{- $pc := .Page.Site.Config.Privacy.YouTube -}}
{{- if not $pc.Disable -}}
{{- $ytHost := cond $pc.PrivacyEnhanced "piped.kavin.rocks" "www.youtube.com" -}}
{{- $id := .Get "id" | default (.Get 0) -}}
{{- $class := .Get "class" | default (.Get 1) -}}
{{- $title := .Get "title" | default "YouTube Video" }}
<div {{ with $class }}class="{{ . }}" {{ else }} style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;"{{ end }}>
<iframe src="https://{{ $ytHost }}/embed/{{ $id }}{{ with .Get "autoplay" }}{{ if eq . "true" }}?autoplay=1{{ end }}{{ end }}" {{ if not $class }}style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" {{ end }}allowfullscreen title="{{ $title }}"></iframe>
</div>
{{ end -}}
{{ $pc := .Page.Site.Config.Privacy.YouTube }}
{{ if not $pc.Disable }}
{{ $ytHost := cond $pc.PrivacyEnhanced "piped.kavin.rocks" "www.youtube.com" }}
{{ $id := .Get "id" | default (.Get 0) }}
{{ $class := .Get "class" | default (.Get 1) }}
{{ $title := .Get "title" | default "YouTube Video" }}
<div {{ with $class }}class="{{ . }}" {{ else }} style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;"{{ end }}>
<iframe src="https://{{ $ytHost }}/embed/{{ $id }}{{ with .Get "autoplay" }}{{ if eq . "true" }}?autoplay=1{{ end }}{{ end }}" {{ if not $class }}style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" {{ end }}allowfullscreen title="{{ $title }}"></iframe>
</div>
{{ end }}