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