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

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

login v2.23: footer + gradient position:fixed bottom:0 — пришпилено до низу viewport
(login v2.22: bg-cover на body+html, тло темно-синє щоб не біле)
(login v2.23: footer + gradient position:fixed bottom:0 — пришпилено до низу viewport)
Рядок 979: Рядок 979:
   text-decoration: underline;
   text-decoration: underline;
}
}
/* Темний градієнт знизу .mw-page-container — для читабельності футера */
/* Темний градієнт прикріплений до низу viewport */
body.mw-special-Userlogin .mw-page-container::after,
body.mw-special-Userlogin::after,
body.mw-special-CreateAccount .mw-page-container::after {
body.mw-special-CreateAccount::after {
   content: "";
   content: "";
   position: absolute;
   position: fixed;
   left: 0;
   left: 0;
   right: 0;
   right: 0;
Рядок 990: Рядок 990:
   background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.55) 100%);
   background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.55) 100%);
   pointer-events: none;
   pointer-events: none;
   z-index: 1;
   z-index: 3;
}
}
/* Підняти footer над градієнтом */
/* Footer прикріплений до низу viewport */
body.mw-special-Userlogin .mw-footer-container,
body.mw-special-Userlogin .mw-footer-container,
body.mw-special-CreateAccount .mw-footer-container {
body.mw-special-CreateAccount .mw-footer-container {
   position: relative;
   position: fixed !important;
   z-index: 2;
  bottom: 0 !important;
  left: 50% !important;
  transform: translateX(-50%);
   z-index: 4 !important;
}
}
/* Sitenotice між inner і footer — не повинен заважати */
/* Sitenotice між inner і footer — не повинен заважати */