MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 404: Line 404:
}
}


/* Keep donate banner text left, button right */
/* Layout siteNotice as two columns: text left, CTA right */
#siteNotice {
  display: flex;
  align-items: center;
  gap: 20px;
}
 
/* Let text take available space */
#siteNotice > *:not(a) {
  flex: 1 1 auto;
}
 
/* Keep donate button fixed on the right */
#siteNotice a {
#siteNotice a {
   float: right;
   flex: 0 0 auto;
   margin-left: 20px;
   white-space: nowrap;
  margin-top: 2px;
}
}