Anonymous
×
Create a new article
Write your page title here:
We currently have 632 articles on SpellForce Wiki - Rohens encyclopedia. Type your article name above or click on one of the titles below and start writing!



SpellForce Wiki - Rohens encyclopedia

Template:Tooltip Hover: Difference between revisions

Basara (talk | contribs)
Basara (talk | contribs)
No edit summary
Line 1: Line 1:
{{#css:
{{#css:


.hover-title {
.tooltip-text {
     display: inline;
     display: inline;
     pointer-events: auto;
     pointer-events: auto;
Line 8: Line 8:
}
}


.hover-image {
.tooltip-image {
     visibility: hidden;
     visibility: hidden;
}
}


body:not(.mobile) .hover-title:hover + .hover-image {
body:not(.mobile) .tooltip-text:hover + .tooltip-image {
     visibility: visible;
     visibility: visible;
     pointer-events: none;
     pointer-events: none;
}
}


.hover-image {
.tooltip-image {
     display: flex;
     display: flex;
     position: absolute;
     position: absolute;
Line 31: Line 31:
}
}


.hover-image img {
.tooltip-image img {
     max-width: 100% !important;
     max-width: 100% !important;
     max-height: 100% !important;
     max-height: 100% !important;

Revision as of 22:46, 24 September 2023