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 400: Line 400:
/* Style the article window */
/* Style the article window */
#show-article-wrapper {
#show-article-wrapper {
     display: none;
     display: none; /* or 'block' if visible */
     position: fixed;
     position: fixed;
     top: 0;
     top: 0;
     left: 0;
     left: 0;
     width: 100vw; /* Cover the entire width */
     width: 100vw;
     height: 100vh; /* Cover the entire height */
     height: 100vh;
     overflow: visible;
    z-index: 1050; /* High enough to be on top */
    z-index: 2; /* Above #list */
     overflow: visible!important; /* To allow pseudo-element to show */
}
}
/* Hides scrollbar for Webkit browsers */
/* Hides scrollbar for Webkit browsers */
Line 414: Line 414:
}
}
#show-article-inner-wrapper {
#show-article-inner-wrapper {
position: absolute; /* Positioning within the fixed wrapper */
position: absolute; /* Adjusted to 'absolute' */
     top: 0;
     top: 0;
     right: 0; /* Align to the right */
     right: 0; /* Keeps it to the right */
     width: 40%; /* Or your desired width */
     width: 40%; /* Adjust based on your design */
     height: 100vh; /* Full height */
     height: 100vh;
     overflow: auto; /* Scrollable content */
     overflow: auto; /* Allows scrolling within */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}
}
#show-article {
#show-article {

Navigation menu