MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 131: Line 131:
     box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
     box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
     z-index: 3; /* Ensure it's above the overlay */
     z-index: 3; /* Ensure it's above the overlay */
    position: relative; /* Ensure it respects its normal position */


     /* Add a second border (pseudo-element) */
     /* Add a second border on the right */
     position: absolute;
     border-right: 5px solid #000;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    border: 5px solid transparent;
    border-image: linear-gradient(to bottom right, transparent 50%, #000 50%) 1;
    border-image-slice: 1;
}
}




Navigation menu