Difference between revisions of "MediaWiki:Common.css"

From TLoZ: ALTTP Hacking Resources
Jump to: navigation, search
Line 8: Line 8:
 
}
 
}
 
   
 
   
table.npcinfobox th, table.npcinfobox td { /* each cell in the table */
+
table.infoBox th, table.infoBox td { /* each cell in the table */
 
   border: 1px solid black;
 
   border: 1px solid black;
 
   padding: 3px;
 
   padding: 3px;
 
}
 
}
 
   
 
   
table.npcinfobox tr:first-child th { /* first header */
+
table.infoBox tr:first-child th { /* first header */
 
   background-color: 808080;
 
   background-color: 808080;
 
}
 
}
 
   
 
   
table.npcinfobox th:first-of-type { /* the rest of the headers */
+
table.infoBox th:first-of-type { /* the rest of the headers */
 
   background-color: A0A0A0;
 
   background-color: A0A0A0;
 
}
 
}

Revision as of 04:13, 15 April 2016

table.infoBox { /* overall style */
  float: right;
  margin: 0 0 0.5em 1em;
  border: 1px solid silver;
  background-color: #D0D0D0;
  color: black;
  padding: 2px 5px;
}
 
table.infoBox th, table.infoBox td { /* each cell in the table */
  border: 1px solid black;
  padding: 3px;
}
 
table.infoBox tr:first-child th { /* first header */
  background-color: 808080;
}
 
table.infoBox th:first-of-type { /* the rest of the headers */
  background-color: A0A0A0;
}