MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 399: Line 399:


/* Style the article window */
/* Style the article window */
#show-article-outer-wrapper {
#show-article-wrapper {
     display: none; /* Initially hidden, shown when needed */
     display: none;
     position: fixed; /* Fixed to viewport */
     position: fixed; /* Change to fixed */
     top: 0;
     top: 0;
     right: 0;
     right: 0;
     width: 40%; /* Or desired width */
     width: 40%;
     height: 100vh; /* Full viewport height */
     height: 100vh; /* Set to full viewport height */
     overflow-y: auto!important; /* Enable vertical scrolling */
     overflow: auto; /* Enables scrolling if content overflows */
     z-index: 1050; /* High enough to overlay content */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
     z-index: 2; /* Ensure it's above #list */
}
}
#show-article-wrapper {
/* Hides scrollbar for Webkit browsers */
     overflow: visible; /* Keep for the pseudo-element effect */
#show-article-wrapper::-webkit-scrollbar {
     display: none;
}
}
#show-article {
#show-article {
     background-color: white;
     background-color: white;
     border: 1px solid;
     border: 1px solid;
     padding: 10px; /* Adjusted padding */
     padding: 0px 10px 0 10px;
     position: relative; /* Position relative to #show-article-wrapper */
     position: relative;
     overflow: visible; /* For the pseudo-element */
     top: 86px;
    right: 25px;
    margin-left: 35px;
}
}
#show-article:before {
#show-article:before {

Navigation menu