MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 113: Line 113:
#show-article {
#show-article {
     position: fixed;
     position: fixed;
     z-index: 2; /* Higher z-index to be on top */
     z-index: 2;
     top: 0;
     top: 0;
     right: 0;
     right: 0;
     width: inherit;
     width: inherit;
     height: max-content; /* Make it take the height required by the content */
     min-height: 100px; /* Set a minimum height for show-article */
     margin-right: 2%;
     margin-right: 2%;
     margin-top: 2%;
     margin-top: 2%;
Line 127: Line 127:
#article-frame {
#article-frame {
     position: fixed;
     position: fixed;
     z-index: 1; /* Lower z-index to be below #show-article */
     z-index: 1;
     top: 0;
     top: 0;
     right: 0;
     right: 0;
     width: inherit;
     width: inherit;
     height: max-content; /* Make it take the height required by the content */
     min-height: 100px; /* Set a minimum height for article-frame */
     margin-right: 2%;
     margin-right: 2%;
     margin-top: 2%;
     margin-top: 2%;
Line 137: Line 137:
     border: 1px solid;
     border: 1px solid;
     padding: 10px;
     padding: 10px;
    transform-origin: 100% 0; /* Set the rotation origin to the top right corner */
}
}


Line 142: Line 143:
     border: 1px solid black;
     border: 1px solid black;
     transform: rotate(-5deg);
     transform: rotate(-5deg);
    height: max-content;
    z-index: 1;
}
}


Navigation menu