diff --git a/assets/styles/main.sass b/assets/styles/main.sass index 0283b07..3c01442 100644 --- a/assets/styles/main.sass +++ b/assets/styles/main.sass @@ -42,6 +42,19 @@ body &:first-child:last-child img margin: 0 auto +.grand + margin: 1rem calc((960px - 650px) / 2 * -1) + @media screen and (max-width: $size-lg) + margin: 1rem calc((960px - 650px) / 3 * -1) + @media screen and (max-width: $size-md) + margin: 1rem -2rem + @media screen and (max-width: $size-sm) + margin: 1rem -1rem + @media screen and (max-width: $size-xs) + margin: 1rem -.5rem + img + width: 100% + .round border-radius: 100% @@ -185,7 +198,7 @@ hr font-size: .9rem .md - max-width: 645px + max-width: 650px margin-left: auto margin-right: auto @media screen and (max-width: $size-sm) @@ -241,7 +254,8 @@ details > summary blockquote font-size: 1em - margin: 50px auto + margin-top: 50px !important + margin-bottom: 50px !important font-family: Open Sans font-style: italic color: #555555 @@ -251,9 +265,6 @@ blockquote background: #EDEDED position: relative - left: 0 - right: 0 - max-width: 100% & > :first-child margin-top: 0 diff --git a/layouts/_default/_markup/render-image.html b/layouts/_default/_markup/render-image.html index 86a9c64..f3a9545 100644 --- a/layouts/_default/_markup/render-image.html +++ b/layouts/_default/_markup/render-image.html @@ -4,7 +4,7 @@ {{ $path := cond (in .Destination "/") .Destination (path.Join "/" .Page.File.Dir .Destination) }} {{ $image := .Page.Resources.GetMatch (printf "*%s*" .Destination) }} {{ with $image }} - {{ $resized := $image.Resize "610x q100 webp" }} + {{ $resized := $image.Resize "960x q100 webp" }} {{ $path = $resized.RelPermalink }} {{ end }} {{ .Text }}