From ca7a86a1fffb7f3e01c79c38142772de4de3613f Mon Sep 17 00:00:00 2001 From: brooke <brooke@myco.systems> Date: Thu, 12 Sep 2024 14:19:05 -0400 Subject: [PATCH] set max widtih to the entire container --- themes/mir/layouts/_default/baseof.html | 14 ++++++++------ themes/mir/layouts/partials/header.html | 2 +- themes/mir/layouts/partials/list.html | 2 +- themes/mir/layouts/partials/quote.html | 2 +- 4 files changed, 11 insertions(+), 9 deletions(-) diff --git a/themes/mir/layouts/_default/baseof.html b/themes/mir/layouts/_default/baseof.html index 21b324d..4b4a078 100644 --- a/themes/mir/layouts/_default/baseof.html +++ b/themes/mir/layouts/_default/baseof.html @@ -2,12 +2,14 @@ <html lang="en"> {{ partial "head.html" . }} -<body class="bg-white text-[#192252] flex flex-col"> - {{ partial "nav.html" . }} - <section class="min-h-[1000px]"> - {{ block "main" . }}{{ end }} - </section> {{ partial - "footer.html" . }} +<body class="bg-white text-[#192252] flex flex-col justify-center items-center"> + <section class="max-w-[1000px]"> + {{ partial "nav.html" . }} + <section class="min-h-[1000px]"> + {{ block "main" . }}{{ end }} + </section> {{ partial + "footer.html" . }} + </section> </body> </html> \ No newline at end of file diff --git a/themes/mir/layouts/partials/header.html b/themes/mir/layouts/partials/header.html index e2b7be3..2c83e44 100644 --- a/themes/mir/layouts/partials/header.html +++ b/themes/mir/layouts/partials/header.html @@ -1,4 +1,4 @@ -<section class="flex py-24 px-5 gap-4 flex-col md:flex-row max-w-[1000px] mx-auto container "> +<section class="flex py-24 px-5 gap-4 flex-col md:flex-row mx-auto container "> <div class="w-full relative inline-block"> <img src="{{ .Params.headerImg }}" alt="Header Image" class="rounded-lg" /> <div class="absolute inset-0 bg-white opacity-20 rounded-lg pointer-events-none"></div> diff --git a/themes/mir/layouts/partials/list.html b/themes/mir/layouts/partials/list.html index 582572b..3c0ec57 100644 --- a/themes/mir/layouts/partials/list.html +++ b/themes/mir/layouts/partials/list.html @@ -1,5 +1,5 @@ {{ with .Site.GetPage "_index.md" }} -<div class="gap-8 flex flex-col container mx-auto p-6 max-w-[1000px] my-16"> +<div class="gap-8 flex flex-col container mx-auto p-6 my-16"> <strong class="text-3xl text-left font-bold">What we do</strong> <div class="flex flex-wrap justify-center gap-8"> diff --git a/themes/mir/layouts/partials/quote.html b/themes/mir/layouts/partials/quote.html index 9613e52..c42017b 100644 --- a/themes/mir/layouts/partials/quote.html +++ b/themes/mir/layouts/partials/quote.html @@ -1,4 +1,4 @@ -<section class="relative text-gray-600 w-full max-w-[1000px] mx-auto"> +<section class="relative text-gray-600 w-full mx-auto"> <div class="absolute inset-0 -z-10 h-16 translate-y-10 rotate-[-5deg] rounded-lg bg-[#f1f5fc]"> <div class="h-full"></div> </div>