MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 3: Line 3:
     text-decoration: none;
     text-decoration: none;
     transition: text-decoration 0.3s ease-in-out;
     transition: text-decoration 0.3s ease-in-out;
    cursor: pointer; /* Change the cursor to indicate clickable text */
}
}


Line 12: Line 13:
.underline-hover .tooltip-text {
.underline-hover .tooltip-text {
     visibility: hidden;
     visibility: hidden;
     background-color: #DDD7CC;
     background-color: #555;
     color: #000;
     color: #fff;
     text-align: center;
     text-align: center;
     padding: 5px 10px;
     padding: 5px 10px;
     border-radius: 6px;
     border-radius: 6px;
   
 
     /* Positioning and size */
     /* Positioning and size */
     position: absolute;
     position: absolute;
Line 31: Line 32:
}
}


/* Show the tooltip text when hovering over the container */
/* Show the tooltip text when the class 'show-tooltip' is added */
.underline-hover:hover .tooltip-text {
.underline-hover .tooltip-text.show-tooltip {
     visibility: visible;
     visibility: visible;
     opacity: 1;
     opacity: 1;
}
}




Navigation menu