MediaWiki:Common.css
Ir para navegação
Ir para pesquisar
Nota: Após salvar, você pode ter que limpar o "cache" do seu navegador para ver as alterações.
- Firefox / Safari: Pressione Shift enquanto clica Recarregar, ou pressione Ctrl-F5 ou Ctrl-R (⌘-R no Mac)
- Google Chrome: Pressione Ctrl-Shift-R (⌘-Shift-R no Mac)
- Internet Explorer/Edge: PressioneCtrl enquanto clica Recarregar, ou Pressione Ctrl-F5
- Opera: Pressione Ctrl-F5.
/**********************************
Predefinição:UpdateLinkOut
**********************************/
.tile-row {
display: flex;
flex-flow: row wrap;
margin-bottom: 1em;
}
.tile-halves {
display: flex;
flex-flow: row wrap;
border: 1px solid #e4eaee;
background: #ffffff;
box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.1);
margin: 0.5rem; /* Adiciona espaçamento externo ao redor de cada item */
}
.tile-halves h2 {
font-size: 1.4em;
font-weight: bold;
border: none;
margin: 0 0 0.4em;
}
.tile-halves .byline + h2 {
margin-top: -0.5em;
}
.tile-top {
width: 100%;
padding: 1.3rem 1.5rem 0.6rem;
}
.tile-top.tile-image {
display: flex;
align-items: center;
background-color: #949eaa;
overflow: hidden;
padding: 0;
height: 10em;
max-height: 12em;
}
.tile-top.tile-image a {
width: 100%;
}
.tile-top.tile-image img {
width: 100%;
height: auto;
transition: 0.4s ease-out;
object-fit: cover; /* Garante que a imagem mantenha proporção sem perder qualidade */
}
.tile-bottom {
background: #ffffff;
border-top: 1px solid #e4eaee;
width: 100%;
padding: 1rem 1.5rem 0.6rem;
}
.tile-bottom.link-button {
align-self: flex-end;
padding: 0;
}
.tile-bottom.link-button a {
display: block;
text-align: center;
padding: 0.75em 1.5em 0.8em;
text-decoration: none;
}
.mainpage-recent-updates .tile-halves {
flex: 1;
align-content: flex-start;
margin-right: 0.9rem;
}
.mainpage-recent-updates .tile-halves:hover .tile-top img {
transform: scale(1.04);
}
.mainpage-recent-updates .tile-halves:last-child {
margin-right: 0;
}
.mainpage-recent-updates .tile-bottom.link-button a {
text-align: left;
padding: 1rem 1.5rem 0.75rem;
}
.mainpage-recent-updates h2 {
margin: -0.5em 0 0.3em;
}
.mainpage-recent-updates p:not(.byline) {
font-size: 0.9em;
line-height: 1.75em;
color: #444e5a;
padding-right: 1rem; /* Adicionado espaçamento à direita */
}
/**********************************
Predefinição:UpdateLinkOut
**********************************/
.update-row {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 1rem;
justify-content: center;
margin-bottom: 1em;
padding: 0;
}
.update-tile-out {
display: flex;
flex-direction: column;
border: 1px solid #d1e4f2;
background: #ffffff;
box-shadow: 0 0.2rem 0.4rem rgba(0, 0, 0, 0.1);
border-radius: 10px;
overflow: hidden;
transition: box-shadow 0.2s ease, transform 0.2s ease;
min-height: 250px;
position: relative;
}
.update-tile-image {
width: 100%;
height: 150px;
overflow: hidden;
position: relative;
z-index: 1;
border-bottom: 1px solid #d1e4f2;
}
.update-tile-image a img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
transition: transform 0.3s ease-out;
transform-origin: center;
will-change: transform;
}
.update-tile-out:hover .update-tile-image img {
transform: scale(1.05);
}
.update-tile-content {
background: #ffffff;
padding: 0.8rem 1rem;
text-align: left;
display: flex;
flex-direction: column;
gap: 0.6rem;
}
.update-tile-content .update-byline {
font-size: 0.9em;
color: #3a88c5;
margin-bottom: 0.5rem;
text-align: left;
font-style: normal;
font-weight: bold;
}
.update-tile-content .update-type {
color: #4d9ed8;
}
.update-tile-content .update-date {
color: #888;
}
.update-tile-content h3 {
font-size: 1.3em;
font-weight: bold;
color: #2a3e50;
margin: 0 0 0.4rem;
text-align: left;
text-transform: uppercase;
}
.update-tile-content p {
font-size: 0.9em;
color: #555;
line-height: 1.5;
margin: 0;
text-align: left;
}
.update-tile-content a {
text-decoration: none !important;
color: #4d9ed8;
transition: color 0.2s ease;
}
.update-tile-content a:hover {
color: #3a88c5;
}
/**********************************
PÁGINA INICIAL: CONTAINER (GUIA/EVENTOS)
**********************************/
.homepage-container {
display: flex;
gap: 15px;
align-items: stretch;
flex-wrap: wrap;
}
@media (max-width: 1220px) {
.homepage-container {
flex-direction: column;
}
.homepage-guia,
.homepage-eventos {
flex: none;
/* Remove o comportamento flex no mobile */
width: 100%;
/* Ocupa 100% da largura */
}
}
/**********************************
PÁGINA INICIAL: GUIA
**********************************/
.homepage-guia {
flex: 2.5;
border: 1px solid #d1e4f2;
background: #ffffff;
box-shadow: 0 0.2rem 0.4rem -0.1rem rgba(0, 0, 0, 0.2);
border-radius: 10px;
margin: 0 auto;
overflow: hidden;
}
.homepage-guia table {
width: 100%;
border-collapse: collapse;
}
.homepage-guia h2 {
background: linear-gradient(to bottom, #4d9ed8, #3a88c5);
color: #ffffff;
text-align: center;
padding: 6px;
margin: 0;
border-radius: 10px 10px 0 0;
text-transform: uppercase;
letter-spacing: 1px;
font-size: 1.4em;
font-weight: bold;
border-bottom: 1px solid #3a88c5;
}
.homepage-guia table td {
color: #2a3e50;
}
/**********************************
PÁGINA INICIAL: EVENTOS
**********************************/
.homepage-eventos {
display: inline-block;
border: 1px solid #d1e4f2;
background: #ffffff;
box-shadow: 0 0.2rem 0.4rem -0.1rem rgba(0, 0, 0, 0.2);
border-radius: 10px;
text-align: center;
margin: 0 auto;
overflow: hidden;
}
.homepage-eventos h2 {
background: linear-gradient(to bottom, #4d9ed8, #3a88c5);
color: #ffffff;
text-align: center;
padding: 6px;
margin: 0;
border-radius: 10px 10px 0 0;
text-transform: uppercase;
letter-spacing: 1px;
font-size: 1.4em;
font-weight: bold;
border-bottom: 1px solid #3a88c5;
}
.homepage-eventos-conteudo {
margin-bottom: auto;
padding: 6px;
}
.homepage-eventos-conteudo img {
width: 100%;
height: auto;
border-radius: 0;
box-shadow: none;
}
/**********************************
PÁGINA INICIAL: DESTAQUES
**********************************/
.homepage-destaques {
max-width: 100%;
margin: 20px auto;
border: 1px solid #d1e4f2;
background: #ffffff;
box-shadow: 0 0.2rem 0.4rem -0.1rem rgba(0, 0, 0, 0.2);
border-radius: 10px;
}
.homepage-destaques > h2 {
background: linear-gradient(to bottom, #4d9ed8, #3a88c5);
color: #ffffff;
text-align: center;
padding: 6px;
margin: 0;
border-radius: 10px 10px 0 0;
text-transform: uppercase;
letter-spacing: 1px;
font-size: 1.4em;
font-weight: bold;
border-bottom: 1px solid #3a88c5;
}
.homepage-destaques-conteudo {
padding: 15px 15px 5px;
}
/**********************************
Widget:RankedTimer
**********************************/
.ranked-widget {
position: relative;
display: flex;
justify-content: center;
align-items: center;
width: 320px;
height: 90px;
margin: 0 auto;
text-align: center;
overflow: hidden;
}
.ranked-image {
width: 100%;
height: 100%;
object-fit: cover;
}
#ranked-time {
position: absolute;
bottom: 0%;
left: 3px;
padding: 2px 5px;
font-size: 1.2em;
font-weight: bold;
color: #fff;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
background: linear-gradient(to right, rgba(25, 25, 25, 0.85), rgba(0, 0, 0, 0));
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
max-width: fit-content;
}
/**********************************
Widget:WorldBossTimer
**********************************/
.worldboss-widget {
position: relative;
display: flex;
justify-content: center;
align-items: center;
width: 320px;
height: 90px;
margin: 0 auto;
text-align: center;
overflow: hidden;
}
.worldboss-image {
width: 100%;
height: 100%;
object-fit: cover;
}
#worldboss-time {
position: absolute;
bottom: 3%;
left: 3px;
padding: 2px 5px;
font-size: 1.2em;
font-weight: bold;
color: #fff;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
background: linear-gradient(to right, rgba(25, 25, 25, 0.85), rgba(0, 0, 0, 0));
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
max-width: fit-content;
}
/**********************************
Widget:GlobalEventTimer
**********************************/
.global-event-widget {
position: relative;
display: flex;
justify-content: center;
align-items: center;
width: 320px;
height: 90px;
margin: 0 auto;
text-align: center;
overflow: hidden;
}
.global-event-image {
width: 100%;
height: 100%;
object-fit: cover;
}
#global-event-time {
position: absolute;
bottom: 3%;
left: 3px;
padding: 2px 5px;
font-size: 1.2em;
font-weight: bold;
color: #fff;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
background: linear-gradient(to right, rgba(25, 25, 25, 0.85), rgba(0, 0, 0, 0));
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
max-width: fit-content;
}
/**********************************
PÁGINA INICIAL: WIKI ROW
**********************************/
.wiki-row-container {
text-decoration: none;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 15px;
}
.wiki-row-item {
text-decoration: none;
text-align: center;
border: 1px solid #ddd;
border-radius: 5px;
overflow: hidden;
background: #fff;
transition: box-shadow 0.3s ease, border-color 0.3s ease;
position: relative;
height: auto;
}
.wiki-row-item:hover {
text-decoration: none;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
border-color: #007bff;
}
.wiki-row-image {
width: 100%;
aspect-ratio: 16 / 9;
position: relative;
background-color: transparent;
overflow: hidden;
}
.wiki-row-image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s ease;
}
.wiki-row-item:hover .wiki-row-image img {
transform: scale(1.1);
}
.wiki-row-title {
font-weight: bold;
font-size: 1.2em;
background-color: white;
display: flex;
align-items: center;
justify-content: center;
padding: 0;
margin: 0;
min-height: 2em;
}
.wiki-row-title a {
text-decoration: none !important;
display: block;
width: 100%;
height: 100%;
text-align: center;
}
/**********************************
PÁGINA INICIAL: BEM-VINDO & REDES SOCIAIS
**********************************/
.homepage-header {
text-align: center;
padding: 10px;
}
.homepage-header h1 {
font-size: 2em;
font-weight: bold;
}
.homepage-header > p {
font-size: 1em;
color: #333;
max-width: 600px;
margin: 0 auto;
}
.homepage-header a:hover {
text-decoration: underline;
}
@media (max-width: 768px) {
.homepage-header {
padding: 5px;
}
.homepage-header h1 {
font-size: 1.5em;
}
.homepage-header p {
font-size: 0.9em;
max-width: 90%;
}
.homepage-header div {
font-size: 0.9em;
}
}
/**********************************
ESTILIZAÇÃO PADRÃO
**********************************/
html {
scroll-behavior: smooth;
}
.dark-mode:root {
--content-bg: #fcfcfc;
}