MediaWiki:Common.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.
.oc-copy-wrap {
position: relative;
margin: 0.6rem 0;
}
.oc-copy-wrap > pre,
.oc-copy-wrap > .mw-highlight {
margin: 0;
}
.oc-copy-button {
position: absolute;
top: 0.5rem;
right: 0.5rem;
z-index: 5;
border: 1px solid #c8ccd1;
background: rgba(255, 255, 255, 0.94);
color: #202122;
border-radius: 6px;
padding: 0.2rem 0.6rem;
font-size: 0.78rem;
line-height: 1.2;
cursor: pointer;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.oc-copy-button:hover {
background: #f8f9fa;
}
.oc-copy-button:focus {
outline: 2px solid #36c;
outline-offset: 1px;
}