Template:CharIcon-UMVC3/styles.css: Difference between revisions

Template page
No edit summary
No edit summary
 
(26 intermediate revisions by the same user not shown)
Line 1: Line 1:
.ci {
.ci {
background: gray;
}
}


.ci-background {
.ci-background {
  background: gray;  
  position: absolute;
  width:max-content;  
  width: 60px;
  border: solid 1px white;
  height: 51px;
outline: solid 2px white;
}
}


.ci-background:hover {
.ci-highlight {
  border: hidden;
position: absolute;
width: 60px;
height: 51px;
outline: solid 3px yellow;
outline-offset: 7px;
visibility: hidden;
}
 
.ci-parent {
margin: 3px;
}
 
.ci-parent:hover .ci-highlight {
  visibility: visible;
animation: blinker 1s linear infinite;
}
}


.ci:hover {
.ci-parent:hover .ci-background {
border: solid 3px yellow;
  outline: solid 3px yellow;
  outline: solid 3px yellow;
outline-offset: 5px;
  animation: blinker 1s linear infinite;
  animation: blinker 1s linear infinite;
animation-delay: 0.2s;
}
}



Latest revision as of 13:58, 20 May 2025

.ci {
 background: gray;
}

.ci-background {
 position: absolute;
 width: 60px;
 height: 51px;
 outline: solid 2px white;
}

.ci-highlight {
 position: absolute;
 width: 60px;
 height: 51px;
 outline: solid 3px yellow;
 outline-offset: 7px;
 visibility: hidden;
}

.ci-parent {
 margin: 3px;
}

.ci-parent:hover .ci-highlight {
 visibility: visible;
 animation: blinker 1s linear infinite;
}

.ci-parent:hover .ci-background {
 outline: solid 3px yellow;
 animation: blinker 1s linear infinite;
 animation-delay: 0.2s;
}

@keyframes blinker {
 50% {
  opacity: 0;
 }
}