body { 
  background-color: #333;
  padding: 0;
  margin: 0;
  color: #333;
  background-image: url(pattern1.png);
}

#content {
  background-color: white;
  min-width: 500px;
  max-width: 40em;
  padding: 0.5em 2em 1em;
  margin: 0 auto;
  border-left: 1px solid black;
  border-right: 1px solid black;
}

h1 { 
  text-align: center;
  margin: 0.5em 0 1em;
}
h2 { 
  margin-top: 2em;
  margin-bottom: 0.5em;
}
h3 {
  margin-top: 2em;
}

.prolog {
  padding: 0.5em 1em;
  margin: 1em 0;
  text-align: center;
  background-color: #f99;
  border: 1px solid #b55;
  font-style: italic;
  background-image: url(pattern2.png);
}
.code { 
  font-family: monospace;
}

a {
  color: red;
  text-decoration: none;
}
a:hover {
  color: blue;
}

table {
  border-collapse: collapse;
  background-image: url(pattern3.png);
}
table, thead, tbody, tfoot, tr, th, td {
  border: 1px solid #333;
  padding: 2px 6px;
}
table tr th {
  text-align: left;
  font-weight: bold;
  background-color: #ccc;
}
table tfoot tr td {
  text-align: left;
  font-weight: bold;
  background-color: #ccc;
}
table tr:hover { 
  background-color: #ccc;
}
table.rules {
  float: left;
  margin-right: 1em;
  margin-bottom: 1em;
}
table.scores { 
  margin-left: auto;
  margin-right: auto;
}
table.rules tbody tr td, table.scores tbody tr td {
  font-family: monospace;
}
table.details tr td:first-child {
  font-weight: bold;
}
.ping, .frags {
  text-align: right;
}
.centered { 
  text-align: center;
}

img { 
  margin-bottom: 1em;
  border: 1px solid black;
}
