Mudanças entre as edições de "Widget:MainPageIndex"
Ir para navegação
Ir para pesquisar
| Linha 1: | Linha 1: | ||
<style> | <style> | ||
. | .table-index { | ||
width: 100%; | |||
border-spacing: 16px; | |||
font-family: Verdana, Arial, Helvetica, sans-serif; | |||
border-collapse: separate; | |||
display: flex; | display: flex; | ||
flex-wrap: wrap; | |||
gap: 16px; | |||
justify-content: space-between; | justify-content: space-between; | ||
} | } | ||
. | .index-cell { | ||
flex: 1 1 | flex: 1 1 48%; | ||
box-sizing: border-box; | |||
padding: 12px; | |||
background-color: #fdfdfd; | |||
border: 1px dashed #AAAAAA; | |||
border-radius: 8px; | |||
} | } | ||
. | .index-title { | ||
display: flex; | |||
align-items: center; | |||
font-weight: bold; | font-weight: bold; | ||
margin-bottom: | font-size: 15px; | ||
margin-bottom: 4px; | |||
} | } | ||
. | .index-title img { | ||
width: 20px; | |||
height: 20px; | |||
margin-right: 6px; | |||
} | } | ||
. | .index-links { | ||
font-size: 14px; | |||
line-height: 1.6; | |||
} | } | ||
. | .index-links a { | ||
color: # | color: #0366d6; | ||
text-decoration: none; | text-decoration: none; | ||
margin-right: 6px; | |||
} | } | ||
. | .index-links a:hover { | ||
text-decoration: underline; | text-decoration: underline; | ||
} | |||
/* Responsivo: em telas muito pequenas, as células ocupam 100% */ | |||
@media screen and (max-width: 600px) { | |||
.index-cell { | |||
flex: 1 1 100%; | |||
} | |||
} | } | ||
</style> | </style> | ||
<div class="table-index"> | |||
<!-- Aqui vem cada bloco index-cell exatamente como tu já tem, não muda nada --> | |||
<!-- copia e cola teus <td class="index-cell"> ... </td> aqui como div --> | |||
<!-- Exemplo: --> | |||
<div class="index-cell"> | |||
<div class="index-title"> | |||
<img src="https://wiki.gla.com.br/images/4/45/Gold_medal.gif" /> | |||
Grand Line Adventures | |||
</div> | |||
<div class="index-links"> | |||
<a href="/wiki/Download">Download</a> · | |||
<a href="/wiki/Suporte">Suporte</a> · | |||
<a href="/wiki/Doações">Doações</a> · | |||
<a href="/wiki/Benefícios_VIP">Benefícios VIP</a> · | |||
<a href="/wiki/Revendedores_Oficiais">Revendedores Oficiais</a> · | |||
<a href="/wiki/Criadores_de_Conteúdo">Criadores de Conteúdo</a> | |||
</div> | |||
</div> | |||
<!-- repete para os outros blocos --> | |||
</div> | |||
Edição das 23h18min de 1 de junho de 2025
<style> .table-index {
width: 100%; border-spacing: 16px; font-family: Verdana, Arial, Helvetica, sans-serif; border-collapse: separate; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between;
}
.index-cell {
flex: 1 1 48%; box-sizing: border-box; padding: 12px; background-color: #fdfdfd; border: 1px dashed #AAAAAA; border-radius: 8px;
}
.index-title {
display: flex; align-items: center; font-weight: bold; font-size: 15px; margin-bottom: 4px;
}
.index-title img {
width: 20px; height: 20px; margin-right: 6px;
}
.index-links {
font-size: 14px; line-height: 1.6;
}
.index-links a {
color: #0366d6; text-decoration: none; margin-right: 6px;
}
.index-links a:hover {
text-decoration: underline;
}
/* Responsivo: em telas muito pequenas, as células ocupam 100% */ @media screen and (max-width: 600px) {
.index-cell {
flex: 1 1 100%;
}
} </style>
<img src="https://wiki.gla.com.br/images/4/45/Gold_medal.gif" /> Grand Line Adventures
<a href="/wiki/Download">Download</a> ·
<a href="/wiki/Suporte">Suporte</a> ·
<a href="/wiki/Doações">Doações</a> ·
<a href="/wiki/Benefícios_VIP">Benefícios VIP</a> ·
<a href="/wiki/Revendedores_Oficiais">Revendedores Oficiais</a> ·
<a href="/wiki/Criadores_de_Conteúdo">Criadores de Conteúdo</a>