Jump to content

MediaWiki:Common.css

From CreatorsWiki
Revision as of 23:39, 3 October 2026 by Parvej Husen Talukder (talk | contribs) (Created page with "→CSS placed here will be applied to all skins: →========================================================= CreatorsWiki — Coming Soon =========================================================: .cw-coming-soon { min-height: 520px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; margin: 20px 0; padding: 60px 25px; background: radial-gradient(...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */


/* =========================================================
   CreatorsWiki — Coming Soon
   ========================================================= */

.cw-coming-soon {
    min-height: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    margin: 20px 0;
    padding: 60px 25px;

    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(51, 102, 204, 0.08),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #f8f9fa 0%,
            #ffffff 50%,
            #eef6ff 100%
        );

    border: 1px solid #c8ccd1;
    border-radius: 10px;

    overflow: hidden;
    position: relative;

    box-sizing: border-box;
}


/* Subtle background glow */

.cw-coming-soon::before {
    content: "";
    position: absolute;

    width: 320px;
    height: 320px;

    top: -150px;
    right: -100px;

    background: rgba(51, 102, 204, 0.05);

    border-radius: 50%;

    animation: cw-float 7s ease-in-out infinite;
}

.cw-coming-soon::after {
    content: "";
    position: absolute;

    width: 250px;
    height: 250px;

    bottom: -130px;
    left: -80px;

    background: rgba(51, 102, 204, 0.04);

    border-radius: 50%;

    animation: cw-float 9s ease-in-out infinite reverse;
}


/* Logo */

.cw-logo {
    position: relative;
    z-index: 1;

    font-size: 46px;
    line-height: 1.1;

    font-weight: 700;
    letter-spacing: -1.5px;

    color: #202122;

    animation: cw-fade-down 1s ease-out both;
}


/* Tagline */

.cw-tagline {
    position: relative;
    z-index: 1;

    margin-top: 12px;

    max-width: 620px;

    font-size: 18px;
    line-height: 1.6;

    color: #54595d;

    animation: cw-fade-up 1s ease-out 0.2s both;
}


/* Loader */

.cw-loader {
    position: relative;
    z-index: 1;

    width: 86px;
    height: 86px;

    margin: 42px 0 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    animation: cw-fade-up 1s ease-out 0.4s both;
}


.cw-loader-ring {
    width: 72px;
    height: 72px;

    border-radius: 50%;

    border: 3px solid #eaecf0;
    border-top-color: #36c;
    border-right-color: #36c;

    animation: cw-spin 1.2s linear infinite;
}


/* Coming Soon */

.cw-title {
    position: relative;
    z-index: 1;

    font-size: 30px;
    font-weight: 600;

    color: #202122;

    animation: cw-fade-up 1s ease-out 0.6s both;
}


/* Description */

.cw-description {
    position: relative;
    z-index: 1;

    max-width: 560px;

    margin-top: 12px;

    font-size: 15px;
    line-height: 1.7;

    color: #72777d;

    animation: cw-fade-up 1s ease-out 0.8s both;
}


/* Status pill */

.cw-status {
    position: relative;
    z-index: 1;

    margin-top: 30px;

    padding: 9px 17px;

    border: 1px solid #c8ccd1;
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.8);

    font-size: 13px;

    color: #54595d;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);

    animation:
        cw-fade-up 1s ease-out 1s both,
        cw-pulse 3s ease-in-out 2s infinite;
}


/* Status dot */

.cw-status span {
    display: inline-block;

    width: 7px;
    height: 7px;

    margin-right: 5px;

    border-radius: 50%;

    background: #36c;

    vertical-align: middle;

    animation: cw-blink 2s ease-in-out infinite;
}


/* =========================================================
   Animations
   ========================================================= */

@keyframes cw-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


@keyframes cw-fade-down {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes cw-fade-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes cw-float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(25px);
    }
}


@keyframes cw-pulse {
    0%,
    100% {
        opacity: 0.75;
    }

    50% {
        opacity: 1;
    }
}


@keyframes cw-blink {
    0%,
    100% {
        opacity: 0.4;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.15);
    }
}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 600px) {

    .cw-coming-soon {
        min-height: 450px;
        padding: 45px 20px;
    }

    .cw-logo {
        font-size: 36px;
    }

    .cw-tagline {
        font-size: 16px;
    }

    .cw-title {
        font-size: 26px;
    }

    .cw-description {
        font-size: 14px;
    }

    .cw-status {
        font-size: 12px;
    }
}