MediaWiki:Common.css: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 57: Line 57:


/* ====== slider ====== */
/* ====== slider ====== */
.switch {
  position: relative;
  display: block;
  width: 30px;
  height: 17px;
  margin: 0 auto;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
#slider {
#slider {
   position: absolute;
   position: absolute;