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)
No edit summary
Basara (talk | contribs)
No edit summary
Line 1: Line 1:
{{#css:
{{#css:


.PostUrl_tooltip {
.tooltip {
   position: relative;
   position: relative;
   -webkit-transition: all 0.3s ease-in-out 0s;
   -webkit-transition: all 0.3s ease-in-out 0s;
   transition: all 0.3s ease-in-out 0s;
   transition: all 0.3s ease-in-out 0s;
   display: inline-block;
   display: inline-block;
   color: #ff0;
   color: #0c96ff;
}
}
.PostUrl_tooltip:hover {
.tooltip:hover {
   color: #0c96ff!important;
   color: #fff!important;
   cursor: pointer;
   cursor: pointer;
}
}
.PostUrl_tooltip a{   
.tooltip a{   
   position: absolute;   
   position: absolute;   
   display: block;   
   display: block;   
Line 26: Line 26:
   border: 1px solid #514d4d;
   border: 1px solid #514d4d;
}
}
.PostUrl_tooltip a img {
.tooltip a img {
   display: block;
   display: block;
   border: 1px solid #444;
   border: 1px solid #444;
Line 32: Line 32:
   height: auto;
   height: auto;
}
}
.PostUrl_tooltip a:after {
.tooltip a:after {
content: " ";
  content: " ";
border-style: solid;
  border-style: solid;
border-width: 7px 7px 0px 7px;
  border-width: 7px 7px 0px 7px;
border-color: rgba(55, 64, 70, 0.5) transparent transparent transparent;
  border-color: rgba(55, 64, 70, 0.5) transparent transparent transparent;
transition-duration: 0s;
  transition-duration: 0s;
transform-origin: top;
  transform-origin: top;
transform: translateX(-50%) scaleY(1);
  transform: translateX(-50%) scaleY(1);
   position: absolute;
   position: absolute;
   left: 5%;
   left: 5%;
   bottom: -7px;
   bottom: -7px;
}
}
.PostUrl_tooltip:hover a{         
.tooltip:hover a{         
     visibility: visible;         
     visibility: visible;         
     opacity: 1;     
     opacity: 1;     
}
}
.PostUrl_tooltip b:before {
.tooltip b:before {
   content: "";
   content: "";
   position: absolute;
   position: absolute;
Line 62: Line 62:
   transition: all 0.3s ease-in-out 0s;
   transition: all 0.3s ease-in-out 0s;
}
}
.PostUrl_tooltip b:hover:before {
.tooltip b:hover:before {
   visibility: visible;
   visibility: visible;
   background-color: #0c96ff!important;
   background-color: #0c96ff!important;
Line 68: Line 68:
   transform: scaleX(1);
   transform: scaleX(1);
}
}


}}
}}

Revision as of 05:17, 25 September 2023