mirror of
https://github.com/chaoming/hugo-saasify-theme.git
synced 2025-04-20 05:41:52 +02:00
style: make client logos grey with opacity
This commit is contained in:
parent
6b6c9492ae
commit
ab9d07545f
1 changed files with 5 additions and 3 deletions
|
@ -5,11 +5,11 @@
|
|||
<div class="logo-scroll">
|
||||
<div class="logos-slide{{ if ne (.Get "animate" | default "true") "false" }} animate{{ end }}">
|
||||
{{ range .Page.Params.client_logos }}
|
||||
<img src="{{ .logo | relURL }}" alt="{{ .name }}" />
|
||||
<img src="{{ .logo | relURL }}" class="h-20" alt="{{ .name }}" />
|
||||
{{ end }}
|
||||
{{ if ne (.Get "animate" | default "true") "false" }}
|
||||
{{ range .Page.Params.client_logos }}
|
||||
<img src="{{ .logo | relURL }}" alt="{{ .name }}" />
|
||||
<img src="{{ .logo | relURL }}" class="h-20" alt="{{ .name }}" />
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
|
@ -48,10 +48,12 @@
|
|||
}
|
||||
|
||||
.logos-slide img {
|
||||
height: 48px;
|
||||
max-height: 1.5rem;
|
||||
margin: 0 40px;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
filter: grayscale(100%);
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
.logo-scroll.static .logos-slide img {
|
||||
|
|
Loading…
Add table
Reference in a new issue