MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
@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'); | ||
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap'); | @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap'); | ||
/* Espaçamento do seletor para afastar do "Main menu" e da "Main page" */ | |||
.gtranslate_wrapper { | |||
margin-top: 18px !important; /* Espaço acima (Main menu) */ | |||
margin-bottom: 24px !important; /* Espaço abaixo (Main page) */ | |||
padding: 0 !important; | |||
display: block !important; | |||
} | |||
/* Estilização da caixa e seta personalizada */ | /* Estilização da caixa e seta personalizada */ | ||
| Line 18: | Line 26: | ||
cursor: pointer !important; | cursor: pointer !important; | ||
/* Seta SVG personalizada afastada da | /* Seta SVG personalizada afastada 14px da direita */ | ||
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="%23000000" d="M2.22 4.47a.75.75 0 011.06 0L6 7.19l2.72-2.72a.75.75 0 111.06 1.06l-3.25 3.25a.75.75 0 01-1.06 0L2.22 5.53a.75.75 0 010-1.06z"/></svg>') !important; | background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="%23000000" d="M2.22 4.47a.75.75 0 011.06 0L6 7.19l2.72-2.72a.75.75 0 111.06 1.06l-3.25 3.25a.75.75 0 01-1.06 0L2.22 5.53a.75.75 0 010-1.06z"/></svg>') !important; | ||
background-repeat: no-repeat !important; | background-repeat: no-repeat !important; | ||
background-position: right 14px center !important; | background-position: right 14px center !important; | ||
background-size: 12px 12px !important; | background-size: 12px 12px !important; | ||