mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-03-01 15:03:57 +08:00
- Created a new document for custom skills development (`custom.md`) detailing the structure, creation, implementation, and best practices for developing custom CCW skills. - Added an index document (`index.md`) summarizing all built-in skills, their categories, and usage examples. - Introduced a reference guide (`reference.md`) providing a quick reference for all 33 built-in CCW skills, including triggers and purposes.
999 lines
19 KiB
CSS
999 lines
19 KiB
CSS
/**
|
|
* Mobile-Responsive Styles
|
|
* Breakpoints: 320px-768px (mobile), 768px-1024px (tablet), 1024px+ (desktop)
|
|
* Uses CSS custom properties from variables.css: --bp-mobile, --bp-tablet, --bp-desktop
|
|
* WCAG 2.1 AA compliant
|
|
*/
|
|
|
|
/* ============================================
|
|
* Container Query Support
|
|
* Enable component-level responsive design
|
|
* Fallback: Uses @supports to provide media query fallbacks
|
|
* ============================================ */
|
|
|
|
/* Fallback for browsers without container query support */
|
|
@supports not (container-type: inline-size) {
|
|
/* Sidebar fallback */
|
|
.VPSidebar {
|
|
width: 100%;
|
|
max-width: 320px;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.VPSidebar {
|
|
width: var(--vp-sidebar-width, 272px);
|
|
max-width: none;
|
|
}
|
|
}
|
|
|
|
/* Content fallback */
|
|
.VPContent {
|
|
padding: 16px;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.VPContent {
|
|
padding: 24px;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
.VPContent {
|
|
padding: 32px 48px;
|
|
}
|
|
}
|
|
|
|
/* Outline fallback */
|
|
.VPDocOutline {
|
|
display: none;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.VPDocOutline {
|
|
display: block;
|
|
width: 200px;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
.VPDocOutline {
|
|
width: 256px;
|
|
}
|
|
}
|
|
}
|
|
|
|
/* Container Query Rules (modern browsers) */
|
|
@supports (container-type: inline-size) {
|
|
/* Sidebar Container Queries */
|
|
@container sidebar (max-width: 480px) {
|
|
.VPSidebar .group {
|
|
padding: 12px 16px;
|
|
}
|
|
|
|
.VPSidebar .title {
|
|
font-size: 13px;
|
|
}
|
|
}
|
|
|
|
@container sidebar (min-width: 480px) and (max-width: 768px) {
|
|
.VPSidebar .group {
|
|
padding: 16px 20px;
|
|
}
|
|
|
|
.VPSidebar .title {
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
|
|
@container sidebar (min-width: 768px) {
|
|
.VPSidebar .group {
|
|
padding: 16px 24px;
|
|
}
|
|
|
|
.VPSidebar .title {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
}
|
|
}
|
|
|
|
/* Content Container Queries */
|
|
@container content (max-width: 640px) {
|
|
.VPDoc .content-container {
|
|
padding: 0 var(--spacing-fluid-sm);
|
|
}
|
|
|
|
.vp-doc h1 {
|
|
font-size: 1.75rem;
|
|
}
|
|
|
|
.vp-doc h2 {
|
|
font-size: 1.375rem;
|
|
}
|
|
|
|
.vp-doc pre {
|
|
font-size: 12px;
|
|
padding: 12px 16px;
|
|
}
|
|
}
|
|
|
|
@container content (min-width: 640px) and (max-width: 960px) {
|
|
.VPDoc .content-container {
|
|
padding: 0 var(--spacing-fluid-md);
|
|
}
|
|
|
|
.vp-doc h1 {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.vp-doc h2 {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.vp-doc pre {
|
|
font-size: 13px;
|
|
padding: 16px 20px;
|
|
}
|
|
}
|
|
|
|
@container content (min-width: 960px) {
|
|
.VPDoc .content-container {
|
|
padding: 0 var(--spacing-fluid-lg);
|
|
}
|
|
|
|
.vp-doc h1 {
|
|
font-size: 2.25rem;
|
|
}
|
|
|
|
.vp-doc h2 {
|
|
font-size: 1.625rem;
|
|
}
|
|
|
|
.vp-doc pre {
|
|
font-size: 14px;
|
|
padding: 20px 24px;
|
|
}
|
|
}
|
|
|
|
/* Outline Container Queries */
|
|
@container outline (max-width: 200px) {
|
|
.VPDocOutline .outline-link {
|
|
font-size: 11px;
|
|
padding: 3px 8px;
|
|
}
|
|
|
|
.VPDocOutline .outline-marker {
|
|
width: 2px;
|
|
}
|
|
}
|
|
|
|
@container outline (min-width: 200px) and (max-width: 280px) {
|
|
.VPDocOutline .outline-link {
|
|
font-size: 12px;
|
|
padding: 4px 10px;
|
|
}
|
|
|
|
.VPDocOutline .outline-marker {
|
|
width: 3px;
|
|
}
|
|
}
|
|
|
|
@container outline (min-width: 280px) {
|
|
.VPDocOutline .outline-link {
|
|
font-size: 13px;
|
|
padding: 4px 12px;
|
|
}
|
|
|
|
.VPDocOutline .outline-marker {
|
|
width: 4px;
|
|
}
|
|
}
|
|
|
|
/* Navigation Container Queries */
|
|
@container nav (max-width: 640px) {
|
|
.VPNavBar {
|
|
padding: 0 12px;
|
|
}
|
|
|
|
.VPNavBar .nav-extensions {
|
|
gap: 8px;
|
|
}
|
|
}
|
|
|
|
@container nav (min-width: 640px) and (max-width: 960px) {
|
|
.VPNavBar {
|
|
padding: 0 20px;
|
|
}
|
|
|
|
.VPNavBar .nav-extensions {
|
|
gap: 12px;
|
|
}
|
|
}
|
|
|
|
@container nav (min-width: 960px) {
|
|
.VPNavBar {
|
|
padding: 0 32px;
|
|
}
|
|
|
|
.VPNavBar .nav-extensions {
|
|
gap: 16px;
|
|
}
|
|
}
|
|
}
|
|
|
|
/* Generic Container-Responsive Utility Class */
|
|
@container (max-width: 480px) {
|
|
.container-responsive {
|
|
padding: 0 var(--spacing-fluid-xs);
|
|
}
|
|
}
|
|
|
|
@container (min-width: 480px) and (max-width: 768px) {
|
|
.container-responsive {
|
|
padding: 0 var(--spacing-fluid-sm);
|
|
}
|
|
}
|
|
|
|
@container (min-width: 768px) and (max-width: 1024px) {
|
|
.container-responsive {
|
|
padding: 0 var(--spacing-fluid-md);
|
|
}
|
|
}
|
|
|
|
@container (min-width: 1024px) {
|
|
.container-responsive {
|
|
padding: 0 var(--spacing-fluid-lg);
|
|
}
|
|
}
|
|
|
|
/* ============================================
|
|
* Mobile First Approach
|
|
* ============================================ */
|
|
|
|
/* Base Mobile Styles (320px+) */
|
|
@media (max-width: 768px) {
|
|
/* Typography */
|
|
:root {
|
|
--vp-font-size-base: 14px;
|
|
--vp-content-width: 100%;
|
|
}
|
|
|
|
/* Container */
|
|
.container {
|
|
padding: 0 12px;
|
|
}
|
|
|
|
/* Navigation - ensure hamburger menu is visible */
|
|
.VPNav {
|
|
height: 56px;
|
|
overflow: visible !important;
|
|
}
|
|
|
|
.VPNavBar {
|
|
padding: 0 12px;
|
|
overflow: visible !important;
|
|
}
|
|
|
|
/* Navigation bar content wrapper */
|
|
.VPNavBar .content {
|
|
overflow: visible !important;
|
|
}
|
|
|
|
/* Show hamburger menu button on mobile */
|
|
.VPNavBar .VPNavBarHamburger {
|
|
display: flex !important;
|
|
}
|
|
|
|
/* Hide desktop nav links on mobile, use hamburger menu */
|
|
.VPNavBar .VPNavBarMenu {
|
|
display: none;
|
|
}
|
|
|
|
/* Ensure nav title is visible */
|
|
.VPNavBar .VPNavBarTitle {
|
|
flex: 1;
|
|
}
|
|
|
|
/* Reduce nav-extensions gap on mobile */
|
|
.VPNavBar .nav-extensions {
|
|
gap: 0.25rem;
|
|
padding-left: 0.25rem;
|
|
overflow: visible !important;
|
|
}
|
|
|
|
/* Hide non-essential nav items on mobile */
|
|
.nav-extensions .nav-item-desktop {
|
|
display: none !important;
|
|
}
|
|
|
|
/* Style search button for mobile */
|
|
.nav-extensions .DocSearch {
|
|
min-height: 40px;
|
|
}
|
|
|
|
/* Ensure VitePress social link is hidden on mobile (uses sidebar) */
|
|
.VPNavBar .VPNavBarSocialLinks {
|
|
display: none;
|
|
}
|
|
|
|
/* Fix dropdown menus overflow on mobile */
|
|
.VPNavBar .VPNavBarMenuGroup {
|
|
position: relative;
|
|
overflow: visible !important;
|
|
}
|
|
|
|
.VPNavBar .VPNavBarMenuGroup .items {
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 0;
|
|
min-width: 180px;
|
|
max-width: calc(100vw - 24px);
|
|
max-height: 60vh;
|
|
overflow-y: auto;
|
|
background: var(--vp-c-bg);
|
|
border: 1px solid var(--vp-c-divider);
|
|
border-radius: 8px;
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
|
|
z-index: 100;
|
|
padding: 8px 0;
|
|
}
|
|
|
|
/* Language switcher dropdown fix */
|
|
.language-switcher {
|
|
position: relative !important;
|
|
overflow: visible !important;
|
|
}
|
|
|
|
.language-switcher .locale-list {
|
|
position: fixed !important;
|
|
top: auto !important;
|
|
left: 50% !important;
|
|
transform: translateX(-50%) !important;
|
|
right: auto !important;
|
|
min-width: 200px !important;
|
|
max-width: calc(100vw - 24px) !important;
|
|
z-index: 1000 !important;
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
|
|
}
|
|
|
|
/* Sidebar - fix display issues */
|
|
.VPSidebar {
|
|
width: 100% !important;
|
|
max-width: 320px !important;
|
|
padding-top: 0 !important;
|
|
top: 56px !important;
|
|
height: calc(100vh - 56px) !important;
|
|
max-height: calc(100vh - 56px) !important;
|
|
overflow: visible !important;
|
|
position: fixed !important;
|
|
left: 0 !important;
|
|
z-index: 40 !important;
|
|
background: var(--vp-c-bg) !important;
|
|
transition: transform 0.25s ease !important;
|
|
}
|
|
|
|
/* Sidebar when open */
|
|
.VPSidebar.open,
|
|
.sidebar-open .VPSidebar {
|
|
transform: translateX(0) !important;
|
|
}
|
|
|
|
/* Sidebar when closed */
|
|
.VPSidebar:not(.open) {
|
|
transform: translateX(-100%) !important;
|
|
}
|
|
|
|
/* Sidebar nav container */
|
|
.VPSidebar .VPSidebarNav {
|
|
padding: 12px 0;
|
|
height: 100%;
|
|
min-height: auto;
|
|
overflow-y: auto;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
|
|
/* Sidebar groups */
|
|
.VPSidebar .VPSidebarGroup {
|
|
padding: 8px 16px;
|
|
}
|
|
|
|
/* Sidebar items */
|
|
.VPSidebar .VPSidebarItem {
|
|
padding: 6px 0;
|
|
}
|
|
|
|
/* Ensure sidebar links are properly sized */
|
|
.VPSidebar .link {
|
|
padding: 8px 12px;
|
|
display: block;
|
|
}
|
|
|
|
/* Local nav for mobile */
|
|
.VPLocalNav {
|
|
display: flex !important;
|
|
position: sticky;
|
|
top: 56px;
|
|
z-index: 10;
|
|
}
|
|
|
|
/* Sidebar curtain/backdrop */
|
|
.VPSidebar curtain,
|
|
.VPSidebar .curtain {
|
|
display: none;
|
|
}
|
|
|
|
/* Sidebar scroll container */
|
|
.VPSidebar .sidebar-container,
|
|
.VPSidebar nav {
|
|
height: 100%;
|
|
overflow-y: auto;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
|
|
/* Make sure all sidebar content is visible */
|
|
.VPSidebar .group {
|
|
margin: 0;
|
|
padding: 12px 16px;
|
|
}
|
|
|
|
.VPSidebar .title {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
padding: 4px 0;
|
|
color: var(--vp-c-text-1);
|
|
}
|
|
|
|
/* Sidebar text styling */
|
|
.VPSidebar .text {
|
|
font-size: 14px;
|
|
line-height: 1.5;
|
|
padding: 6px 12px;
|
|
}
|
|
|
|
/* Ensure nested items are visible */
|
|
.VPSidebar .items {
|
|
padding: 0;
|
|
}
|
|
|
|
/* Backdrop for sidebar */
|
|
.VPBackdrop {
|
|
position: fixed;
|
|
inset: 0;
|
|
top: 56px;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
z-index: 39;
|
|
}
|
|
|
|
/* Content - reduce padding for better space usage */
|
|
.VPContent {
|
|
padding: 12px;
|
|
}
|
|
|
|
/* Doc content adjustments - reduce padding */
|
|
.VPDoc .content-container {
|
|
padding: 0 12px;
|
|
}
|
|
|
|
/* Hide outline on mobile */
|
|
.VPDocOutline {
|
|
display: none;
|
|
}
|
|
|
|
/* Hero Section */
|
|
.VPHomeHero {
|
|
padding: 40px 12px;
|
|
}
|
|
|
|
.VPHomeHero h1 {
|
|
font-size: 28px;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.VPHomeHero p {
|
|
font-size: 14px;
|
|
}
|
|
|
|
/* Code Blocks - reduce margins */
|
|
div[class*='language-'] {
|
|
margin: 12px -12px;
|
|
border-radius: 0;
|
|
}
|
|
|
|
div[class*='language-'] pre {
|
|
padding: 12px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
/* Tables - make them scrollable */
|
|
.vp-doc table {
|
|
display: block;
|
|
width: 100%;
|
|
overflow-x: auto;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
|
|
table {
|
|
font-size: 12px;
|
|
}
|
|
|
|
table th,
|
|
table td {
|
|
padding: 8px 12px;
|
|
}
|
|
|
|
/* Buttons */
|
|
.VPButton {
|
|
padding: 8px 16px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
/* Cards */
|
|
.VPFeature {
|
|
padding: 16px;
|
|
}
|
|
|
|
/* Touch-friendly tap targets (min 44x44px per WCAG) */
|
|
button,
|
|
a,
|
|
input,
|
|
select,
|
|
textarea {
|
|
min-height: 44px;
|
|
min-width: 44px;
|
|
}
|
|
|
|
/* Search */
|
|
.DocSearch {
|
|
width: 100%;
|
|
}
|
|
|
|
/* Theme Switcher */
|
|
.theme-switcher {
|
|
padding: 12px;
|
|
}
|
|
|
|
/* Breadcrumbs */
|
|
.breadcrumb {
|
|
padding: 8px 0;
|
|
font-size: 12px;
|
|
}
|
|
|
|
/* Table of Contents - hidden on mobile */
|
|
.page-toc {
|
|
display: none;
|
|
}
|
|
|
|
/* Typography adjustments for mobile */
|
|
.vp-doc h1 {
|
|
font-size: 1.75rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.vp-doc h2 {
|
|
font-size: 1.375rem;
|
|
margin-top: 2rem;
|
|
padding-top: 1.5rem;
|
|
}
|
|
|
|
.vp-doc h3 {
|
|
font-size: 1.125rem;
|
|
margin-top: 1.5rem;
|
|
}
|
|
|
|
.vp-doc p {
|
|
line-height: 1.7;
|
|
margin: 1rem 0;
|
|
}
|
|
|
|
.vp-doc ul,
|
|
.vp-doc ol {
|
|
margin: 1rem 0;
|
|
padding-left: 1.25rem;
|
|
}
|
|
|
|
.vp-doc li {
|
|
margin: 0.375rem 0;
|
|
}
|
|
}
|
|
|
|
/* ============================================
|
|
* Tablet Styles (768px - 1024px)
|
|
* ============================================ */
|
|
@media (min-width: 768px) and (max-width: 1024px) {
|
|
:root {
|
|
--vp-content-width: 760px;
|
|
--vp-sidebar-width: 240px;
|
|
}
|
|
|
|
.VPContent {
|
|
padding: 24px;
|
|
}
|
|
|
|
.VPDoc .content-container {
|
|
padding: 0 24px;
|
|
max-width: 90% !important;
|
|
}
|
|
|
|
.VPHomeHero {
|
|
padding: 60px 24px;
|
|
}
|
|
|
|
.VPHomeHero h1 {
|
|
font-size: 36px;
|
|
}
|
|
|
|
div[class*='language-'] {
|
|
margin: 12px 0;
|
|
}
|
|
|
|
/* Outline visible but narrower */
|
|
.VPDocOutline {
|
|
width: 200px;
|
|
padding-left: 16px;
|
|
}
|
|
|
|
.VPDocOutline .outline-link {
|
|
font-size: 12px;
|
|
}
|
|
}
|
|
|
|
/* ============================================
|
|
* Desktop Styles (1024px+)
|
|
* ============================================ */
|
|
@media (min-width: 1024px) {
|
|
:root {
|
|
--vp-layout-max-width: 1600px;
|
|
--vp-content-width: 960px;
|
|
--vp-sidebar-width: 272px;
|
|
}
|
|
|
|
.VPContent {
|
|
padding: 32px 48px;
|
|
max-width: var(--vp-layout-max-width);
|
|
}
|
|
|
|
.VPDoc .content-container {
|
|
max-width: 90% !important;
|
|
padding: 0 40px;
|
|
}
|
|
|
|
/* Outline - sticky on desktop with good width */
|
|
.VPDocOutline {
|
|
position: sticky;
|
|
top: calc(var(--vp-nav-height) + 24px);
|
|
width: 256px;
|
|
padding-left: 24px;
|
|
max-height: calc(100vh - var(--vp-nav-height) - 48px);
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.VPDocOutline .outline-marker {
|
|
display: block;
|
|
}
|
|
|
|
.VPDocOutline .outline-link {
|
|
font-size: 13px;
|
|
line-height: 1.6;
|
|
padding: 4px 12px;
|
|
transition: color 0.2s ease;
|
|
}
|
|
|
|
.VPDocOutline .outline-link:hover {
|
|
color: var(--vp-c-primary);
|
|
}
|
|
|
|
/* Two-column layout for content + TOC */
|
|
.content-with-toc {
|
|
display: grid;
|
|
grid-template-columns: 1fr 280px;
|
|
gap: 32px;
|
|
}
|
|
}
|
|
|
|
/* ============================================
|
|
* Large Desktop (1440px+)
|
|
* ============================================ */
|
|
@media (min-width: 1440px) {
|
|
:root {
|
|
--vp-content-width: 1040px;
|
|
--vp-sidebar-width: 280px;
|
|
}
|
|
|
|
.VPDoc .content-container {
|
|
max-width: 90% !important;
|
|
padding: 0 48px;
|
|
}
|
|
|
|
.VPDocOutline {
|
|
width: 280px;
|
|
}
|
|
}
|
|
|
|
/* ============================================
|
|
* Landscape Orientation
|
|
* ============================================ */
|
|
@media (max-height: 500px) and (orientation: landscape) {
|
|
.VPNav {
|
|
height: 48px;
|
|
}
|
|
|
|
.VPHomeHero {
|
|
padding: 20px 16px;
|
|
}
|
|
}
|
|
|
|
/* ============================================
|
|
* High DPI Displays
|
|
* ============================================ */
|
|
@media (-webkit-min-device-pixel-ratio: 2),
|
|
(min-resolution: 192dpi) {
|
|
/* Optimize images for retina displays */
|
|
img {
|
|
image-rendering: -webkit-optimize-contrast;
|
|
image-rendering: crisp-edges;
|
|
}
|
|
}
|
|
|
|
/* ============================================
|
|
* Reduced Motion (Accessibility)
|
|
* ============================================ */
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
animation-duration: 0.01ms !important;
|
|
animation-iteration-count: 1 !important;
|
|
transition-duration: 0.01ms !important;
|
|
}
|
|
}
|
|
|
|
/* ============================================
|
|
* ProfessionalHome Component - Mobile Optimizations
|
|
* ============================================ */
|
|
@media (max-width: 768px) {
|
|
/* Root level overflow prevention */
|
|
html, body {
|
|
overflow-x: hidden;
|
|
max-width: 100vw;
|
|
}
|
|
|
|
/* VitePress Layout container fix */
|
|
.Layout {
|
|
max-width: 100vw;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
/* VPContent container fix */
|
|
.VPContent {
|
|
max-width: 100vw;
|
|
overflow-x: hidden;
|
|
padding: 0 !important;
|
|
}
|
|
|
|
/* Hero extensions in Layout.vue - add proper padding */
|
|
.hero-extensions {
|
|
padding: 0 12px;
|
|
box-sizing: border-box;
|
|
max-width: 100vw;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
.hero-stats {
|
|
gap: 1rem;
|
|
}
|
|
|
|
/* ProfessionalHome - Hero Section */
|
|
.pro-home .hero-section {
|
|
min-height: auto;
|
|
padding-top: 4.5rem; /* Clear fixed nav (56px) */
|
|
padding-bottom: 1.5rem;
|
|
}
|
|
|
|
/* Prevent horizontal scroll */
|
|
.pro-home {
|
|
overflow-x: hidden;
|
|
max-width: 100vw;
|
|
}
|
|
|
|
.pro-home .hero-container {
|
|
max-width: 100%;
|
|
padding-left: 12px;
|
|
padding-right: 12px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* Fix section containers */
|
|
.pro-home .section-container {
|
|
max-width: 100%;
|
|
box-sizing: border-box;
|
|
padding-left: 12px;
|
|
padding-right: 12px;
|
|
}
|
|
|
|
/* ProfessionalHome - Feature Cards */
|
|
.pro-home .feature-card {
|
|
border-radius: 12px;
|
|
touch-action: manipulation;
|
|
}
|
|
|
|
.pro-home .feature-card:active {
|
|
transform: scale(0.98);
|
|
transition: transform 0.1s ease;
|
|
}
|
|
|
|
/* ProfessionalHome - Pipeline Animation */
|
|
.pro-home .cadence-track {
|
|
margin: 1rem 0 2rem;
|
|
}
|
|
|
|
.pro-home .tick-node {
|
|
width: 12px;
|
|
height: 12px;
|
|
min-width: 12px;
|
|
}
|
|
|
|
/* ProfessionalHome - Terminal Window */
|
|
.pro-home .terminal-window,
|
|
.pro-home .qs-terminal-window {
|
|
font-size: 0.75rem;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.pro-home .terminal-header,
|
|
.pro-home .qs-terminal-header {
|
|
padding: 0.5rem 0.75rem;
|
|
}
|
|
|
|
/* ProfessionalHome - Code Blocks */
|
|
.pro-home .json-code {
|
|
overflow-x: auto;
|
|
-webkit-overflow-scrolling: touch;
|
|
margin: 0 -1rem;
|
|
border-radius: 0;
|
|
border-left: none;
|
|
border-right: none;
|
|
}
|
|
|
|
/* ProfessionalHome - Buttons touch targets */
|
|
.pro-home .btn-primary,
|
|
.pro-home .btn-secondary,
|
|
.pro-home .btn-outline,
|
|
.pro-home .btn-ghost {
|
|
min-height: 44px;
|
|
min-width: 44px;
|
|
touch-action: manipulation;
|
|
}
|
|
|
|
/* ProfessionalHome - CTA Section */
|
|
.pro-home .cta-card {
|
|
margin: 0 0.5rem;
|
|
border-radius: 16px;
|
|
max-width: calc(100% - 1rem);
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* ProfessionalHome - Animation adjustments */
|
|
.pro-home .reveal-text,
|
|
.pro-home .reveal-card,
|
|
.pro-home .reveal-slide {
|
|
opacity: 1;
|
|
transform: none;
|
|
transition: none;
|
|
}
|
|
|
|
/* ProfessionalHome - Stage nodes in pipeline */
|
|
.pro-home .stage-node {
|
|
touch-action: manipulation;
|
|
}
|
|
|
|
/* Quick Start Section - prevent overflow */
|
|
.pro-home .quickstart-section {
|
|
padding: 3rem 0;
|
|
max-width: 100vw;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
.pro-home .quickstart-layout {
|
|
padding: 0 12px;
|
|
max-width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.pro-home .quickstart-info,
|
|
.pro-home .quickstart-terminal {
|
|
max-width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* Ensure all text content wraps properly */
|
|
.pro-home .json-text,
|
|
.pro-home .json-benefits,
|
|
.pro-home .qs-step-content {
|
|
max-width: 100%;
|
|
box-sizing: border-box;
|
|
word-wrap: break-word;
|
|
overflow-wrap: break-word;
|
|
}
|
|
|
|
/* Features section overflow fix */
|
|
.pro-home .features-section {
|
|
max-width: 100vw;
|
|
overflow-x: hidden;
|
|
padding: 3rem 0;
|
|
}
|
|
|
|
/* Pipeline section overflow fix */
|
|
.pro-home .pipeline-section {
|
|
max-width: 100vw;
|
|
overflow-x: hidden;
|
|
}
|
|
}
|
|
|
|
/* ProfessionalHome - Tablet Optimizations */
|
|
@media (min-width: 768px) and (max-width: 1024px) {
|
|
.pro-home .hero-section {
|
|
padding: 3rem 0 2.5rem;
|
|
}
|
|
|
|
.pro-home .hero-title {
|
|
font-size: 2.25rem;
|
|
}
|
|
|
|
.pro-home .features-grid {
|
|
gap: 1.25rem;
|
|
}
|
|
|
|
.pro-home .json-grid {
|
|
gap: 2rem;
|
|
padding: 3rem 1.5rem;
|
|
}
|
|
}
|
|
|
|
/* ProfessionalHome - Small Mobile (< 480px) */
|
|
@media (max-width: 480px) {
|
|
.pro-home .hero-badge {
|
|
font-size: 0.7rem;
|
|
padding: 0.2rem 0.5rem;
|
|
}
|
|
|
|
.pro-home .section-title {
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.pro-home .pipeline-card {
|
|
padding: 1rem;
|
|
}
|
|
|
|
/* Ensure touch targets */
|
|
.pro-home .btn-primary,
|
|
.pro-home .btn-secondary {
|
|
padding: 0.875rem 1rem;
|
|
}
|
|
}
|
|
|
|
/* ============================================
|
|
* Dark Mode Specific
|
|
* ============================================ */
|
|
@media (max-width: 768px) {
|
|
.dark {
|
|
--vp-c-bg: #0f172a;
|
|
--vp-c-text-1: #f1f5f9;
|
|
}
|
|
}
|
|
|
|
/* ============================================
|
|
* Print Styles for Mobile
|
|
* ============================================ */
|
|
@media print and (max-width: 768px) {
|
|
.VPContent {
|
|
font-size: 10pt;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 14pt;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 12pt;
|
|
}
|
|
}
|