mirror of
https://github.com/flarum/core.git
synced 2025-07-31 05:30:38 +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:
47
less/forum/Hero.less
Normal file
47
less/forum/Hero.less
Normal file
@@ -0,0 +1,47 @@
|
||||
.Hero {
|
||||
margin-top: -1px;
|
||||
background: @hero-bg;
|
||||
text-align: center;
|
||||
color: @hero-color;
|
||||
|
||||
h2 {
|
||||
margin: 0;
|
||||
font-size: 16px;
|
||||
font-weight: normal;
|
||||
line-height: 1.5em;
|
||||
}
|
||||
.container {
|
||||
padding-top: 20px;
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
}
|
||||
.Hero-close {
|
||||
float: right;
|
||||
margin-top: -10px;
|
||||
color: inherit;
|
||||
}
|
||||
.Hero-subtitle {
|
||||
margin: 8px 0 0;
|
||||
line-height: 1.5em;
|
||||
}
|
||||
|
||||
@media @phone {
|
||||
.Hero-close {
|
||||
margin-right: -10px;
|
||||
}
|
||||
}
|
||||
|
||||
@media @tablet-up {
|
||||
.Hero {
|
||||
h2 {
|
||||
font-size: 22px;
|
||||
}
|
||||
.container {
|
||||
padding-top: 40px;
|
||||
padding-bottom: 30px;
|
||||
}
|
||||
}
|
||||
.Hero-subtitle {
|
||||
font-size: 15px;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user