MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Tag: Reverted
No edit summary
Tags: Manual revert Reverted
Line 400: Line 400:
/* Style the article window */
/* Style the article window */
#show-article-wrapper {
#show-article-wrapper {
     display: none; /* or 'block' if visible */
     display: none;
     position: fixed;
      
     top: 0;
     overflow: visible!important;
    left: 0;
     z-index: 2; /* Ensure it's above #list */
    width: 100vw;
    height: 100vh;
     z-index: 1050; /* High enough to be on top */
    overflow: visible!important; /* To allow pseudo-element to show */
}
}
/* Hides scrollbar for Webkit browsers */
/* Hides scrollbar for Webkit browsers */
Line 414: Line 410:
}
}
#show-article-inner-wrapper {
#show-article-inner-wrapper {
position: absolute; /* Adjusted to 'absolute' */
position: fixed; /* Change to fixed */
     top: 0;
     top: 0;
     right: 0; /* Keeps it to the right */
     right: 0;
     width: 40%; /* Adjust based on your design */
    overflow: auto;
     width: 40%;
     height: 100vh;
     height: 100vh;
     overflow: auto; /* Allows scrolling within */
     scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}
}
#show-article {
#show-article {

Navigation menu