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;  
     border: 1px solid;
     border: 1px solid;
     transition: border 0.3s ease-in-out; /* Add a smooth transition for the border change */
     transition: border-width 0.3s, box-shadow 0.3s;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative; /* Add position: relative; to avoid interference with hover effect */
    z-index: 2; /* Ensure it's above the overlay */
    float: right; /* Add float: right; to position it on the right side */
 
    /* Create a pseudo-element for the second border (tilted) */
    position: relative;
}
}


Line 130: Line 123:
     border-width: 5px;
     border-width: 5px;
     box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
     box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    z-index: 3; /* Ensure it's above the overlay */
    position: relative; /* Ensure it respects its normal position */
    /* Add a second border on the right */
    border-right: 5px solid #000;
}
}


.article-metadata {
.article-metadata {

Navigation menu