feat: add shortcodes to build Hextra home page (#90)

* feat: add feature grid and card shortcodes

* feat: add markdown content to hextra home

* chore: add button for hextra home

* chore: add heading and subtitle

* chore: finish moving hextra home to shortcodes

* chore: regenerate css

* chore: improve hextra home layout shortcodes

* chore: update css

* chore: decrease button size
This commit is contained in:
Xin
2023-09-26 08:15:31 +01:00
committed by GitHub
parent 01f7e3a425
commit 3c4ede96df
11 changed files with 181 additions and 132 deletions

View File

@ -613,6 +613,9 @@ video {
.mb-4 {
margin-bottom: 1rem;
}
.mb-6 {
margin-bottom: 1.5rem;
}
.mb-8 {
margin-bottom: 2rem;
}
@ -1002,17 +1005,9 @@ video {
--tw-bg-opacity: 1;
background-color: rgb(254 252 232 / var(--tw-bg-opacity));
}
.bg-gradient-to-b {
background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
}
.bg-gradient-to-r {
background-image: linear-gradient(to right, var(--tw-gradient-stops));
}
.from-gray-800 {
--tw-gradient-from: #1f2937 var(--tw-gradient-from-position);
--tw-gradient-to: rgb(31 41 55 / 0) var(--tw-gradient-to-position);
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-gray-900 {
--tw-gradient-from: #111827 var(--tw-gradient-from-position);
--tw-gradient-to: rgb(17 24 39 / 0) var(--tw-gradient-to-position);
@ -1116,6 +1111,9 @@ video {
.pl-\[max\(env\(safe-area-inset-left\)\2c 1\.5rem\)\] {
padding-left: max(env(safe-area-inset-left),1.5rem);
}
.pr-2 {
padding-right: 0.5rem;
}
.pr-4 {
padding-right: 1rem;
}
@ -1203,6 +1201,9 @@ video {
.leading-7 {
line-height: 1.75rem;
}
.leading-none {
line-height: 1;
}
.leading-tight {
line-height: 1.25;
}
@ -1369,6 +1370,9 @@ video {
.duration-200 {
transition-duration: 200ms;
}
.ease-in {
transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
}
.ease-in-out {
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
@ -3350,11 +3354,6 @@ body {
align-items: flex-start;
}
.sm\:px-4 {
padding-left: 1rem;
padding-right: 1rem;
}
.sm\:text-xl {
font-size: 1.25rem;
}