MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Tags: Manual revert Reverted
No edit summary
Tag: Reverted
Line 107: Line 107:
#show-article-wrapper {
#show-article-wrapper {
     display: none;
     display: none;
     position: relative;
     position: fixed;
    top: 0;
    right: 0;
     width: 40%;
     width: 40%;
     max-height: 80vh; /* Set a maximum height (adjust as needed) */
     height: 100vh;
    background-color: white;
    border: 1px solid;
    padding: 10px;
    z-index: 2;
     overflow-y: auto; /* Enable vertical scrolling when content overflows */
     overflow-y: auto; /* Enable vertical scrolling when content overflows */
}
}


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


Line 134: Line 130:
     border: 1px solid black;
     border: 1px solid black;
     transform: rotate(-2.5deg);
     transform: rotate(-2.5deg);
     z-index: 1; /* Ensure #article-frame is above other content in #show-article */
     z-index: 1;
}
}


Line 141: Line 137:
     top: 0;
     top: 0;
     right: 0;
     right: 0;
    margin-right: 2%;
    margin-top: 2%;
     width: inherit;
     width: inherit;
    max-height: 80vh; /* Set a maximum height (adjust as needed) */
    overflow-y: auto; /* Enable vertical scrolling when content overflows */
     background-color: white;
     background-color: white;
     border: 1px solid;
     border: 1px solid;
     padding: 10px;
     padding: 10px;
     z-index: 1; /* Ensure it's above other content in #show-article */
     z-index: 0; /* Lower z-index to keep it below other content in #show-article */
}
}




Navigation menu