Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/negrel/hugo-theme-pico.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Negrel <negrel.dev@protonmail.com>2020-11-26 21:02:52 +0300
committerAlexandre Negrel <negrel.dev@protonmail.com>2020-11-26 21:02:52 +0300
commit9f70643a1117217eafdcc9734b1ca155e2edba73 (patch)
tree050f3d55e499b1e65cf3fc52f4197d862aeb11a7
parent5c1e6ae7834d04397a05ce88e8ad1e2e0257f2a1 (diff)
improving home page layout
-rw-r--r--layouts/_default/baseof.html2
-rw-r--r--layouts/index.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index f6ed4a0..a0990db 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -15,7 +15,7 @@
{{ $mainClass := "" }}
{{ if .IsHome }}
- {{ $mainClass = "lg:max-w-5xl xl:max-w-6xl" }}
+ {{ $mainClass = "lg:max-w-5xl xl:max-w-6xl 2xl:max-w-screen-xl" }}
{{ end }}
<main class="w-full px-4 pt-8 mx-auto md:max-w-4xl overflow-x-hidden md:overflow-visible {{ $mainClass }}">
diff --git a/layouts/index.html b/layouts/index.html
index 0ac2c1a..7ec96c1 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -7,7 +7,7 @@
{{ $widget_path := printf "widgets/%s.html" $widget}}
{{ partial $widget_path $st }}
{{ if ne $widget "blank" }}
-<hr class="my-12">
+<hr class="my-24">
{{ end }}
{{ end }}
{{ end }}