mirror of
https://github.com/flarum/framework.git
synced 2024-12-05 09:03:36 +08:00
46 lines
627 B
Plaintext
46 lines
627 B
Plaintext
.hero {
|
|
margin-top: -1px;
|
|
background: @fl-body-hero-bg;
|
|
text-align: center;
|
|
padding: 20px 0;
|
|
|
|
&, & a, & .close {
|
|
color: @fl-body-hero-color;
|
|
}
|
|
& h2 {
|
|
margin: 0;
|
|
font-size: 16px;
|
|
font-weight: normal;
|
|
line-height: 1.5em;
|
|
}
|
|
}
|
|
.welcome-hero {
|
|
& a, & .close {
|
|
opacity: 0.5;
|
|
}
|
|
& .close {
|
|
float: right;
|
|
margin-top: -10px;
|
|
}
|
|
& p {
|
|
margin: 5px 0 0;
|
|
}
|
|
}
|
|
@media @phone {
|
|
.hero {
|
|
& .close {
|
|
margin-right: -10px;
|
|
}
|
|
}
|
|
}
|
|
@media @tablet, @desktop, @desktop-hd {
|
|
.hero {
|
|
padding: 30px 0;
|
|
font-size: 14px;
|
|
|
|
& h2 {
|
|
font-size: 22px;
|
|
}
|
|
}
|
|
}
|