MediaWiki:Vector.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary Tag: Reverted |
||
Line 22: | Line 22: | ||
border-radius: 5px; | border-radius: 5px; | ||
overflow-x: auto; | overflow-x: auto; | ||
background-color: #444; | |||
} | } |
Revision as of 23:12, 22 March 2025
.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;
background-color: #444;
}