A modern, responsive website for Subtitle Studio - an open-source subtitle editor.
.
├── index.html # Main HTML file
├── src/
│ └── styles.css # Tailwind CSS input file with custom styles
├── dist/
│ └── styles.css # Compiled CSS (generated)
├── package.json # npm dependencies and scripts
├── tailwind.config.js # Tailwind CSS configuration
└── .vscode/
└── tasks.json # VS Code build tasks
- Node.js and npm installed
- Install dependencies:
npm install
Build CSS (one-time):
npm run buildWatch for changes (during development):
npm run devOr use VS Code tasks:
- Press
Ctrl+Shift+B(orCmd+Shift+Bon Mac) to run the default build task - Select "Tailwind: Watch CSS" to watch for changes
All styles are managed through Tailwind CSS:
- Base styles:
src/styles.csscontains Tailwind directives and custom CSS classes - Configuration:
tailwind.config.jsdefines custom theme extensions (colors, fonts, etc.) - Output:
dist/styles.cssis the compiled CSS file included inindex.html
Custom CSS classes are defined in src/styles.css:
.wave-bar- Waveform animation.glitch- Glitch text effect.feature-card- Feature card hover effects.dl-btn- Download button with animation.ticker-track- Scrolling ticker animation.reveal- Scroll reveal animation
- ✨ Modern design with custom animations
- 📱 Fully responsive layout
- 🎨 Custom brand colors and typography
- ⚡ Optimized Tailwind CSS build
- 🔄 Watch mode for development
- 🎯 Semantic HTML structure
- ink (#0a0a0f) - Dark background
- paper (#f5f3ef) - Light text
- accent (#e8ff47) - Highlight accent
- dim (#1c1c24) - Secondary background
- muted (#5a5a72) - Secondary text
- border (#2a2a38) - Border color
- Display: Syne (900, 800, 700, 600)
- Body: DM Sans (300-500)
- Mono: DM Mono (300, 400)