Jump to content

MediaWiki:Common.css: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 54: Line 54:
.columns {
.columns {
   column-count: 3;
   column-count: 3;
}
/* ====== slider ====== */
#slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #4c4c4c;
  transition: .4s;
  border-radius: 17px;
}
#slider:before {
  position: absolute;
  content: "";
  height: 13px;
  width: 13px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}
.slider-alt {
  background-color: #4c4c4c;
}
.slider-alt:before {
  transform: translateX(13px);
}
}