Refactor CSS styles and update HTML structure for improved layout and responsiveness

- Updated padding values for sections in custom CSS files to enhance spacing.
- Introduced new card styles with hover effects for better user interaction.
- Added new gradient card layout in the chill theme for a visually appealing design.
- Removed obsolete sector layout and replaced it with a more flexible gradient card layout.
- Enhanced feature list layout with improved pagination and sidebar integration.
- Created a new shortcode for gradient card sections to streamline feature presentation.
This commit is contained in:
Boris Waaub
2026-02-24 15:32:06 +01:00
parent 923b4c4d7f
commit c350ea3dcd
15 changed files with 622 additions and 635 deletions

View File

@@ -1896,17 +1896,36 @@ body {
}
.section {
padding-top: 4rem;
padding-bottom: 4rem;
padding-top: 2rem;
padding-bottom: 2rem;
}
@media (min-width: 768px) {
.section {
padding-top: 6rem;
padding-bottom: 6rem;
padding-top: 4rem;
padding-bottom: 4rem;
}
}
.card {
--tw-bg-opacity: 1;
background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
padding: 1.5rem;
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 200ms;
}
.card:hover {
--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.card {
border-radius: 2rem;
}
.nav-link {
font-weight: 700;
--tw-text-opacity: 1;
@@ -2437,6 +2456,10 @@ body {
height: 100%;
}
.h-48 {
height: 12rem;
}
.max-h-12 {
max-height: 3rem;
}
@@ -2497,6 +2520,10 @@ body {
width: 100%;
}
.w-48 {
width: 12rem;
}
.\!max-w-none {
max-width: none !important;
}
@@ -2587,6 +2614,14 @@ body {
resize: both;
}
.list-inside {
list-style-position: inside;
}
.list-disc {
list-style-type: disc;
}
.grid-cols-1 {
grid-template-columns: repeat(1, minmax(0, 1fr));
}
@@ -2603,10 +2638,6 @@ body {
align-items: flex-start;
}
.items-end {
align-items: flex-end;
}
.items-center {
align-items: center;
}
@@ -3127,6 +3158,10 @@ body {
text-align: right;
}
.text-start {
text-align: start;
}
.font-mono {
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
@@ -4571,11 +4606,6 @@ body {
padding-right: 1.5rem;
}
.sm\:py-20 {
padding-top: 5rem;
padding-bottom: 5rem;
}
.sm\:py-32 {
padding-top: 8rem;
padding-bottom: 8rem;