MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 25: Line 25:
   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 49: Line 61:
   width: 100%;
   width: 100%;
   height: 100%;
   height: 100%;
  position: relative;
   text-decoration: none; /* Убираем подчеркивание у ссылок */
   text-decoration: none;
}
}


Line 89: Line 100:
}
}


/* Новый слой с изображением */
.ring-chart27 .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3; /* Поверх всех сегментов, но под изображением */
  display: flex;
  justify-content: center;
  align-items: center;
}
.ring-chart27 .overlay img {
  width: 70%; /* Настройте размер изображения */
  height: auto;
  object-fit: contain;
  pointer-events: none;
}




Navigation menu