change hero height to 55vh

This commit is contained in:
2025-04-16 23:55:30 -08:00
parent a4c7a9f144
commit 924cba370f
2 changed files with 2 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
{{ define "main" }} {{ define "main" }}
<main class="text-primary-800 dark:gray-400"> <main class="text-primary-800 dark:gray-400">
{{ if ( .Page.Params.hero.enable ) }} {{ if ( .Page.Params.hero.enable ) }}
<section class="hero flex justify-center h-11/20 md:h-2/3"> <section class="hero flex justify-center">
<div class="h-full flex"> <div class="h-full flex">
<div class=" align-middle px-4 my-auto"> <div class=" align-middle px-4 my-auto">
{{ partial "hero/heading" . }} {{ partial "hero/heading" . }}

View File

@@ -1,6 +1,7 @@
.hero{ .hero{
position: relative; position: relative;
opacity: 1; opacity: 1;
height: 55vh;
background: rgba(175, 175, 255, 0.1); background: rgba(175, 175, 255, 0.1);
} }
.hero::before{ .hero::before{