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
 
(119 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* Container for the hover element */
/*:root {*/
.hover-to-show {
/*    --weapon-orange: #d5903f;*/
  position: relative; /* Ensure that the hover-to-show element is the reference point for the absolutely positioned element */
/*    --vitality-green: #74b01c; */
}
/*   --spirit-purple: #c288f0;*/
/*}*/


.hide {
/*a:link, a:visited {*/
  display: none;
/* color: #694a2c;*/
  opacity: 0;
/*}*/
  transition: opacity 0.5s ease;
  position: absolute; /* Change to absolute to make positioning relative to .hover-to-show */
  top: 100%; /* Adjust to position the element below the hover-to-show element */
  left: 0; /* Align horizontally, modify if you need to offset horizontally */
  z-index: 2;
  cursor: pointer;
}


.hover-to-show:hover + .hide {
/*body, .mw-header, .mw-page-container, #article, #content, #catlinks {*/
  display: block;
/* color: #21130b;*/
  opacity: 1;
/*    background-color: #f5eedd;*/
}
/*}*/

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;*/
/*}*/