.legend {
  margin: 0;
  padding: 0;
  border: solid 4px #fdbb30;
  border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px;
}
.legend li {
  border-left: solid 0.5em #aaa;
  list-style: none;
  padding-left: 0.5em;
  margin: 2px;
}