MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:FILL@0..1"); | @import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:FILL@0..1"); | ||
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;700&display=swap'); | @import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;700&display=swap'); | ||
.copy-code-button { | |||
background-color: #f8f9fa; | |||
border: 1px solid #a2a9b1; | |||
border-radius: 2px; | |||
color: #202122; | |||
margin-left: 10px; | |||
z-index: 100; | |||
} | |||
.copy-code-button:hover { | |||
background-color: #ffffff; | |||
border-color: #447ff5; | |||
color: #447ff5; | |||
} | |||
/* Garante que o bloco pre tem espaço para o botão */ | |||
pre, .mw-code { | |||
position: relative; | |||
padding-top: 30px !important; | |||
} | |||