Commit 000b97d3 authored by Jakob Moser's avatar Jakob Moser
Browse files

Fix image easteregg

parent 9a075183
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@
 * Author: personads :: Maximilian Müller-Eberstein (ursprüngliche Version und Design); Jakob Moser
 * Author URI: https://personads.me/
 *
 * Version: 2.5.0
 * Version: 2.5.1
 * Requires PHP: 8.0
 *
 * License: GNU General Public License v3.0
@@ -17,7 +17,7 @@
 * "Fachschaft Computerlinguistik WordPress Theme" is distributed under the terms of the GNU GPL and can be obtained at
 * https://gitlab.cl.uni-heidelberg.de/fachschaft/fscoli-next/-/tags/original
 *
 * The "fscoli next" WordPress theme contains modifications made by Jakob Moser (2020--2024), which are listed in more detail in
 * The "fscoli next" WordPress theme contains modifications made by Jakob Moser (2020--2025), which are listed in more detail in
 * the README.md provided with this theme. "fscoli next" is distributed under the terms of the GNU GPL.
 *
 * This file contains CSS rules adapted from the Stack Overflow answer https://stackoverflow.com/a/52226523/
@@ -1073,15 +1073,15 @@ iframe {
}

/* Easter egg: Pictures that change on hover */
.wp-block-gallery.easteregg .blocks-gallery-item:nth-child(2) {
.wp-block-gallery.easteregg .wp-block-image:nth-child(2) {
    display: none;
}

.wp-block-gallery.easteregg:hover .blocks-gallery-item:nth-child(1) {
.wp-block-gallery.easteregg:hover .wp-block-image:nth-child(1) {
    display: none;
}

.wp-block-gallery.easteregg:hover .blocks-gallery-item:nth-child(2) {
.wp-block-gallery.easteregg:hover .wp-block-image:nth-child(2) {
    display: flex;
}