Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ export default function SidebarToggleButton({
[onToggle]
);

const iconClass = isHidden
? styles.sidebarToggleIconHide
: styles.sidebarToggleIconShow;

return (
<button
type="button"
Expand All @@ -31,7 +35,10 @@ export default function SidebarToggleButton({
aria-pressed={isHidden}
title={ariaLabel}
{...rest}>
<span className={styles.sidebarToggleIcon} aria-hidden="true" />
<span
className={`${styles.sidebarToggleIcon} ${iconClass}`}
aria-hidden="true"
/>
</button>
);
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@
opacity: 0.9;
transition: opacity 0.2s ease, background-color 0.2s ease;
background-color: currentColor;
-webkit-mask-image: url('/icons/sidebar-left.svg');
mask-image: url('/icons/sidebar-left.svg');
-webkit-mask-size: contain;
mask-size: contain;
-webkit-mask-repeat: no-repeat;
Expand All @@ -49,6 +47,18 @@
mask-position: center;
}

/* Sidebar visible: arrow left = "Hide sidebar" */
.sidebarToggleIconHide {
-webkit-mask-image: url('/icons/sidebar-arrow-left.svg');
mask-image: url('/icons/sidebar-arrow-left.svg');
}

/* Sidebar hidden: arrow right = "Show sidebar" */
.sidebarToggleIconShow {
-webkit-mask-image: url('/icons/sidebar-arrow-right.svg');
mask-image: url('/icons/sidebar-arrow-right.svg');
}

.sidebarToggleButton:hover .sidebarToggleIcon {
opacity: 1;
}
11 changes: 11 additions & 0 deletions website/src/css/blog-cards.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
* Styles for blog post cards in the blog feed
*/

/* Override theme BlogPostItem/Header/Title (.title_xxxx) from 3rem to 2rem */
.theme-blog-wrapper [class*="title_"] {
font-size: 2.5rem !important;
}

@media (max-width: 576px) {
.theme-blog-wrapper [class*="title_"] {
font-size: 2rem !important;
}
}

/* Remove any vertical lines/borders from blog article elements */
article.article *,
article a,
Expand Down
13 changes: 1 addition & 12 deletions website/src/css/variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,7 @@ main {

/* Markdown headings */
.markdown h1 {
background: var(--hero-gradient-alt);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
color: var(--ifm-heading-color);
margin-bottom: 2rem;
}

Expand All @@ -231,14 +228,6 @@ main {
color: #ffffff;
}

/* Dark mode override for markdown h1 - better contrast with light gradient */
[data-theme='dark'] .markdown h1 {
background: linear-gradient(135deg, #93c5fd 0%, #60a5fa 50%, #3b82f6 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}

/* Dark mode headings - ensure all headings have good contrast */
[data-theme='dark'] .markdown h2,
[data-theme='dark'] .markdown h3,
Expand Down
2 changes: 1 addition & 1 deletion website/src/pages/home/codeShowcase.module.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Code Showcase Section */

.showcaseSection { padding: 8rem 0; background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%); position: relative; overflow: hidden; }
.showcaseSection { padding: 4rem 0; background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%); position: relative; overflow: hidden; }

.showcaseGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; max-width: 1400px; margin: 0 auto; }

Expand Down
2 changes: 1 addition & 1 deletion website/src/pages/home/ctaSection.module.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* CTA Section */

.ctaSection { padding: 8rem 0; background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%); position: relative; }
.ctaSection { padding: 5rem 0; background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%); position: relative; }

.ctaContent { max-width: 800px; margin: 0 auto; text-align: center; padding: 4rem 2rem; background: white; border: 1px solid #e2e8f0; border-radius: 2rem; box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.ctaTitle { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.03em; color: #0f172a; margin-bottom: 1.5rem; text-align: center; }
Expand Down
6 changes: 3 additions & 3 deletions website/src/pages/home/featuresSection.module.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/* Features Section */

.featuresSection { padding: 8rem 0; background: #ffffff; position: relative; }
.featuresSection { padding: 4rem 0; background: #ffffff; position: relative; }

.sectionHeader { text-align: center; max-width: 760px; margin: 0 auto 5rem; }
.sectionBadge { display: inline-block; padding: 0.5rem 1rem; background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(37,99,235,0.1)); border: 1px solid rgba(59,130,246,0.2); border-radius: 9999px; color: var(--compose-primary-500); font-size: 0.875rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 1.5rem; }
.sectionTitle { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.03em; color: #0f172a; margin-bottom: 1.5rem; }
.sectionSubtitle { font-size: clamp(1rem, 2vw, 1.25rem); line-height: 1.7; color: #64748b; margin: 0; }
.sectionTitle { font-size: clamp(2.25rem, 5vw, 2.5rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.03em; color: #0f172a; margin-bottom: 1.5rem; }
.sectionSubtitle { font-size: clamp(1rem, 2vw, 1.2rem); line-height: 1.7; color: #64748b; margin: 0; }

.featuresGrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; max-width: 1280px; margin: 0 auto; }

Expand Down
8 changes: 8 additions & 0 deletions website/static/icons/sidebar-arrow-left.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions website/static/icons/sidebar-arrow-right.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.