MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 188: Line 188:
}
}
#editpage-specialchars {
#editpage-specialchars {
     position: relative;
     position: fixed; /* Make it sticky */
    transition: all 0.3s ease-in-out;
     top: 20px; /* Distance from the top of the viewport */
}
     right: 20px; /* Distance from the right side of the viewport */
 
     width: 200px; /* Set the desired width */
.sticky-sidebar {
     max-height: 90vh; /* Maximum height relative to viewport */
     position: fixed;
    overflow-y: auto; /* Scroll content if it overflows */
    top: 0;
     z-index: 1000; /* Ensure it stays on top */
     right: 0; /* Adjust based on your layout */
     background-color: #f9f9f9; /* Optional: background color */
     width: 200px; /* Adjust the width as needed */
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Optional: shadow */
     height: 100%; /* Full height */
    padding: 10px; /* Optional: padding inside the box */
     z-index: 1000;
    border-radius: 5px; /* Optional: rounded corners */
     background-color: #f9f9f9; /* Optional background */
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Optional shadow */
}
}

Navigation menu