Skip to content

Commit 2052266

Browse files
committed
ci: update deploy workflow with layout improvements
1 parent 3e82759 commit 2052266

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/deploy_home_page.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ jobs:
7575
- Content area margins: Set appropriate padding for each slide (60px top/bottom, 40px left/right)
7676
- Ensure sufficient spacing between text and background, avoid blocking and overlap
7777
- Limit content amount per slide to avoid information overload
78-
- Implement vertical scrolling for long code blocks instead of shrinking font;
78+
- Implement vertical scrolling for long code blocks instead of shrinking font
79+
- Use responsive units (%, em, rem, vmin) for scalable layouts;
7980
8081
6. Code display optimization:
8182
- Use Reveal.js code highlighting plugin
@@ -94,7 +95,12 @@ jobs:
9495
- Ensure good experience on desktop, tablet, and mobile devices
9596
- Appropriately reduce font size on mobile devices while maintaining readability
9697
- Adapt fonts and layout to different screen sizes
97-
- Optimize interaction experience for touch devices;
98+
- Optimize interaction experience for touch devices
99+
- Implement responsive scaling with viewport units (vmin, vmax) for consistent sizing
100+
- Use CSS media queries for device-specific adjustments
101+
- Ensure content is not cut off or overlapped on any device
102+
- Test layouts on various screen sizes to prevent obstruction
103+
- Implement proper meta viewport tag for mobile rendering;
98104
99105
9. Technical implementation:
100106
- Import latest version of Reveal.js from CDN

0 commit comments

Comments
 (0)