User:KurwaAntics/common.css: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
(Created page with ".greyout { background: rgba(0, 0, 0, 0.5); width: 100%; height: 100%; z-index: 9; position: fixed; transition-duration: 0.25s; } .mymodal { positio...")
 
(Blanked the page)
Line 1: Line 1:
.greyout {
 
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    z-index: 9;
    position: fixed;
    transition-duration: 0.25s;
}
.mymodal {
    position: fixed;
    z-index: 9;
    background: white;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    box-shadow: 0 5px 30px rgba(0,0,0,0.5);
    padding: 10px;
    transition-duration: 0.25s;
}
.close-modal {
    float: right;
    color: white;
    font-size: 30px;
    margin: 32px;
    line-height: 24px;
    font-weight: bold;
    font-family: arial;
    width: 24px;
    text-align: center;
    cursor: pointer;
    transition-duration: 0.25s;
}
.close-modal:hover {
    text-shadow: 0 0 10px white;
}

Revision as of 08:52, September 4, 2016