MediaWiki:Common.css: Difference between revisions

>Kypho
No edit summary
>Kypho
No edit summary
Line 34: Line 34:
.formtable .w-ft, .formtable .w-in { max-width: 5ch !important; }
.formtable .w-ft, .formtable .w-in { max-width: 5ch !important; }
.formtable .w-year { max-width: 6ch !important; }
.formtable .w-year { max-width: 6ch !important; }
/* Stuff stolen from coppermind */
/* information boxes and navigation bars */
table.infobox, table.navbar {
  border: 1px solid #aaa;
  border-spacing: 1;
  background-color: white;
}
.infobox td, .navbar td
.infobox th, .navbar th {
  padding: 4px;
}
.infobox th, .navbar th {
  background-color: #ddddff;
  white-space: nowrap;
}
.infobox tr.title th, .navbar tr.title th,
.infobox th.title, .navbar th.title {
  color: black;
  background-color: #ccccff;
  text-align: center;
}
.infobox .kv td, .navbar td {
  text-align: left;
}
.infobox .kv th, .navbar .kv th {
  width: 15%;
}
.infobox.side {
  width: 22em;
  float: right;
  margin-left: 0.5em;
}
.infobox.side td {
  font-size: 90%;
}
/* putting the ToC in the infobox (2016-12-20) */
.infobox #toc {
  width: 100%!important;
  padding: initial!important;
}