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: fixed;
    position: relative;
}
 
#show-article {
     position: fixed;  
    z-index: 1; /* Ensure it's above the wrapper */
     top: 0;
     top: 0;
     right: 0;
     right: 0;
Line 116: Line 121:
     background-color: white;
     background-color: white;
     border: 1px solid;
     border: 1px solid;
    transition: transform 0.001s ease, border 0.001s ease; /* Add transitions with ease timing function */
    filter: blur(0);
    -webkit-filter: blur(0);
}
#show-article {
    position: relative; /* Add position relative */
    z-index: 1; /* Ensure it's above the wrapper */
    padding: 20px;
    transition: transform 0.001s ease, border 0.001s ease;
    filter: blur(0);
    -webkit-filter: blur(0);
}
}


#show-article:hover {
#show-article:hover {
     /* Styles for show-article when hovered */
     /* Styles for show-article when hovered */
    transform: rotate(2.5deg); /* Rotate the content */
    filter: blur(0);
    -webkit-filter: blur(0);
    border: 1px solid;
    background-color: white;
    padding: 20px;
}
}


#show-article-wrapper:hover {
#show-article-wrapper:hover {
    position: fixed;
    z-index: 1; /* Ensure it's above the wrapper */
    top: 0;
    right: 0;
    width: 37%;
    height: max-content;
    margin-right: 2%;
    margin-top: 2%;
    background-color: white;
    border: 1px solid;
}
#article-frame {
}
#article-frame:hover {
     border: 1px solid black; /* Adjust the border style as needed */
     border: 1px solid black; /* Adjust the border style as needed */
     transform: rotate(-2.5deg); /* Rotate the wrapper */
     transform: rotate(-2.5deg); /* Rotate the wrapper */
    filter: blur(0);
    -webkit-filter: blur(0);
}
#show-article-content {
    /* Add any specific styles for #show-article-content if needed */
}
}


Navigation menu