MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 17: Line 17:
   border-radius: 50%;
   border-radius: 50%;
   z-index: 1;
   z-index: 1;
}
.ring-chart27:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/images/a/a4/Circle_frame.svg.png') no-repeat center;
  background-size: contain;
  z-index: 3; /* Поверх диаграммы */
}
}


Line 26: Line 38:
   width: 100%;
   width: 100%;
   height: 100%;
   height: 100%;
   z-index: 2;
   z-index: 2; /* Под изображением */
}
}


Line 33: Line 45:
   width: 100%;
   width: 100%;
   height: 100%;
   height: 100%;
   clip-path: polygon(50% 50%, 100% 0%, 100% 100%); /* Обрезка для создания четверти круга */
   clip-path: polygon(50% 50%, 100% 0%, 100% 100%);
   transition: background 0.3s ease;
   transition: background 0.3s ease;
}
}

Navigation menu