MediaWiki:Common.css: Difference between revisions

From Anesthesia Wiki
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
.infobox {
.template-data-table {
   border: 1px solid #aaa;
   border-collapse: collapse;
  background-color: #f9f9f9;
   width: 100%;
  margin: 1em 0;
   padding: 0.5em;
  font-size: 90%;
  line-height: 1.5em;
}
}


.infobox caption {
.template-data-table th,
  font-size: larger;
.template-data-table td {
  font-weight: bold;
   border: 1px solid #ccc;
}
   padding: 0.5em;
 
.infobox th {
  text-align: left;
  vertical-align: top;
  padding-right: 0.5em;
}
 
.infobox td {
   vertical-align: top;
}
 
.infobox ul {
  margin: 0;
   padding: 0 0 0 1.2em;
}
 
.infobox ul li {
  margin: 0.5em 0;
}
 
.infobox img {
  max-width: 100%;
  height: auto;
}
}


.infobox-header {
.template-data-table th {
   background-color: #f2f2f2;
   background-color: #f2f2f2;
   font-weight: bold;
   font-weight: bold;
  text-align: center;
  padding: 0.5em;
}
}


.infobox-header h1, .infobox-header h2 {
.template-data-table td {
   margin: 0;
   background-color: #fff;
  font-size: 120%;
}
 
.infobox-header .nickname {
  font-weight: normal;
  font-style: italic;
}
 
.infobox-header .motto {
  font-weight: normal;
  font-size: 90%;
  color: #666;
}
 
.infobox-map {
  border: 1px solid #ccc;
  margin: 0.5em 0;
}
}

Revision as of 06:14, 13 May 2023

/* CSS placed here will be applied to all skins */
.template-data-table {
  border-collapse: collapse;
  width: 100%;
}

.template-data-table th,
.template-data-table td {
  border: 1px solid #ccc;
  padding: 0.5em;
}

.template-data-table th {
  background-color: #f2f2f2;
  font-weight: bold;
}

.template-data-table td {
  background-color: #fff;
}