style fixes
This commit is contained in:
parent
7db204b6d4
commit
eab1d36be5
@ -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,7 +3,7 @@
|
||||
<details>
|
||||
<summary>{{ .title }}</summary>
|
||||
<div class="content text-justify">
|
||||
{{ .content | markdownify | emojify }}
|
||||
<div>{{ .content }}</div>
|
||||
</div>
|
||||
</details>
|
||||
</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 }}
|
Loading…
x
Reference in New Issue
Block a user