MediaWiki:Vector.css
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)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
.copy-button {
position: absolute;
top: 10px;
right: 10px;
background-color: #444;
color: white;
border: none;
border-radius: 5px;
padding: 5px 10px;
cursor: pointer;
font-size: 12px;
}
.copy-button:hover {
background-color: #666;
}
div.mw-highlight {
position: relative;
display: block;
padding-top: 30px; /* Add space for the button */
border-radius: 5px;
overflow-x: auto;
}