MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 121: Line 121:
}
}


/* Sleek, black card-style highlight box */
/* Body FX */
/* Refined highlighted box for campaign section */
.icannwiki-colored-box-highlighted {
.icannwiki-colored-box-highlighted {
     padding: 1em;
     padding: 1em;
     font-size: 1.05em;
     font-size: 1.05em;
     position: relative;
     position: relative;
     background-color: #121212; /* Dark grey, close to black */
     background-color: #1a1a1a; /* Dark but with slight contrast */
     border-radius: 8px;
     border-radius: 8px;
     box-shadow: inset 0px 0px 6px rgba(255, 255, 255, 0.05), /* Subtle inner glow */
     box-shadow: inset 0px 0px 8px rgba(255, 255, 255, 0.05), /* Soft inner glow */
                 0px 4px 12px rgba(0, 0, 0, 0.6); /* Depth shadow */
                 0px 4px 10px rgba(0, 0, 0, 0.5); /* Outer shadow for depth */
     color: #e0e0e0; /* Light grey text for readability */
     color: #f0f0f0; /* Off-white text for readability */
     overflow: hidden;
     overflow: hidden;
     margin-bottom: 1em;
     margin-bottom: 1em;
Line 136: Line 137:
}
}


/* Subtle gloss effect with a dark gradient */
/* Slight glossy overlay to add a sheen */
.icannwiki-colored-box-highlighted::before {
.icannwiki-colored-box-highlighted::before {
     content: "";
     content: "";
     position: absolute;
     position: absolute;
     top: 0;
     top: -15%;
     left: 0;
     left: -15%;
     width: 100%;
     width: 130%;
     height: 100%;
     height: 130%;
     background: linear-gradient(145deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.05) 20%, rgba(0, 0, 0, 0.2) 80%);
     background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05), rgba(88, 88, 88, 0.03), rgba(0, 0, 0, 0.1));
     opacity: 0.8;
     animation: highlightedBoxFlowingEffect 16s ease-in-out infinite;
     z-index: 0;
     z-index: 0;
     border-radius: 8px;
    filter: blur(6px); /* Soft blur for gloss effect */
    opacity: 0.5;
     border-radius: 12px;
}
}


/* Subtle sheen animation */
/* Sheen animation for a touch of movement */
.icannwiki-colored-box-highlighted::after {
.icannwiki-colored-box-highlighted::after {
     content: "";
     content: "";
Line 158: Line 161:
     width: 220%;
     width: 220%;
     height: 100%;
     height: 100%;
     background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 70%);
     background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 80%);
     animation: subtleSheen 8s ease-in-out infinite;
     animation: subtleSheen 10s ease-in-out infinite;
     opacity: 0.05;
     opacity: 0.08;
     z-index: 1;
     z-index: 1;
     border-radius: 8px;
     border-radius: 8px;
}
}


/* Keyframes for the subtle sheen animation */
/* Smooth, flowing animation effect */
@keyframes highlightedBoxFlowingEffect {
    0% { transform: translate(0%, 0%) scale(1); }
    25% { transform: translate(5%, -5%) scale(1.05); }
    50% { transform: translate(-5%, 5%) scale(1); }
    75% { transform: translate(5%, 5%) scale(1.05); }
    100% { transform: translate(0%, 0%) scale(1); }
}
 
/* Keyframes for sheen animation */
@keyframes subtleSheen {
@keyframes subtleSheen {
     0% { transform: translateX(-100%); }
     0% { transform: translateX(-100%); }
Line 172: Line 184:
}
}


/* Content text styling */
/* Content style */
.icannwiki-colored-box-highlighted .content-text {
.icannwiki-colored-box-highlighted .content-text {
     position: relative;
     position: relative;