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:


.item-title {
.PostUrl_tooltip {
  color: #cb9;
  font-weight: bold;
  font-size: 150%;
}
 
.item-subtitle {
  color: #666;
  font-weight: bold;
}
 
.item-text {
  color: #cb9;
}
 
.object-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: #a84;
   color: #ff0;
  font-weight: bold;
}
}
 
.PostUrl_tooltip:hover {
.ability-tooltip {
   color: #0c96ff!important;
  position: relative;
  -webkit-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
  display: inline-block;
  color: #07f;
  font-weight: bold;
}
 
.ability-tooltip:hover, .object-tooltip:hover {
   color: #0ff!important;
   cursor: pointer;
   cursor: pointer;
}
}
 
.PostUrl_tooltip a{   
.ability-tooltip a, .object-tooltip a {   
   position: absolute;   
   position: absolute;   
   display: block;   
   display: block;   
Line 53: Line 26:
   border: 1px solid #514d4d;
   border: 1px solid #514d4d;
}
}
 
.PostUrl_tooltip a img {
.ability-tooltip a img, .object-tooltip a img {
   display: block;
   display: block;
   border: 1px solid #444;
   border: 1px solid #444;
Line 60: Line 32:
   height: auto;
   height: auto;
}
}
 
.PostUrl_tooltip a:after {
.ability-tooltip a:after, .object-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{         
.ability-tooltip:hover a, .object-tooltip:hover a{         
     visibility: visible;         
     visibility: visible;         
     opacity: 1;     
     opacity: 1;     
}
}
 
.PostUrl_tooltip b:before {
.ability-tooltip b:before, .object-tooltip b:before {
   content: "";
   content: "";
   position: absolute;
   position: absolute;
Line 93: Line 62:
   transition: all 0.3s ease-in-out 0s;
   transition: all 0.3s ease-in-out 0s;
}
}
 
.PostUrl_tooltip b:hover:before {
.ability-tooltip b:hover:before, .object-tooltip b:hover:before {
   visibility: visible;
   visibility: visible;
   background-color: #0c96ff!important;
   background-color: #0c96ff!important;
Line 100: Line 68:
   transform: scaleX(1);
   transform: scaleX(1);
}
}
}}
}}

Revision as of 05:08, 25 September 2023