adding the fixed header

This commit is contained in:
Chris Cochrun 2022-11-07 09:48:03 -06:00
parent bf3297700d
commit 1f19dd220d
3 changed files with 65 additions and 20 deletions

View file

@ -1433,10 +1433,6 @@ select {
z-index: 30; z-index: 30;
} }
.z-50 {
z-index: 50;
}
.z-10 { .z-10 {
z-index: 10; z-index: 10;
} }
@ -1555,14 +1551,14 @@ select {
margin-bottom: 3rem; margin-bottom: 3rem;
} }
.mb-5 {
margin-bottom: 1.25rem;
}
.mt-5 { .mt-5 {
margin-top: 1.25rem; margin-top: 1.25rem;
} }
.mb-5 {
margin-bottom: 1.25rem;
}
.mb-6 { .mb-6 {
margin-bottom: 1.5rem; margin-bottom: 1.5rem;
} }
@ -1615,6 +1611,14 @@ select {
margin-top: 5rem; margin-top: 5rem;
} }
.ml-auto {
margin-left: auto;
}
.mr-auto {
margin-right: auto;
}
.mb-\[2px\] { .mb-\[2px\] {
margin-bottom: 2px; margin-bottom: 2px;
} }
@ -1675,12 +1679,20 @@ select {
height: 2rem; height: 2rem;
} }
.h-\[250px\] { .h-\[120px\] {
height: 250px; height: 120px;
} }
.h-\[900px\] { .h-\[100px\] {
height: 900px; height: 100px;
}
.h-\[150px\] {
height: 150px;
}
.h-\[800px\] {
height: 800px;
} }
.h-\[1000px\] { .h-\[1000px\] {
@ -1695,6 +1707,10 @@ select {
min-height: 0px; min-height: 0px;
} }
.min-h-\[148px\] {
min-height: 148px;
}
.w-full { .w-full {
width: 100%; width: 100%;
} }
@ -1771,6 +1787,10 @@ select {
max-width: 48rem; max-width: 48rem;
} }
.max-w-\[64rem\] {
max-width: 64rem;
}
.flex-1 { .flex-1 {
flex: 1 1 0%; flex: 1 1 0%;
} }
@ -2203,6 +2223,14 @@ select {
padding-bottom: 1rem; padding-bottom: 1rem;
} }
.pl-\[24px\] {
padding-left: 24px;
}
.pr-\[24px\] {
padding-right: 24px;
}
.text-center { .text-center {
text-align: center; text-align: center;
} }
@ -2372,6 +2400,11 @@ select {
color: rgba(var(--color-neutral), var(--tw-text-opacity)) !important; color: rgba(var(--color-neutral), var(--tw-text-opacity)) !important;
} }
.text-primary-800 {
--tw-text-opacity: 1;
color: rgba(var(--color-primary-800), var(--tw-text-opacity));
}
.\!no-underline { .\!no-underline {
text-decoration-line: none !important; text-decoration-line: none !important;
} }
@ -3161,6 +3194,14 @@ body:has(#menu-controller:checked) {
box-shadow: 5px 5px 20px 1px rgba(0, 0, 0, 0.3); box-shadow: 5px 5px 20px 1px rgba(0, 0, 0, 0.3);
} }
.anchor {
display: block;
position: relative;
top: -100px;
height: 0px;
visibility: hidden;
}
@media (min-width: 640px) { @media (min-width: 640px) {
.thumbnail { .thumbnail {
min-width: 100%; min-width: 100%;
@ -3566,9 +3607,9 @@ body:has(#menu-controller:checked) {
color: rgba(var(--color-neutral-100), var(--tw-text-opacity)); color: rgba(var(--color-neutral-100), var(--tw-text-opacity));
} }
.dark .dark\:text-primary-300 { .dark .dark\:text-primary-200 {
--tw-text-opacity: 1; --tw-text-opacity: 1;
color: rgba(var(--color-primary-300), var(--tw-text-opacity)); color: rgba(var(--color-primary-200), var(--tw-text-opacity));
} }
.dark .dark\:opacity-60 { .dark .dark\:opacity-60 {
@ -3738,8 +3779,8 @@ body:has(#menu-controller:checked) {
height: 18rem; height: 18rem;
} }
.md\:h-\[300px\] { .md\:h-\[200px\] {
height: 300px; height: 200px;
} }
.md\:h-56 { .md\:h-56 {
@ -3794,6 +3835,10 @@ body:has(#menu-controller:checked) {
left: 0px; left: 0px;
} }
.lg\:top-\[140px\] {
top: 140px;
}
.lg\:order-last { .lg\:order-last {
order: 9999; order: 9999;
} }
@ -3840,10 +3885,6 @@ body:has(#menu-controller:checked) {
height: 100%; height: 100%;
} }
.lg\:h-\[350px\] {
height: 350px;
}
.lg\:w-auto { .lg\:w-auto {
width: auto; width: auto;
} }

View file

@ -12,6 +12,7 @@ SummaryLength = 20
buildDrafts = false buildDrafts = false
buildFuture = false buildFuture = false
outputs.home = ["HTML", "RSS", "JSON"]
[taxonomies] [taxonomies]
tag = "tags" tag = "tags"

View file

@ -11,6 +11,9 @@ links = [
{instagram = "https://instagram.com/tfcconnection"} {instagram = "https://instagram.com/tfcconnection"}
] ]
[header]
layout = "fixed"
[homepage] [homepage]
layout = "page" # valid options: page, profile, hero, card, background, custom layout = "page" # valid options: page, profile, hero, card, background, custom
# homepageImage = "/img/iceland.jpg" # used in: hero, and card # homepageImage = "/img/iceland.jpg" # used in: hero, and card