mirror of
https://github.com/flarum/core.git
synced 2025-10-14 00:15:51 +02:00
Major CSS revamp
- Get rid of Bootstrap (except we still rely on some JS) - Use BEM class names - Rework variables/theme config - Fix various bugs, including some on mobile The CSS is still not ideal – it needs to be cleaned up some more. But that can be a focus for after beta.
This commit is contained in:
@@ -20,15 +20,15 @@ export default class WelcomeHero extends Component {
|
||||
};
|
||||
|
||||
return (
|
||||
<header className="hero welcome-hero">
|
||||
<header className="Hero WelcomeHero">
|
||||
<div class="container">
|
||||
<button className="close btn btn-icon btn-link" onclick={slideUp}>
|
||||
<button className="Hero-close Button Button--icon Button--link" onclick={slideUp}>
|
||||
{icon('times')}
|
||||
</button>
|
||||
|
||||
<div className="container-narrow">
|
||||
<h2>{app.forum.attribute('welcomeTitle')}</h2>
|
||||
<div className="subtitle">{m.trust(app.forum.attribute('welcomeMessage'))}</div>
|
||||
<div className="containerNarrow">
|
||||
<h2 className="Hero-title">{app.forum.attribute('welcomeTitle')}</h2>
|
||||
<div className="Hero-subtitle">{m.trust(app.forum.attribute('welcomeMessage'))}</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
Reference in New Issue
Block a user