User:KurwaAntics/common.css
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
.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;
}