Change homeblob color, smallimg retina fix, and smaller footer icons
This commit is contained in:
@@ -23,7 +23,6 @@ p {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
z-index: -1;
|
||||
color: white;
|
||||
background-position: center;
|
||||
background-size: cover;
|
||||
}
|
||||
@@ -455,7 +454,7 @@ footer {
|
||||
margin: 1rem 0;
|
||||
}
|
||||
.footer-icon {
|
||||
max-width: 3.2rem;
|
||||
max-width: 3rem;
|
||||
margin: 0;
|
||||
}
|
||||
@media screen and (pointer: coarse) {
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
<source srcset="{{ replace (.Get "src") (path.Ext (.Get "src")) ".webp" | absURL }}" type="image/webp">
|
||||
{{- end }}
|
||||
{{ $image := $.Page.Resources.GetMatch (.Get "src") }}
|
||||
{{ if or (gt $image.Width 800) (and (isset .Params "width") (gt $image.Width (.Get "width"))) -}}
|
||||
{{ $.Scratch.Set "imgwidth" "800" }}
|
||||
{{ if and (isset .Params "width") (lt (.Get "width") 800) -}}
|
||||
{{ $.Scratch.Set "imgwidth" (trim (.Get "width") "px") }}
|
||||
{{ if or (gt $image.Width 1600) (and (isset .Params "width") (gt $image.Width (.Get "width"))) -}}
|
||||
{{ $.Scratch.Set "imgwidth" "1600" }}
|
||||
{{ if and (isset .Params "width") (lt (.Get "width") 1600) -}}
|
||||
{{ $.Scratch.Set "imgwidth" (mul (int (trim (.Get "width") "px")) 2) }}
|
||||
{{- end }}
|
||||
{{ $resized := $image.Resize (printf "%sx Lanczos" ($.Scratch.Get "imgwidth")) }}
|
||||
{{ $resized := $image.Resize (printf "%dx Lanczos" ($.Scratch.Get "imgwidth")) }}
|
||||
<source srcset="{{ $resized.Permalink }}">
|
||||
<img src="{{ $resized.Permalink }}" class="small-img {{ if isset .Params "smartfloat" -}}
|
||||
{{- if eq .Params.smartfloat "left" -}}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<feComposite operator="in" in2="blur"/>
|
||||
<feComposite in="SourceGraphic"/>
|
||||
</filter>
|
||||
<filter id="Path_6" x="61.201" y="85.157" width="864.12" height="505.297" filterUnits="userSpaceOnUse">
|
||||
<filter id="Path_6" x="61.206" y="85.162" width="864.119" height="505.298" filterUnits="userSpaceOnUse">
|
||||
<feOffset dy="5" input="SourceAlpha"/>
|
||||
<feGaussianBlur stdDeviation="7.5" result="blur-2"/>
|
||||
<feFlood flood-opacity="0.251"/>
|
||||
@@ -16,12 +16,12 @@
|
||||
</filter>
|
||||
</defs>
|
||||
<g id="cool-background" transform="translate(22.5 17.5)">
|
||||
<path id="Path_1" data-name="Path 1" d="M727.865,81.108q-27.1-60.347,10.248-75.669C775.461-9.884,864.267-16.013,901.388-49.251s150.3-7.543,169.659,49.5,54.209,144.974-129.57,144.974q-183.78,0-213.612-64.118Z" transform="translate(-481.865 376.242)" fill="#fffa72"/>
|
||||
<path id="Path_1" data-name="Path 1" d="M727.865,81.107q-27.1-60.347,10.248-75.669C775.461-9.884,864.267-16.013,901.388-49.251s150.3-7.543,169.659,49.5,54.209,144.976-129.569,144.976q-183.778,0-213.612-64.118Z" transform="translate(-481.867 376.245)" fill="#fffa72"/>
|
||||
<g transform="matrix(1, 0, 0, 1, -22.5, -17.5)" filter="url(#Path_3)">
|
||||
<path id="Path_3-2" data-name="Path 3" d="M343.971,269.935q8.609-159.92,128-200.524c119.392-40.6,362.9-56.846,505.563-144.927S1385.888-95.5,1361.159,55.669s-49.551,384.18-536.564,384.18q-487.018,0-480.622-169.914Z" transform="translate(-321.39 132.1)" fill="#2a2a84"/>
|
||||
<path id="Path_3-2" data-name="Path 3" d="M343.971,269.935q8.609-159.92,128-200.524c119.392-40.6,362.9-56.846,505.563-144.927S1385.887-95.5,1361.158,55.67s-49.551,384.18-536.564,384.18q-487.018,0-480.622-169.914Z" transform="translate(-321.39 132.1)" fill="#233665"/>
|
||||
</g>
|
||||
<g transform="matrix(1, 0, 0, 1, -22.5, -17.5)" filter="url(#Path_6)">
|
||||
<path id="Path_6-2" data-name="Path 6" d="M442.65,218.437Q429.712,85.673,523.73,51.964C617.749,18.255,817.863,4.771,925.24-68.353S1261.74-84.947,1260.2,40.555,1267.311,359.5,863,359.5q-404.317,0-420.347-141.06Z" transform="translate(-357.38 203.46)" fill="#6fc97d"/>
|
||||
<path id="Path_6-2" data-name="Path 6" d="M442.65,218.438Q429.712,85.674,523.73,51.965C617.749,18.256,817.863,4.772,925.24-68.352S1261.74-84.946,1260.2,40.556,1267.311,359.5,863,359.5q-404.317,0-420.347-141.06Z" transform="translate(-357.38 203.46)" fill="#8bd8bd"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
@@ -18,10 +18,10 @@
|
||||
<g id="cool-background" transform="translate(-309.407 133.702)">
|
||||
<path id="Path_1" data-name="Path 1" d="M727.865.118q-27.1,60.347,10.248,75.669c37.348,15.322,126.154,21.451,163.275,54.689s150.3,7.543,169.659-49.5S1125.256-64,941.478-64Q757.7-64,727.866.118Z" transform="translate(-149.958 -19.221)" fill="#fffa72"/>
|
||||
<g transform="matrix(1, 0, 0, 1, 309.41, -133.7)" filter="url(#Path_3)">
|
||||
<path id="Path_3-2" data-name="Path 3" d="M343.971,55.314q8.609,159.92,128,200.524c119.392,40.6,362.9,56.846,505.563,144.927s408.353,19.988,383.624-131.185S1311.607-114.6,824.594-114.6q-487.018,0-480.622,169.914Z" transform="translate(-321.39 132.1)" fill="#2a2a84"/>
|
||||
<path id="Path_3-2" data-name="Path 3" d="M343.971,55.314q8.609,159.92,128,200.524c119.392,40.6,362.9,56.846,505.563,144.927s408.353,19.988,383.624-131.185S1311.607-114.6,824.594-114.6q-487.018,0-480.622,169.914Z" transform="translate(-321.39 132.1)" fill="#233665"/>
|
||||
</g>
|
||||
<g transform="matrix(1, 0, 0, 1, 309.41, -133.7)" filter="url(#Path_6)">
|
||||
<path id="Path_6-2" data-name="Path 6" d="M442.65,40.26q-12.938,132.764,81.08,166.473c94.019,33.709,294.133,47.193,401.51,120.317s336.5,16.594,334.956-108.908S1267.311-100.8,863-100.8q-404.317,0-420.347,141.06Z" transform="translate(-357.38 127.29)" fill="#6fc97d"/>
|
||||
<path id="Path_6-2" data-name="Path 6" d="M442.65,40.26q-12.938,132.764,81.08,166.473c94.019,33.709,294.133,47.193,401.51,120.317s336.5,16.594,334.956-108.908S1267.311-100.8,863-100.8q-404.317,0-420.347,141.06Z" transform="translate(-357.38 127.29)" fill="#8BD8BD"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
Reference in New Issue
Block a user