MediaWiki:Common.css: Difference between revisions

mNo edit summary
m Adjust infobox metrics
Line 70: Line 70:


.infobox {
.infobox {
    margin: auto;
  margin: auto;
    max-width: 272px;
  max-width: 272px;
}
}


@media (min-width: 768px) {
@media (min-width: 768px) {
    .infobox {
  .infobox {
float: right;
    float: right;
min-width: 272px;
    min-width: 272px;
margin-left: 1rem;
    margin-left: 1rem;
margin-bottom: 1rem;
    margin-bottom: 1rem;
        /*font-size: 1.2rem;*/
  }
    }
}
}


.infobox > table {
.infobox > table {
    border: 1px solid #ddd;
  border: 1px solid #ddd;
    border-right-width: 5px;
  border-right-width: 5px;
  border-collapse: collapse;
}
}


.infobox > table tr:first-child th {
.infobox > table tr:first-child th {
    text-align: center;
  text-align: center;
    background: #eee;
  background: #eee;
}
}


Line 105: Line 105:
.infobox .table > thead > tr > td,
.infobox .table > thead > tr > td,
.infobox .table > thead > tr > th {
.infobox .table > thead > tr > th {
    padding: 0.5rem;
  padding: 0.1rem 0.4rem;
}
}