MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Tag: Reverted
Line 105: Line 105:


/* Style the article window */
/* Style the article window */
#show-article-wrapper {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
    z-index: 1000; /* Ensure the wrapper appears above other elements */
}
#show-article {
#show-article {
     display: none; position: fixed; top: 0; right: 0; width: 37%; height: max-content; margin-right: 2%; margin-top: 2%; background-color: white; padding: 20px; border: 1px solid;
     position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Additional styling for the fixed column, adjust as needed */
    width: 70%;
    max-width: 600px;
    background-color: white;
    padding: 20px;
    border: 1px solid;
}
}


Navigation menu