Template:WelcomeHeader/styles.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
.lumi-welcome { | .lumi-welcome { | ||
padding: 32px; | position: relative; | ||
isolation: isolate; | |||
overflow: hidden; | |||
padding: 40px 32px; | |||
margin-bottom: 28px; | margin-bottom: 28px; | ||
border: 1px solid #444; | border: 1px solid #444; | ||
| Line 7: | Line 10: | ||
background: #20242b; | background: #20242b; | ||
color: #f5f5f5; | color: #f5f5f5; | ||
} | |||
.lumi-welcome-banner { | |||
position: absolute; | |||
inset: 0; | |||
z-index: -2; | |||
overflow: hidden; | |||
} | |||
.lumi-welcome-banner img { | |||
display: block; | |||
width: 100%; | |||
height: 100%; | |||
object-fit: cover; | |||
object-position: center bottom; | |||
} | |||
.lumi-welcome::before { | |||
content: ""; | |||
position: absolute; | |||
inset: 0; | |||
z-index: -1; | |||
background: linear-gradient( | |||
90deg, | |||
rgba(20, 24, 32, 0.95) 0%, | |||
rgba(20, 24, 32, 0.85) 55%, | |||
rgba(20, 24, 32, 0.45) 100% | |||
); | |||
} | } | ||
| Line 52: | Line 83: | ||
@media screen and (max-width: 600px) { | @media screen and (max-width: 600px) { | ||
.lumi-welcome { | .lumi-welcome { | ||
padding: 20px; | padding: 24px 20px; | ||
} | } | ||
| Line 68: | Line 99: | ||
.lumi-welcome-title { | .lumi-welcome-title { | ||
font-size: 1.6em; | font-size: 1.6em; | ||
} | |||
.lumi-welcome::before { | |||
background: rgba(20, 24, 32, 0.82); | |||
} | } | ||
} | } | ||
Latest revision as of 19:09, 13 November 2026
.lumi-welcome {
position: relative;
isolation: isolate;
overflow: hidden;
padding: 40px 32px;
margin-bottom: 28px;
border: 1px solid #444;
border-radius: 10px;
background: #20242b;
color: #f5f5f5;
}
.lumi-welcome-banner {
position: absolute;
inset: 0;
z-index: -2;
overflow: hidden;
}
.lumi-welcome-banner img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
object-position: center bottom;
}
.lumi-welcome::before {
content: "";
position: absolute;
inset: 0;
z-index: -1;
background: linear-gradient(
90deg,
rgba(20, 24, 32, 0.95) 0%,
rgba(20, 24, 32, 0.85) 55%,
rgba(20, 24, 32, 0.45) 100%
);
}
.lumi-welcome-layout {
display: flex;
align-items: center;
gap: 28px;
}
.lumi-welcome-logo {
flex: 0 0 160px;
text-align: center;
}
.lumi-welcome-logo img {
display: block;
max-width: 100%;
height: auto;
}
.lumi-welcome-content {
flex: 1;
min-width: 0;
}
.lumi-welcome-title {
font-size: 2em;
font-weight: 700;
line-height: 1.2;
margin-bottom: 12px;
}
.lumi-welcome-subtitle {
font-size: 1.15em;
color: #69c9ed;
margin-bottom: 16px;
}
.lumi-welcome-description {
font-size: 1em;
line-height: 1.6;
color: #d0d6df;
}
@media screen and (max-width: 600px) {
.lumi-welcome {
padding: 24px 20px;
}
.lumi-welcome-layout {
flex-direction: column;
gap: 16px;
text-align: center;
}
.lumi-welcome-logo {
flex: none;
width: 120px;
}
.lumi-welcome-title {
font-size: 1.6em;
}
.lumi-welcome::before {
background: rgba(20, 24, 32, 0.82);
}
}