MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 105: Line 105:
/* Style the article window */
/* Style the article window */
#show-article {
#show-article {
     display: none;
     display: none;  
     position: fixed;
     position: fixed;  
     top: 0;
     top: 0;  
     right: 0;
     right: 0;  
     width: 37%;
     width: 37%;  
     height: 100%;
     height: 100%;  
     margin-right: 2%;
     margin-right: 2%;  
     margin-top: 2%;
     margin-top: 2%;  
     background-color: white;
     background-color: white;  
     padding: 20px;
     padding: 20px;  
     box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
     border: 1px solid;
    transition: box-shadow 0.3s ease-out; /* Add transition for smooth effect */
}
}


#show-article:hover {
#show-article:hover {
     box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.2); /* right, bottom, blur, color */
     border: 2px solid red; /* Change the border style on hover as an example */
}
}


Navigation menu