MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 115: Line 115:
     background-color: white;
     background-color: white;
     border: 1px solid;
     border: 1px solid;
     transition: transform 0.5s ease, border 0.5s ease; /* Use ease timing function or your preferred one */
     transition: transform 0.5s ease, border 0.5s ease;
}
}


Line 122: Line 122:
     z-index: 1;
     z-index: 1;
     padding: 20px;
     padding: 20px;
     transition: transform 0.5s ease, border 0.5s ease; /* Use the same timing function as the wrapper */
     transition: transform 0.5s ease, border 0.5s ease;
}
}


#show-article:hover {
#show-article:hover {
     transform: rotate(2.5deg);
     transform: translate(0) rotate(2.5deg); /* Use translate(0) to help with any layout issues */
     border: 1px solid;
     border: 1px solid;
     background-color: white;
     background-color: white;
     padding: 20px;
     padding: 20px;
     transition: none; /* Disable transition during hover */
     transition: none;
}
}


#show-article-wrapper:hover {
#show-article-wrapper:hover {
     border: 1px solid black;
     border: 1px solid black;
     transform: rotate(-2.5deg);
     transform: translate(0) rotate(-2.5deg);
     transition: none; /* Disable transition during hover */
     transition: none;
}
}


Navigation menu