MediaWiki:Inciskin/CSS/Inciclopedia:20 años de Inciclopedia/quiz/6.css

De Inciclopedia
Ir a la navegación Ir a la búsqueda

Nota: Después de publicar, quizás necesite actualizar la caché de su navegador para ver los cambios.

  • Firefox/Safari: Mantenga presionada la tecla Shift mientras pulsa el botón Actualizar, o presiona Ctrl+F5 o Ctrl+R (⌘+R en Mac)
  • Google Chrome: presione Ctrl+Shift+R (⌘+Shift+R en Mac)
  • Internet Explorer/Edge: mantenga presionada Ctrl mientras pulsa Actualizar, o presione Ctrl+F5
  • Opera: Presiona Ctrl+F5.
@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

body {
background-image: url(https://images.uncyclomedia.co/inciclopedia/es/e/e0/Fondofinal1.png) !important;
background-repeat: no-repeat !important;
background-position: right top !important;
background-attachment: fixed !important;
background-size: cover !important;
}

div#content {
background-color: rgba(0, 0, 0, 0);
border-color: #00000000;
}

#contentSub,
span.subpages {
    visibility: hidden;
}

/* Ocultar el bloque mw-page-base */
#mw-page-base,
#mw-head-base,
#left-navigation,
#right-navigation,
#p-navigation,
#p-tb {
    visibility: hidden !important;
}

#p-Proyectos,
#p-Votaciones,
#p-lang,
#footer-info-lastmod {
	display: none !important;
}

.btn {
  display: inline-block;
  background: #0078d7;
  color: #fff;
  padding: 8px 12px;
  margin: 5px;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  background: #005a9e;
}

.popup {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}

.popup-content {
  background: #fff;
  width: auto;
  height: auto;        /* ocupa el 90% de la altura de la ventana */
  max-height: 90vh;    /* asegura que no supere la ventana */
  margin: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  overflow: auto;      /* permite scroll interno si el contenido es mayor */
}

.close:hover {
  background: #0078d7;          /* azul al pasar el mouse */
  color: #fff;                  /* X blanca */
}

.close {
  float: right;
  width: 28px;
  height: 28px;
  border: 2px solid #0078d7;   /* azul */
  border-radius: 50%;          /* círculo */
  color: #0078d7;              /* color de la X */
  font-size: 20px;
  display: flex;               /* flexbox */
  align-items: center;         /* centra verticalmente */
  justify-content: center;     /* centra horizontalmente */
  background: #fff;             /* fondo blanco */
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.close:hover {
  background: #F8F9FA;          /* azul al pasar el mouse */
  color: #0078d7;                  /* X blanca */
}

.btn2 {
  display: inline-block;
  background: #FFFFFF;
  color: #0078d7;
  padding: 8px 16px;
  margin: 5px;
  border-radius: 6px;
  border: 2px solid #0078d7;
  cursor: pointer;
  text-align: center;
  font-size: 14px;
  transition: background 0.3s, border-color 0.3s;
}

.btn2:hover {
  background: #F8F9FA;
  border-color: #005a9e;
}