MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 106: Line 106:
/* Style the article window */
/* Style the article window */
#show-article-wrapper {
#show-article-wrapper {
    position: fixed;
     transition: transform 0.3s ease; /* Added transition property */
    top: 0;
     transform-origin: top right; /* Set the transform origin to the top right corner */
    right: 0;
    transform: rotateY(0deg); /* Initial rotation set to 0 degrees */
    width: 37%;
     transition: transform 0.3s ease;
     transform-origin: top right;
}
}


#show-article-wrapper:hover {
#show-article-wrapper:hover {
     transform: rotate(-10deg);
     transform: rotateY(-15deg); /* Rotate on hover */
}
 
#show-article-content-wrapper {
    transform: rotate(10deg);
}
}


#show-article {
#show-article {
     display: none;
     display: none;
     max-height: 100%;
     position: fixed;
     overflow: hidden;
    top: 0;
    right: 0;
    width: 37%;
    height: max-content;
    margin-right: 2%;
     margin-top: 2%;
     background-color: white;
     background-color: white;
     padding: 20px;
     padding: 20px;
     border: 1px solid;
     border: 1px solid;
}
#show-article-wrapper:hover #show-article {
    display: block;
}
}


Navigation menu