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
 
(117 intermediate revisions by the same user not shown)
Line 1: Line 1:
/*.hide {*/
/*:root {*/
/* display: none;*/
/*   --weapon-orange: #d5903f;*/
/* opacity: 0;*/
/*   --vitality-green: #74b01c; */
/* transition: opacity 0.5s ease;*/
/*   --spirit-purple: #c288f0;*/
/*}*/
/*}*/


/*.hover-to-show:hover + .hide {*/
/*a:link, a:visited {*/
/* display: block;*/
/* color: #694a2c;*/
/*    position: fixed; */
/*    top: inherit;*/
/* z-index: 2;*/
/*    cursor: pointer;*/
/*    opacity: 1;*/
/*    transition: opacity 0.5s ease;*/
/*}*/
/*}*/


/* Wrapper to hold both elements */
/*body, .mw-header, .mw-page-container, #article, #content, #catlinks {*/
.hover-wrapper {
/* color: #21130b;*/
  position: relative; /* Establish relative positioning for the wrapper */
/*   background-color: #f5eedd;*/
}
/*}*/
 
/* The hover element */
.hover-to-show {
  cursor: pointer;
}
 
/* The hidden element */
.hide {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  position: absolute; /* Position relative to the .hover-wrapper */
  top: 100%; /* Ensure the hidden element appears directly below the hovered element */
  left: 0; /* Adjust horizontal positioning if necessary */
  z-index: 2;
  cursor: pointer;
}
 
/* Show hidden content on hover */
.hover-to-show:hover + .hide {
  display: block;
  opacity: 1;
}

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