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: Manual revert Mobile edit Mobile web edit
Line 45: Line 45:
   font-size: 14.4px !important;
   font-size: 14.4px !important;
   color: #202122;
   color: #202122;
}
@media screen and (max-width: 720px) {
  .infobox::before {
    content: "2030 Winona tornado" /* Replace with the actual page name */ !important;
    display: table-row  !important;
    text-align: center  !important;
    font-weight: bold  !important;
    font-size: 14.4px  !important;
    color: #202122  !important;
    background-color: #F8F9FA  !important;
    padding: 0.5em  !important;
    margin-bottom: 0.25em  !important;
  }
  /* Hide the actual title at top of page if needed */
  h1.firstHeading {
    display: none;
  }
}
}

Revision as of 22:19, 24 April 2025

.infobox {
  background-color: #F8F9FA !important;
  border: 1px 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;
}