MediaWiki:Common.css
Appearance
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */
body {
cursor: url('https://static.wikia.nocookie.net/digimon-w0rld/images/b/b0/Agucur.png/revision/latest?cb=20251226151433'), auto;
}
img:hover {
transform: scale(1.1); /* Aumenta el tamaño de la imagen un 10% */
transition: transform 0.3s ease-in-out; /* Hace que el zoom sea suave */
}
.button {
background-color: #ff6600;
color: white;
padding: 10px 20px;
border-radius: 5px;
text-align: center;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.button:hover {
transform: translateY(-5px); /* Eleva el botón al pasar el mouse */
box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2); /* Sombra más intensa */
}
.slide-in {
opacity: 0;
transform: translateX(-100%); /* Comienza fuera de la pantalla a la izquierda */
transition: transform 0.5s ease, opacity 0.5s ease;
}
.slide-in.visible {
opacity: 1;
transform: translateX(0); /* Se desliza hacia su posición original */
}
/* Aplica la animación a los elementos cuando se vean */
body {
padding: 50px;
background-color: #f4f4f4;
}
.container {
background-color: #fff;
padding: 20px;
border-radius: 10px;
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
width: 300px;
}
body {
background-image: url('https://digimon-w0rld.fandom.com/wiki/Special:NewFiles?offset=&limit=100&file=Site-background-dark'); /* Reemplaza con tu URL */
background-attachment: fixed;
background-size: cover;
background-position: center;
height: 100vh;
}
.container {
position: relative;
z-index: 2;
padding: 20px;
color: white;
text-align: center;
font-size: 24px;
background-color: rgba(0, 0, 0, 0.5); /* Fondo oscuro para el texto */
}