Перейти до вмісту

MediaWiki:Common.css: відмінності між версіями

restyle wikitable: white gaps, gray cells, more padding
(make banner image responsive (full-width on mobile))
(restyle wikitable: white gaps, gray cells, more padding)
Рядок 28: Рядок 28:
.banner-wrapper img,
.banner-wrapper img,
.banner-image img { max-width: 100%; height: auto; display: block; }
.banner-image img { max-width: 100%; height: auto; display: block; }
/* Wikitable — clean style: no borders, cells separated by white gaps over light-gray fill */
.wikitable {
  background: transparent;
  border: 0;
  border-collapse: separate;
  border-spacing: 3px;
  margin: 1em 0;
  color: inherit;
}
.wikitable > * > tr > th,
.wikitable > * > tr > td {
  background: #f3f4f6;
  border: 0;
  padding: 12px 16px;
  vertical-align: top;
}
.wikitable > * > tr > th {
  background: #e5e7eb;
  font-weight: 600;
  text-align: left;
}
70

редагувань