User:Saag/common.css: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Saag (talk | contribs)
No edit summary
Saag (talk | contribs)
mNo edit summary
 
(88 intermediate revisions by the same user not shown)
Line 1: Line 1:
.popover__wrapper {
/*:root {*/
  position: relative;
/*    --weapon-orange: #d5903f;*/
  display: inline-block;
/*    --vitality-green: #74b01c; */
}
/*    --spirit-purple: #c288f0;*/
.popover__content {
/*}*/
  opacity: 0;
 
  visibility: hidden;
/*a:link, a:visited {*/
  position: relative;
/* color: #694a2c;*/
  left: 300px;
/*}*/
  transform: translate(0, 10px);
 
  width: auto;
/*body, .mw-header, .mw-page-container, #article, #content, #catlinks {*/
}
/* color: #21130b;*/
.popover__content:before {
/*    background-color: #f5eedd;*/
  position: absolute;
/*}*/
  z-index: -1;
  /*content: "";*/
  text-align:left;
  right: calc(50% - 10px);
  top: -8px;
  transition-duration: 0.3s;
  transition-property: transform;
}
.popover__wrapper:hover + .popover__content {
  z-index: 10;
  opacity: 1;
  visibility: visible;
  transform: translate(0, -20px);
  transition: all 0.5s cubic-bezier(0.75, -0.02, 0.2, 0.97);
}

Latest revision as of 15:40, 26 October 2024

/*:root {*/
/*    --weapon-orange: #d5903f;*/
/*    --vitality-green: #74b01c; */
/*    --spirit-purple: #c288f0;*/
/*}*/

/*a:link, a:visited {*/
/*	color: #694a2c;*/
/*}*/

/*body, .mw-header, .mw-page-container, #article, #content, #catlinks {*/
/*	color: #21130b;*/
/*    background-color: #f5eedd;*/
/*}*/