Jump to content

MediaWiki:Minerva.css: Difference between revisions

From Shark's Hypothetical Weather
No edit summary
Tags: Reverted Mobile edit Mobile web edit
No edit summary
Tags: Reverted Mobile edit Mobile web edit
Line 1: Line 1:
.infobox {
.infobox {
   background-color: #F8F9FA !important;
   background-color: #F8F9FA !important;
   border: 1.5px solid #DADDE3 !important;
   border: 1.25px solid #DADDE3 !important;
   border-collapse: collapse;
   border-collapse: collapse;
   width: 100%;
   width: 100%;
Line 49: Line 49:
@media screen and (max-width: 720px) {
@media screen and (max-width: 720px) {
   .infobox {
   .infobox {
     width: 250px !important;
     width: 500px !important;
     float: none !important;
     float: none !important;
     margin-left: auto !important;
     margin-left: auto !important;

Revision as of 22:23, 24 April 2025

.infobox {
  background-color: #F8F9FA !important;
  border: 1.25px solid #DADDE3 !important;
  border-collapse: collapse;
  width: 100%;
  font-size: 14.4px !important;
  line-height: 1.4;
  color: #202122 !important;
  margin: 0 auto 1em auto;
}

.infobox td,
.infobox th {
  border: none;
  padding: 6px 8px;
  vertical-align: top;
  background-color: #F8F9FA;
  font-size: 14.4px !important;
  color: #202122 !important;
}

/* Clean row-based dividers */
.infobox tr {
  border-bottom: 1px solid #DADDE3;
}

.infobox tr:last-child {
  border-bottom: none;
}

/* Section header style */
.infobox .section-header {
  background-color: #F8F9FA;
  font-weight: bold;
  text-align: left;
  border-bottom: 1px solid #DADDE3;
}

/* Caption style */
.infobox caption {
  background-color: #F8F9FA;
  padding: 0.5em;
  text-align: center;
  font-weight: bold;
  font-size: 14.4px !important;
  color: #202122;
}

@media screen and (max-width: 720px) {
  .infobox {
    width: 500px !important;
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}