MediaWiki:Common.css: Difference between revisions

An idea by Jeff Lawlor
Created on 2024-10-08
No edit summary
No edit summary
Line 142: Line 142:
.infobox-panel {
.infobox-panel {
   margin-bottom: 1em;
   margin-bottom: 1em;
}
.infobox-idea {
  clear: both;
  float: right;
  max-width: 300px;
  width: 100%;
  margin: 1em 0 1em 1em;
  background-color: var(--background-color, #f9f9f9);
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 0.5em;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .infobox-idea {
    float: none;
    width: 100%;
    margin: 1em 0;
  }
}
.infobox-user, .infobox-panel.about-idea .panel-content {
  white-space: normal;
}
}