Add optional page description/subheading
This commit is contained in:
parent
f65aadc03c
commit
2aa6612a28
@ -1,5 +1,6 @@
|
||||
---
|
||||
title: Kosmos Infrastructure Foundation
|
||||
description: Providing physical infrastructure for Kosmos software and services
|
||||
menu:
|
||||
main:
|
||||
identifier: foundation
|
||||
|
@ -5,6 +5,9 @@
|
||||
<div class="max-w-5xl mx-auto -mt-12 py-8 px-8 text-left bg-white">
|
||||
<header class="mb-8">
|
||||
<h2 class="text-2xl font-bold">{{ .Title }}</h1>
|
||||
{{ if .Description }}
|
||||
<p class="mt-2 text-lg text-zinc-500">{{ .Description }}</p>
|
||||
{{ end }}
|
||||
</header>
|
||||
<div class="content">
|
||||
{{ .Content }}
|
||||
|
@ -5,6 +5,9 @@
|
||||
<div class="max-w-5xl mx-auto -mt-12 py-8 px-8 text-left bg-white">
|
||||
<header class="mb-8">
|
||||
<h2 class="text-2xl font-bold">{{ .Title }}</h1>
|
||||
{{ if .Description }}
|
||||
<p class="mt-2 text-lg text-zinc-500">{{ .Description }}</p>
|
||||
{{ end }}
|
||||
</header>
|
||||
<div class="content">
|
||||
{{ .Content }}
|
||||
|
@ -685,14 +685,26 @@ Ensure the default browser behavior of the `hidden` attribute.
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.align-top {
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.align-middle {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.align-bottom {
|
||||
vertical-align: bottom;
|
||||
}
|
||||
|
||||
.text-2xl {
|
||||
font-size: 1.5rem;
|
||||
line-height: 2rem;
|
||||
}
|
||||
|
||||
.text-4xl {
|
||||
font-size: 2.25rem;
|
||||
line-height: 2.5rem;
|
||||
.text-lg {
|
||||
font-size: 1.125rem;
|
||||
line-height: 1.75rem;
|
||||
}
|
||||
|
||||
.font-bold {
|
||||
@ -703,11 +715,9 @@ Ensure the default browser behavior of the `hidden` attribute.
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
@media (min-width: 640px) {
|
||||
.sm\:px-0 {
|
||||
padding-left: 0px;
|
||||
padding-right: 0px;
|
||||
}
|
||||
.text-zinc-500 {
|
||||
--tw-text-opacity: 1;
|
||||
color: rgb(113 113 122 / var(--tw-text-opacity));
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user