MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 107: Line 107:
#show-article-wrapper {
#show-article-wrapper {
     display: none;
     display: none;
     position: relative;
     position: fixed; /* Change to fixed */
    top: 0;
    right: 0;
     width: 40%;
     width: 40%;
     height: max-content;
     height: 100vh; /* Set to full viewport height */
    overflow-y: auto; /* Enable vertical scrolling when content overflows */
    z-index: 2; /* Ensure it's above #list */
}
}


#show-article {
#show-article {
    position: fixed;
    top: 0;
    right: 0;
    margin-right: 2%;
    margin-top: 2%;
    width: inherit;
     background-color: white;
     background-color: white;
     border: 1px solid;
     border: 1px solid;
     padding: 10px;
     padding: 10px;
     z-index: 2; /* Ensure it's above #article-frame */
}
 
#article-frame {
     /* You can style #article-frame as needed */
}
}


Navigation menu