style fixes
This commit is contained in:
parent
7db204b6d4
commit
eab1d36be5
@ -262,7 +262,7 @@ textarea.form-control {
|
|||||||
border-color: var(--gcg-color-primary);
|
border-color: var(--gcg-color-primary);
|
||||||
}
|
}
|
||||||
|
|
||||||
.content * {
|
.content *:not(details, details > *) {
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -366,7 +366,7 @@ summary {
|
|||||||
color: var(--gcg-color-secondary);
|
color: var(--gcg-color-secondary);
|
||||||
}
|
}
|
||||||
|
|
||||||
summary.hover {
|
summary:hover {
|
||||||
color: var(--gcg-color-primary);
|
color: var(--gcg-color-primary);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -399,11 +399,6 @@ details[open] summary {
|
|||||||
font-size: 96px;
|
font-size: 96px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#wc-canvas {
|
|
||||||
width: 100%;
|
|
||||||
height: 600px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.filter-controls li {
|
.filter-controls li {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: 0.1s ease;
|
transition: 0.1s ease;
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<details>
|
<details>
|
||||||
<summary>{{ .title }}</summary>
|
<summary>{{ .title }}</summary>
|
||||||
<div class="content text-justify">
|
<div class="content text-justify">
|
||||||
{{ .content | markdownify | emojify }}
|
<div>{{ .content }}</div>
|
||||||
</div>
|
</div>
|
||||||
</details>
|
</details>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
{{- $pc := .Page.Site.Config.Privacy.YouTube -}}
|
{{ $pc := .Page.Site.Config.Privacy.YouTube }}
|
||||||
{{- if not $pc.Disable -}}
|
{{ if not $pc.Disable }}
|
||||||
{{- $ytHost := cond $pc.PrivacyEnhanced "piped.kavin.rocks" "www.youtube.com" -}}
|
{{ $ytHost := cond $pc.PrivacyEnhanced "piped.kavin.rocks" "www.youtube.com" }}
|
||||||
{{- $id := .Get "id" | default (.Get 0) -}}
|
{{ $id := .Get "id" | default (.Get 0) }}
|
||||||
{{- $class := .Get "class" | default (.Get 1) -}}
|
{{ $class := .Get "class" | default (.Get 1) }}
|
||||||
{{- $title := .Get "title" | default "YouTube Video" }}
|
{{ $title := .Get "title" | default "YouTube Video" }}
|
||||||
<div {{ with $class }}class="{{ . }}" {{ else }} style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;"{{ end }}>
|
<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>
|
<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>
|
</div>
|
||||||
{{ end -}}
|
{{ end }}
|
Loading…
x
Reference in New Issue
Block a user