Jump to content

MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 3: Line 3:




/* Remove qualquer preenchimento extra de tags pre ou code que a wiki insira */
 
.variations-toggle pre,
/* 1. Força o botão a ocupar apenas o tamanho do texto */
.variations-toggle code {
.variations-toggle {
     display: contents !important;
     width: auto !important;
     background: none !important;
     display: flex !important;
     border: none !important;
     justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
}
}


/* Garante que o botão de toggle não tenha largura total */
.mw-customtoggle {
    width: fit-content !important;
    max-width: 100%;
}


/* Arrow base */
.arrow-icon {
    transition: transform 0.3s ease;
    display: inline-block !important;
}


/* When expanded → rotate */
.mw-collapsible.mw-collapsible-expanded .arrow-icon {
    transform: rotate(180deg) !important;
}


.variations-list > pre,
.variations-list > pre,