@import url(http://fonts.googleapis.com/css?family=Cabin+Condensed:500&text=Fork%20me%20on%20GitHub);

body {
  font-family: Optima;
  color: darkSlategray;
  font-size: 150%;
  padding: 120px 20px 20px 20px;
}

h1,h2,h3 {
  font-weight: normal;
}

canvas {
  border: 1px solid black;
}

.contribute {
  background: lightgrey;
  box-shadow: inset 0 0 15px gray;
  border-radius:4px;
  height: 200px;
  width:300px;
}

.contribute-message {
  height:100%;
  text-align: center;
  padding: 60px 15px 15px 15px;
}

.legend {
  list-style-type: none;
  font-size: 70%;
  position: fixed;
  top:0;
  right:0;
  background: white;
  box-shadow: 0 0 10px black;
  border-radius: 0 0 0 4px;
  padding: 10px;
}

.legend tr td:first-child {
  text-align: center;
  vertical-align: middle;
}

.legend tr td:nth-child(2) {
  vertical-align: middle;
  padding-left:5px;
}

.legend .viewport {
  height: 20px;
  width: 25px;
  border: 2px solid orangered;
  display: inline-block;
}

.legend .canvas {
  height: 20px;
  width: 15px;
  border: 2px solid black;
  background: cyan;
  display: inline-block;
}

.legend .canvas.selected {
  height: 20px;
  width: 15px;
  border: 2px solid black;
  background: deepPink;
  display: inline-block;
}

.legend .frame {
  height: 25px;
  width: 20px;
  border: 2px solid #d92fd9;
  display: inline-block;
}

body{
  overflow-x: hidden;
}

.ribbon{
  position: absolute; 
  top: 42px;
  width: 200px;
  padding: 1px 0;
  background: #000;
  color: #eee;

  -moz-box-shadow: 0 0 10px rgba(0,0,0,0.5);
  -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.5);
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.ribbon.left{
  left: -42px;
  -moz-transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.ribbon.right{
  right: -42px;
  -moz-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.ribbon a, 
.ribbon a:visited, 
.ribbon a:active, 
.ribbon a:hover{
  display: block;
  padding: 1px 0;
  height: 24px;
  line-height: 24px;

  color: inherit;  
  text-align: center;
  text-decoration: none;
  font-family: 'Cabin Condensed', sans-serif;
  font-size: 16px;
  font-weight: 500;

  border: 1px solid rgba(255,255,255,0.3);

  -moz-text-shadow: 0 0 10px rgba(0,0,0,0.31);
  -webkit-text-shadow: 0 0 10px rgba(0,0,0,0.31);
  text-shadow: 0 0 10px rgba(0,0,0,0.31);
}

.ribbon.black{
  background: #000;
}