No edit summary
No edit summary
Line 6: Line 6:
   border-radius: 4px;
   border-radius: 4px;
   padding: 2px 4px;
   padding: 2px 4px;
   filter: blur(5px);            /* start blurred */
   filter: blur(3px);            /* start blurred */
   transition: filter 0.3s ease, background-color 0.3s ease;
   transition: filter 0.3s ease, background-color 0.3s ease;
}
}

Revision as of 16:49, 15 February 2026

.Spoiler {
  display: inline-block;
  cursor: pointer;
  color: black;                  /* text color when revealed */
  background-color: white;        /* background for contrast */
  border-radius: 4px;
  padding: 2px 4px;
  filter: blur(3px);             /* start blurred */
  transition: filter 0.3s ease, background-color 0.3s ease;
}

/* Reveal on hover */
.Spoiler:hover {
  filter: blur(0);               /* remove blur */
  background-color: white;        /* optional highlight */
}