User:Hennils/common.css

From bg3.wiki
Revision as of 23:40, 2 June 2024 by Hennils (talk | contribs)
Jump to navigation Jump to search

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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* This one is a legacy blur class. It may be removed in the future. **/
.bg3wiki-spoiler-blur {
    filter: blur(3px);
    opacity: 0.2;
    transition-property: filter, opacity;
    transition-duration: .4s;
}


.bg3wiki-spoiler-blur:hover, .bg3wiki-spoiler-blur:focus {
    filter: none;
    opacity: 1;
}

/* The following are the new blur classes. */
.bg3wiki-spoiler-blur-hoverable:hover, .bg3wiki-spoiler-blur-hoverable:focus {
    filter: none;
    opacity: 1;
}

.bg3wiki-spoiler-blur-link {
    filter: blur(3.5px);
    opacity: 1.0;
    transition-property: filter, opacity;
    transition-duration: .1s;
}

.bg3wiki-spoiler-blur-paragraph {
    filter: blur(3px);
    opacity: 0.2;
    transition-property: filter, opacity;
    transition-duration: .4s;
}

.bg3wiki-spoiler-blur-image {
    filter: contrast(5%) blur(3px);
    opacity: 0.5;
    transition-property: filter, opacity;
    transition-duration: .4s;
}