MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 1: Line 1:
        .container {
.tips {
  position: relative;
  display: inline-block;
  cursor: pointer;
}
 
.tips .tipstext {
  visibility: hidden;
  width: 120px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 100%; /* Position above the text */
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
}
 
.tips:hover .tipstext {
  visibility: visible;
  opacity: 1;
}
 
 
 
 
      .container {
             position: relative;
             position: relative;
             display: flex;
             display: flex;

Navigation menu