Black Theme Demo
Black Theme Design Showcase
This page demonstrates the enhanced black theme and responsive design features implemented for the academic website.
Typography System
The professional typography system uses a combination of serif and sans-serif fonts optimized for academic content.
Heading Hierarchy
Main Page Title (H1)
Professional serif typography with accent underline
Section Heading (H2)
Academic blue accent with side indicator
Subsection Heading (H3)
Clean secondary styling
Minor Heading (H4)
UPPERCASE SANS-SERIF STYLING
Small Heading (H5)
Regular weight styling
Smallest Heading (H6)
Minimal styling for fine details
Body Text Examples
This is a lead paragraph that demonstrates the enhanced typography system with improved readability and academic focus. The text uses careful spacing and professional font choices.
Regular paragraph text flows naturally with enhanced line-height and spacing. The typography system includes support for italic text, bold text, and inline code
with proper contrast.
This is an enhanced blockquote component with gradient background, accent border, and proper citation support.
Academic Citation Style
Color Palette
#2c5aa0
#1a1a1a
#2a2a2a
#0a0a0a
Enhanced Components
Alert Components
Card Components
Enhanced Card
This card demonstrates the enhanced styling with gradient backgrounds, smooth transitions, and hover effects.
Learn MoreOutline Card
Alternative card styling with transparent background and accent border.
ExploreAcademic Components
Form Components
Button Variations
Badges and Progress
Enhanced Tables
Feature | Status | Performance | Notes |
---|---|---|---|
Typography | Complete | Excellent | Professional serif/sans-serif combination |
Navigation | Complete | Excellent | Responsive with mobile menu |
Animations | Complete | Smooth | Reduced motion support included |
Accessibility | Enhanced | WCAG 2.1 | Focus management and ARIA labels |
Code Examples
Inline Code
Here’s some inline code
with proper styling and contrast.
Code Blocks
// Enhanced navigation with accessibility
function setupEnhancedNavigation() {
const mobileButton = document.querySelector('.nav-toggle');
const navigation = document.querySelector('.visible-links');
mobileButton.addEventListener('click', function() {
navigation.classList.toggle('show');
this.setAttribute('aria-expanded',
this.getAttribute('aria-expanded') === 'true' ? 'false' : 'true'
);
});
}
// Black theme variables
$black-primary: #0a0a0a;
$black-secondary: #1a1a1a;
$black-accent: #2c5aa0;
$black-text: #e8e8e8;
.enhanced-card {
background: linear-gradient(135deg, $black-secondary 0%, $black-tertiary 100%);
border-radius: $border-radius * 2;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
&:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}
}
Responsive Design Features
The theme includes comprehensive responsive design with:
- Mobile-first approach with progressive enhancement
- Flexible grid system that adapts to different screen sizes
- Touch-friendly navigation with 44px minimum touch targets
- Optimized typography with clamp() functions for fluid scaling
- Reduced motion support for accessibility preferences
- High contrast mode compatibility
Responsive Grid Examples
Mobile
Single column layout on mobile devices for optimal readability.
Tablet
Two-column layout on tablets balancing content and navigation.
Desktop
Full three-column layout on desktop with all features visible.
Accessibility Features
- Keyboard navigation support throughout all components
- Screen reader optimizations with proper ARIA labels
- Focus management with visible focus indicators
- Skip links for main content navigation
- High contrast mode support
- Reduced motion preference handling
This demonstration showcases the comprehensive black theme implementation with professional typography, responsive design, and enhanced accessibility features.