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:
/* CSS Document */
/* CSS Document */
.lang {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}
.lang .tooltiplang {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  top: 150%;
  left: 50%;
  margin-left: -60px;
}
.lang .tooltiplang::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent black transparent;
}
.lang:hover .tooltiplang {
  visibility: visible;
}
.ombox {
.ombox {
margin: 4px 10%;
margin: 4px 10%;
Line 65: Line 103:
margin: 0;
margin: 0;
     padding: 0;
     padding: 0;
}
.lang {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}
.lang .tooltiplang {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  top: 150%;
  left: 50%;
  margin-left: -60px;
}
.lang .tooltiplang:after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent black transparent;
}
.lang:hover .tooltiplang {
  visibility: visible;
}
}

Navigation menu