Skip to content
Draft
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
85f27c3
Initial plan
Copilot Sep 23, 2025
cfbca46
Create Modernite style - modern phpBB theme with Bootstrap-inspired d…
Copilot Sep 23, 2025
1daf53a
Add Modernite style - Modern phpBB theme with Bootstrap-inspired design
Copilot Sep 23, 2025
2f433e0
Complete Modernite phpBB style with documentation and responsive design
Copilot Sep 23, 2025
f190e6b
Add modern topic view (viewforum_body.html) with responsive design an…
Copilot Sep 23, 2025
caa6e5a
Fix style structure: add overall_footer.html, remove style.cfg, add p…
Copilot Sep 23, 2025
b965c6e
Improve mobile UX: make index statistics compact with 2x2 grid layout
Copilot Sep 23, 2025
8eb699e
Fix desktop/mobile layout: full-width cards, consistent button sizing…
Copilot Sep 23, 2025
e6694d5
Convert Modernite to standalone style: remove parent dependency, add …
Copilot Sep 23, 2025
504e90a
Modernize standalone template styling: login, search, posting forms w…
Copilot Sep 23, 2025
c62505b
Complete template modernization: all phpBB templates now use Modernit…
Copilot Sep 23, 2025
51e365d
Fix external dependencies: remove FontAwesome, add standalone base CS…
Copilot Sep 23, 2025
c35beaa
Changes before error encountered
Copilot Sep 23, 2025
c82c815
Fix missing CSS files and implement cross-browser consistent icon system
Copilot Sep 23, 2025
2a547e4
Fix stylesheet path and styling inconsistencies: proper phpBB templat…
Copilot Sep 23, 2025
a422b91
Fix template variables and element alignment: proper phpBB language v…
Copilot Sep 23, 2025
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
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
!/phpBB/styles/prosilver
!/phpBB/styles/prosilver/theme/en
!/phpBB/styles/prosilver/theme/images
!/phpBB/styles/modernite
!/phpBB/styles/all

# Excludes all custom env
Expand Down Expand Up @@ -57,3 +58,6 @@ node_modules
.idea
*.DS_Store*
/.vscode

# Build artifacts - CSS source maps
*.css.map
146 changes: 146 additions & 0 deletions phpBB/styles/modernite/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
# Modernite - Modern phpBB Style

A beautiful, modern phpBB style with Bootstrap-inspired design principles, featuring responsive layouts, modern colors, and excellent user experience across all devices.

## Features

### 🎨 Modern Design
- **Gradient Headers**: Beautiful gradient backgrounds with modern color schemes
- **Card-based Layouts**: Clean card designs for forums, posts, and components
- **Modern Typography**: Inter font family for excellent readability
- **Subtle Shadows**: Layered shadows for depth and visual hierarchy
- **Rounded Corners**: Consistent border-radius for modern aesthetics

### πŸ“± Fully Responsive
- **Mobile-First**: Designed from 320px upwards
- **Tablet Optimized**: Perfect layouts for tablet devices
- **Desktop Ready**: Beautiful on large screens up to 1400px+
- **Touch Friendly**: 44px minimum touch targets for mobile
- **Responsive Grid**: Bootstrap-inspired grid system

### πŸ—οΈ Bootstrap-Inspired Framework
- **Grid System**: 12-column responsive grid
- **Utility Classes**: Flexbox utilities, spacing, display classes
- **Component Library**: Modern buttons, cards, forms, and alerts
- **Responsive Utilities**: Show/hide classes for different screen sizes

### β™Ώ Accessibility & UX
- **High Contrast Support**: Adapts to user's contrast preferences
- **Reduced Motion**: Respects user's motion preferences
- **Keyboard Navigation**: Full keyboard accessibility
- **Screen Reader Friendly**: Proper ARIA labels and semantic HTML
- **Focus Indicators**: Clear focus states for interactive elements

### 🎯 Key Components

#### Color Scheme
- **Primary**: Modern blue-purple gradient (#6366f1)
- **Secondary**: Professional gray tones (#64748b)
- **Accent**: Vibrant orange (#f59e0b)
- **Status Colors**: Success, warning, danger, info variants
- **Neutral Palette**: 10-step gray scale for consistency

#### Interactive Elements
- **Hover Effects**: Smooth transitions and micro-interactions
- **Button Styles**: Multiple variants with proper states
- **Form Controls**: Modern input styling with focus states
- **Dropdown Menus**: Clean dropdowns with shadows
- **Navigation**: Responsive navigation with mobile menu

#### Layout Components
- **Statistics Cards**: Beautiful stat displays with hover effects
- **Forum Lists**: Card-based forum listings
- **Post Layout**: Clean post structure with user profiles
- **Notification System**: Modern alert and notification styling
- **Tables**: Responsive table design with hover states

## Installation

1. **Upload Files**: Upload the `modernite` folder to your `phpBB/styles/` directory
2. **Install Style**: Go to ACP β†’ Customise β†’ Style Management β†’ Install Styles
3. **Select Modernite**: Choose the Modernite style from the available styles
4. **Activate**: Set as default or allow users to select it

## Browser Support

- **Modern Browsers**: Chrome 88+, Firefox 85+, Safari 14+, Edge 88+
- **Mobile Browsers**: iOS Safari 14+, Chrome Mobile 88+
- **Progressive Enhancement**: Graceful degradation for older browsers

## Customization

### CSS Custom Properties
The style uses CSS custom properties (variables) for easy customization:

```css
:root {
--primary: #6366f1;
--secondary: #64748b;
--success: #10b981;
/* ... more variables */
}
```

### Responsive Breakpoints
- **Mobile**: 320px - 575px
- **Small**: 576px - 767px
- **Medium**: 768px - 991px
- **Large**: 992px - 1199px
- **Extra Large**: 1200px+

### Grid System
Use Bootstrap-inspired classes:
- `.container` - Responsive container
- `.row` - Flex row wrapper
- `.col-*` - Column classes (1-12)
- `.col-sm-*`, `.col-md-*`, etc. - Responsive columns

## File Structure

```
modernite/
β”œβ”€β”€ style.cfg # Style configuration
β”œβ”€β”€ composer.json # Package information
β”œβ”€β”€ theme/
β”‚ β”œβ”€β”€ stylesheet.css # Main stylesheet imports
β”‚ β”œβ”€β”€ bootstrap-grid.css # Grid system and utilities
β”‚ β”œβ”€β”€ modern-colors.css # Color scheme and variables
β”‚ β”œβ”€β”€ modern-components.css # UI components
β”‚ └── modern-responsive.css # Responsive design
β”œβ”€β”€ template/
β”‚ β”œβ”€β”€ overall_header.html # Enhanced header template
β”‚ β”œβ”€β”€ index_body.html # Modern forum index
β”‚ └── index.htm # Security file
└── imgs/
└── index.htm # Security file
```

## Performance

- **Optimized CSS**: Efficient selectors and minimal redundancy
- **Modern Fonts**: Web font loading with proper fallbacks
- **Responsive Images**: Scalable graphics and icons
- **Minimal JavaScript**: Relies on CSS for animations and interactions

## Contributing

Modernite is built with maintainability in mind:
- **Modular CSS**: Separated concerns for colors, components, grid
- **CSS Variables**: Easy theming and customization
- **Documentation**: Well-commented code
- **Standards Compliant**: Follows phpBB style guidelines

## Credits

- **Base Style**: Built on phpBB's Prosilver
- **Design Inspiration**: Modern web design principles and Bootstrap
- **Typography**: Inter font family by Rasmus Andersson
- **Color Palette**: Tailwind CSS inspired colors

## License

This style is released under the same license as phpBB (GPL v2).

---

**Modernite** - Making phpBB beautiful and modern for the next generation of forum users.
30 changes: 30 additions & 0 deletions phpBB/styles/modernite/composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"name": "phpbb/modernite",
"type": "phpbb-style",
"description": "Modernite - A modern and beautiful phpBB style based on prosilver with Bootstrap-inspired design",
"homepage": "https://www.phpbb.com/",
"version": "1.0.0",
"keywords": [
"phpbb",
"style",
"theme",
"modern",
"responsive",
"bootstrap"
],
"license": "GPL-2.0-only",
"authors": [
{
"name": "phpBB Community",
"email": "[email protected]",
"homepage": "https://www.phpbb.com/community/",
"role": "Developer"
}
],
"require": {
"php": ">=7.4.0"
},
"extra": {
"display-name": "Modernite"
}
}
Empty file.
9 changes: 9 additions & 0 deletions phpBB/styles/modernite/style.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# General Information about this style
name = Modernite
copyright = Β© phpBB Community, 2024
style_version = 1.0.0
phpbb_version = 3.3.0

# Parent style
# Set value to empty or to this style's name if this style does not have a parent style
parent = prosilver
Empty file.
Loading