MediaWiki:Common.css
Saltar para a navegação
Saltar para a pesquisa
Nota: Depois de publicar, poderá ter de contornar a 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: Pressione Ctrl enquanto clica Recarregar, ou pressione Ctrl-F5
- Opera: Pressione Ctrl-F5.
/* Código CSS aplicado a todos os temas */ body { background: #0A0222; background-image: url(https://ragnazen.com.br/wikig/1.png); background-repeat: no-repeat; background-attachment: fixed; } #mw-page-base { background: #0A0222; color: #FFF; background-image: url(https://ragnazen.com.br/wikig/1.png); background-repeat: no-repeat; background-attachment: fixed; background-position: center; } #mw-page-base a { color: #0A0222; } .mw-content-ltr ul, .mw-content-rtl .mw-content-ltr ul { margin: 0.3em 0 0 1.6em; padding: 0; } .vector-menu-portal .vector-menu-content li { color: #000; font-weight: normal; padding: 0.25em 0; cursor: default; border: 0; } a.extiw:visited, .mw-parser-output a.external:visited { color: #3620fd; padding: 0.25em 0; cursor: default; text-decoration: none; border: 0; } .vector-menu-portal .vector-menu-content li a:visited { color: #fff; font-weight: bold; padding: 0.25em 0; cursor: default; border: 0; } .vector-menu-portal .vector-menu-content li a { color: #fff; padding: 0.25em 0; cursor: default; border: 0; } .vector-menu-portal .vector-menu-heading { color: #000; font-weight: bold; padding: 0.25em 0; cursor: default; border: 0; } .skin-vector-legacy a.new { color: #0a0222; } a:visited { color: #b73b26; text-decoration: none; } li#t-viewsource, li#t-history { display: none !important; } .ragna-menu-container { width: 100%; max-width: 1600px; margin: 20px auto; background-color: white; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); border-radius: 8px; overflow: hidden; } .ragna-banner { display: block; max-width: 100%; height: auto; margin: 0 auto; } .ragna-menu-header { background-color: #0A0222; height: 10px; } .ragna-menu-content { display: flex; flex-wrap: wrap; padding: 20px; box-sizing: border-box; } .ragna-menu-column { flex: 1; padding: 10px; box-sizing: border-box; } .ragna-menu-column h2 { background-color: #0A0222; padding: 8px; margin: 0 0 10px 0; color: #fff; text-align: center; border-radius: 4px; } .ragna-menu-column ul { list-style: none; padding: 0; margin: 0; column-count: 2; column-gap: 10px; } ragna-menu-column ul li { display: flex; align-items: center; margin-bottom: 10px; } .ragna-menu-column ul li a { text-decoration: none; color: #333; padding: 5px; border-radius: 4px; } /* Estilização das imagens dentro dos links */ .ragna-menu-column ul li a img { transition: transform 0.3s ease; } /* Efeito ao passar o mouse sobre os links */ .ragna-menu-column li a:hover { background-color: #f0f0f0; letter-spacing: 2px; } .ragna-menu-column li a { transition: background-color 0.3s, letter-spacing 0.3s; letter-spacing: normal; margin-left: 10px; margin-bottom: 10px; align-items: center; /* Centraliza verticalmente a imagem e o texto */ text-decoration: none; color: #333; padding: 5px; width: 100px; border-radius: 4px; } /* Efeito ao passar o mouse sobre as imagens */ .ragna-menu-column ul li a:hover img { transform: scale(1.1); } .ragna-menu-column li { margin-bottom: 5px; break-inside: avoid; } .ragna-menu-column li a img { transition: transform 0.3s ease; } /* Efeito ao passar o mouse */ .ragna-menu-column li a:hover img { transform: scale(1.1); } .infoboxtabs ul.tabbernav li a { color: #000; text-decoration: none; transition: color 0.3s ease, text-decoration 0.3s ease; } /* Estilo ao passar o mouse */ .infoboxtabs ul.tabbernav li a:hover { color: #007BFF; /* Cor desejada ao passar o mouse */ text-decoration: underline; } .ragna-menu-header-b { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 20px; } .welcome-text { max-width: 800px; margin-top: 20px; } .ragna-image-container { display: flex; justify-content: center; flex-wrap: wrap; /* Permite que as imagens quebrem para a próxima linha em telas menores */ gap: 20px; margin: 20px 0; } .ragna-menu-pag-header { background-color: #0A0222; height: 10px; } .benefits-table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 16px; text-align: center; } .benefits-table th, .benefits-table td { border: 1px solid #ddd; padding: 12px; } .benefits-table th { background-color: #f4b084; color: #000; } .benefits-table tr:nth-child(even) { background-color: #f9f9f9; } .benefits-table tr:hover { background-color: #f1f1f1; } .ragna-table { width: 80%; margin: 20px auto; border-collapse: collapse; text-align: center; } .ragna-table th { background-color: #FFDD93; padding: 10px; font-size: 1.2em; } .ragna-table td { padding: 15px; border: 1px solid #ddd; } .ragna-table img { max-width: 100%; height: auto; border-radius: 8px; } .item-container { position: relative; display: inline-block; cursor: pointer; } .item-image { vertical-align: middle; } .item-text { margin-left: 8px; vertical-align: middle; } .tooltip { visibility: hidden; width: 200px; background-color: #333; color: #fff; text-align: center; border-radius: 6px; padding: 5px; position: absolute; z-index: 1; bottom: 125%; /* Posiciona acima do elemento */ left: 50%; margin-left: -100px; /* Centraliza horizontalmente */ opacity: 0; transition: opacity 0.3s; } .tooltip::after { content: ""; position: absolute; top: 100%; /* Ponta da seta apontando para baixo */ left: 50%; margin-left: -5px; border-width: 5px; border-style: solid; border-color: #333 transparent transparent transparent; } .item-container:hover .tooltip { visibility: visible; opacity: 1; }