Jump to content

Template:WelcomeHeader/styles.css

From LumiWiki
.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;
}

.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);
    }
}