Jump to content

MediaWiki:Vector-2022.css: Difference between revisions

No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
 
(25 intermediate revisions by the same user not shown)
Line 2,134: Line 2,134:
   color: white; /* or currentColor */
   color: white; /* or currentColor */
}
}
.mw-ui-icon-wikimedia-ellipsis {
  -webkit-mask-image: none !important;
  mask-image: none !important;
  background: none !important;
  width: 2rem !important;
}
/* Inject Material icon */
.mw-ui-icon-wikimedia-ellipsis::before {
  content: "account_circle";
  font-family: "Material Symbols Rounded";
  font-weight: normal;
  font-style: normal;
  font-size: 20px;


  display: inline-block;
  line-height: 1;
  font-variation-settings:
    "FILL" 1,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
  color: white; /* or currentColor */
}
.mw-ui-icon-wikimedia-ellipsis::after {
  content: "keyboard_arrow_down";
  font-family: "Material Symbols Rounded";
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  display: inline-block;
  line-height: 1;
  letter-spacing: normal;
  color: white; /* or currentColor */
}
/* Remove MediaWiki mask system */
/* Remove MediaWiki mask system */
#vector-page-titlebar-toc-label > .mw-ui-icon-wikimedia-listBullet {
#vector-page-titlebar-toc-label > .mw-ui-icon-wikimedia-listBullet {
Line 2,317: Line 2,358:




@media screen and (max-width: 720px) {
    /* 1. Reduz drasticamente a largura da área de pesquisa (a zona azul do teu print) */
    #p-search {
        flex: 0 0 40px !important; /* Fixa a largura em 40px, impedindo que cresça */
        min-width: 40px !important;
        margin: 0 !important;
    }
    /* 2. Garante que o container dos ícones da direita use o espaço que sobrou */
    .vector-header-end {
        flex: 1 1 auto !important;
        display: flex !important;
        justify-content: flex-end !important;
        gap: 8px !important;
    }
    /* 3. Força o link de Login a aparecer como texto simples e branco */
    #pt-login, #pt-login-2 {
        display: inline-flex !important;
        align-items: center !important;
        color: #ffffff !important;
        white-space: nowrap !important; /* Impede que o texto quebre em dois */
    }
    /* 4. Opcional: Se o logo ATRONIA ainda estiver a empurrar muito, reduzimos o seu container */
    .mw-header-start {
        flex: 0 0 auto !important;
        max-width: 100px !important;
    }


/* --- REDUZIR ALTURA DA ZONA ROXA (Cabeçalho) --- */
/* --- REDUZIR ALTURA DA ZONA ROXA (Cabeçalho) --- */
Line 2,368: Line 2,380:
         align-items: center !important;
         align-items: center !important;
         display: flex !important;
         display: flex !important;
    }
    }
  }
 
}
}