MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 45: | Line 45: | ||
.vector-toc-link .vector-toc-text { | .vector-toc-link .vector-toc-text { | ||
font-weight: normal !important; | font-weight: normal !important; | ||
} | |||
/* Estilo para o botão de Technical Resources */ | |||
.custom-btn-link { | |||
display: block; | |||
padding: 8px 20px; | |||
color: #202122 !important; | |||
text-decoration: none !important; | |||
transition: background 0.2s ease; | |||
border-radius: 4px; | |||
} | |||
/* Efeito Hover: Fundo cinza mais escuro e retira sublinhado */ | |||
.custom-btn-link:hover { | |||
background-color: #eaecf0 !important; | |||
text-decoration: none !important; | |||
color: #000 !important; | |||
} | } | ||
Revision as of 12:36, 13 March 2026
.products-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 30px;
margin-top: 20px;
}
.product-item {
text-align: center;
}
.product-image {
display: block;
margin: 0 auto 10px;
}
.product-title {
font-weight: 600;
margin-top: 6px;
}
.product-subtitle {
font-size: 14px;
color: #666;
}
.product-item strong {
display: block;
}
.product-subtitle {
display: block;
}
/* Impedir que o item ativo no índice mude para negrito durante o scroll */
.vector-toc-list-item-active > .vector-toc-link .vector-toc-text {
font-weight: normal !important;
}
/* Garante que o título do Datasheet e outros itens mantenham a consistência */
.vector-toc-link .vector-toc-text {
font-weight: normal !important;
}
/* Estilo para o botão de Technical Resources */
.custom-btn-link {
display: block;
padding: 8px 20px;
color: #202122 !important;
text-decoration: none !important;
transition: background 0.2s ease;
border-radius: 4px;
}
/* Efeito Hover: Fundo cinza mais escuro e retira sublinhado */
.custom-btn-link:hover {
background-color: #eaecf0 !important;
text-decoration: none !important;
color: #000 !important;
}