MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 114: Line 114:
#show-article {
#show-article {
     position: fixed;  
     position: fixed;  
    z-index: 2; /* Ensure it's above the wrapper and article-frame */
     top: 0;
     top: 0;
     right: 0;
     right: 0;
    margin-right: 2%;
    margin-top: 2%;
     width: inherit;
     width: inherit;
     background-color: white;
     background-color: white;
Line 129: Line 126:
}
}


#show-article-wrapper:hover {
#show-article-wrapper:hover #article-frame {
    border: 1px solid black;
    transform: rotate(-2.5deg);
}
}


#article-frame {
#article-frame {
     position: fixed;
     position: fixed;
    z-index: 1; /* Ensure it's below show-article */
     top: 0;
     top: 0;
     right: 0;
     right: 0;
    margin-right: 2%;
    margin-top: 2%;
     width: inherit;
     width: inherit;
     background-color: white;
     background-color: white;
Line 145: Line 141:
}
}


#article-frame:hover {
    border: 1px solid black;
    transform: rotate(-2.5deg);
    z-index: 1; /* Ensure it's above the non-hovered article-frame */
}


.article-metadata {
.article-metadata {

Navigation menu