Перейти до вмісту

MediaWiki:Common.css: відмінності між версіями

hero: border-radius 16px, top offset 24px, бічні поля 16px
(hero як position:absolute у container-inner — повна ширина від лівого до правого краю контейнера, висота 500)
(hero: border-radius 16px, top offset 24px, бічні поля 16px)
Рядок 260: Рядок 260:
body:is(.page-🇷🇴_Румунія) .mw-page-container-inner {
body:is(.page-🇷🇴_Румунія) .mw-page-container-inner {
   position: relative;
   position: relative;
   padding-top: calc(var(--page-hero-height) + 24px);
   padding-top: calc(var(--page-hero-height) + 56px); /* hero + top offset (24) + bottom gap (32) */
}
}


body:is(.page-🇷🇴_Румунія) .vector-page-titlebar {
body:is(.page-🇷🇴_Румунія) .vector-page-titlebar {
   position: absolute;
   position: absolute;
   top: 0;
   top: 24px;
   left: 0;
   left: 16px;
   right: 0;
   right: 16px;
   width: auto;
   width: auto;
   height: var(--page-hero-height);
   height: var(--page-hero-height);
Рядок 278: Рядок 278:
   align-items: center;
   align-items: center;
   justify-content: center;
   justify-content: center;
   border-radius: 0;
   border-radius: 16px;
   box-sizing: border-box;
   box-sizing: border-box;
   z-index: 1;
   z-index: 1;