fix: some css and js style

This commit is contained in:
Dillon 2022-05-03 16:22:17 +08:00
parent 7ff5ef43aa
commit 2f86ca014c
No known key found for this signature in database
GPG key ID: 0EF4AE57FB98F108
7 changed files with 26 additions and 25 deletions

View file

@ -68,7 +68,7 @@
}
.archive-item-date {
width: 6em;
width: 5em;
text-align: right;
color: $global-font-secondary-color;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,22 +1,22 @@
{{- $content := .Content -}}
{{- if ne "" $content -}}
{{- if $content -}}
{{- if .Ruby -}}
{{- $content = partial "function/ruby.html" $content -}}
{{- end -}}
{{- if .Ruby -}}
{{- $content = partial "function/ruby.html" $content -}}
{{- end -}}
{{- if .Fraction -}}
{{- $content = partial "function/fraction.html" $content -}}
{{- end -}}
{{- if .Fraction -}}
{{- $content = partial "function/fraction.html" $content -}}
{{- end -}}
{{- if .Fontawesome -}}
{{- $content = partial "function/fontawesome.html" $content -}}
{{- end -}}
{{- if .Fontawesome -}}
{{- $content = partial "function/fontawesome.html" $content -}}
{{- end -}}
{{- $content = partial "function/checkbox.html" $content -}}
{{- $content = partial "function/checkbox.html" $content -}}
{{- $content = partial "function/escape.html" $content -}}
{{- $content = partial "function/escape.html" $content -}}
{{- end -}}

View file

@ -175,11 +175,12 @@
</div>
</div>
</header>
{{- if .Site.Params.search.enable -}}
<div class="search-dropdown desktop">
<div id="search-dropdown-desktop"></div>
</div>
<div class="search-dropdown mobile">
<div id="search-dropdown-mobile"></div>
</div>
<div class="search-dropdown desktop">
<div id="search-dropdown-desktop"></div>
</div>
<div class="search-dropdown mobile">
<div id="search-dropdown-mobile"></div>
</div>
{{- end -}}

View file

@ -6,4 +6,4 @@
{{- with .Content -}}
{{- . | safeHTML -}}
{{- end -}}
</a>
</a>

File diff suppressed because one or more lines are too long