MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 19: | Line 19: | ||
.copy-button:hover { | .copy-button:hover { | ||
background-color: #666; | background-color: #666; | ||
} | |||
mw-highlight { | |||
background-color: #222; | |||
} | } | ||
Line 27: | Line 31: | ||
border-radius: 5px; | border-radius: 5px; | ||
overflow-x: auto; | overflow-x: auto; | ||
} | } |
Revision as of 22:48, 22 March 2025
/* CSS placed here will be applied to all skins */
.mw-highlight-bill pre {
background-color: #011627;
}
.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;
}
mw-highlight {
background-color: #222;
}
syntaxhighlight {
position: relative;
display: block;
padding-top: 30px; /* Add space for the button */
border-radius: 5px;
overflow-x: auto;
}