Mudanças entre as edições de "Predefinição:ItemButton/styles.css"
Ir para navegação
Ir para pesquisar
| Linha 1: | Linha 1: | ||
.container-principal{ | /* -------------------------------------------------------------------------- */ | ||
/* 1. ESTRUTURA GERAL (Aplicadas no seu código principal) */ | |||
/* -------------------------------------------------------------------------- */ | |||
/* Define o layout principal de duas colunas (Flex Container) */ | |||
.container-principal { | |||
max-width: 1000px; | |||
margin: 0 auto; | |||
padding: 0 10px; | |||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 20px; | |||
width: 100%; | |||
box-sizing: border-box; | |||
} | } | ||
.coluna-flex{ | /* Define a estrutura de cada coluna (Left/Right) */ | ||
.coluna-flex { | |||
flex: 1; | |||
min-width: 45%; | |||
display: flex; | |||
flex-direction: column; | |||
} | } | ||
.caixa-categoria{ | /* Estilo da caixa de categoria (Sombra, Borda, Fundo Branco) */ | ||
.caixa-categoria { | |||
border: 1px solid #e0e0e0; | |||
border-radius: 8px; | |||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); | |||
overflow: hidden; | |||
margin-bottom: 20px; | |||
background: #fff; | |||
width: 100%; | |||
} | } | ||
.titulo-categoria{ | /* Estilo do cabeçalho da categoria (A cor de fundo será definida no wikitexto) */ | ||
.titulo-categoria { | |||
text-align: center; | |||
font-size: 1.4em; | |||
font-weight: 600; | |||
color: white; | |||
padding: 12px 15px; | |||
} | } | ||
.itens-linha{ | /* Container interno que alinha os itens (Flex para todas as larguras) */ | ||
.itens-linha { | |||
display: flex; | |||
flex-wrap: wrap; | |||
justify-content: space-around; | |||
margin-top: 20px; | |||
gap: 25px; /* Espaço entre os itens */ | |||
} | } | ||
.item-celula{ | |||
/* -------------------------------------------------------------------------- */ | |||
/* 2. ITEM INDIVIDUAL (USADO NA PREDEFINIÇÃO:ITEMBUTTON) */ | |||
/* -------------------------------------------------------------------------- */ | |||
/* LARGURAS DAS CÉLULAS */ | |||
.item-celula { /* Padrão: 4 Colunas (Equipamentos) */ | |||
width: 25%; | |||
box-sizing: border-box; | |||
margin-bottom: 20px; | |||
} | |||
.item-celula-33 { /* 3 Colunas (Navegação) */ | |||
width: 33.33%; | |||
box-sizing: border-box; | |||
margin-bottom: 20px; | |||
} | |||
.item-celula-50 { /* 2 Colunas (Valiosos, Consumíveis) */ | |||
width: 50%; | |||
box-sizing: border-box; | |||
margin-bottom: 20px; | |||
} | } | ||
/* O CARTÃO/BOTÃO PRINCIPAL */ | |||
.item-botao { | .item-botao { | ||
display: block; | display: block; | ||
| Linha 55: | Linha 81: | ||
color: #333; | color: #333; | ||
/* Estilos Visuais | /* Estilos Visuais: Borda 3D, Raio, Sombra */ | ||
margin-top: 5px; | margin-top: 5px; | ||
margin-bottom: 20px; | margin-bottom: 20px; | ||
Edição das 20h41min de 15 de outubro de 2025
/* -------------------------------------------------------------------------- */
/* 1. ESTRUTURA GERAL (Aplicadas no seu código principal) */
/* -------------------------------------------------------------------------- */
/* Define o layout principal de duas colunas (Flex Container) */
.container-principal {
max-width: 1000px;
margin: 0 auto;
padding: 0 10px;
display: flex;
flex-wrap: wrap;
gap: 20px;
width: 100%;
box-sizing: border-box;
}
/* Define a estrutura de cada coluna (Left/Right) */
.coluna-flex {
flex: 1;
min-width: 45%;
display: flex;
flex-direction: column;
}
/* Estilo da caixa de categoria (Sombra, Borda, Fundo Branco) */
.caixa-categoria {
border: 1px solid #e0e0e0;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
overflow: hidden;
margin-bottom: 20px;
background: #fff;
width: 100%;
}
/* Estilo do cabeçalho da categoria (A cor de fundo será definida no wikitexto) */
.titulo-categoria {
text-align: center;
font-size: 1.4em;
font-weight: 600;
color: white;
padding: 12px 15px;
}
/* Container interno que alinha os itens (Flex para todas as larguras) */
.itens-linha {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
margin-top: 20px;
gap: 25px; /* Espaço entre os itens */
}
/* -------------------------------------------------------------------------- */
/* 2. ITEM INDIVIDUAL (USADO NA PREDEFINIÇÃO:ITEMBUTTON) */
/* -------------------------------------------------------------------------- */
/* LARGURAS DAS CÉLULAS */
.item-celula { /* Padrão: 4 Colunas (Equipamentos) */
width: 25%;
box-sizing: border-box;
margin-bottom: 20px;
}
.item-celula-33 { /* 3 Colunas (Navegação) */
width: 33.33%;
box-sizing: border-box;
margin-bottom: 20px;
}
.item-celula-50 { /* 2 Colunas (Valiosos, Consumíveis) */
width: 50%;
box-sizing: border-box;
margin-bottom: 20px;
}
/* O CARTÃO/BOTÃO PRINCIPAL */
.item-botao {
display: block;
text-align: center;
text-decoration: none;
color: #333;
/* Estilos Visuais: Borda 3D, Raio, Sombra */
margin-top: 5px;
margin-bottom: 20px;
padding: 0;
border-radius: 30px;
border: 20px inset black;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
transition: transform 0.2s, box-shadow 0.2s;
}
/* Efeito Hover */
.item-botao:hover {
transform: translateY(-2px);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}