Skip to content

Instantly share code, notes, and snippets.

@dcramer
Created April 5, 2013 20:49
Show Gist options
  • Select an option

  • Save dcramer/5322522 to your computer and use it in GitHub Desktop.

Select an option

Save dcramer/5322522 to your computer and use it in GitHub Desktop.
<style type="text/css">
* {
font-family: 'Open Sans', Helvetica, 'Bitstream Vera Sans', Arial, Verdana, sans-serif;
}
.container {
width: 600px;
border: 1px solid rgb(182, 201, 212);
}
h1 {
font-weight: bold;
font-size: 20px;
text-align: center;
background: rgb(249, 251, 252);;
border-bottom: 1px solid rgb(182, 201, 212);
padding: 20px 0;
margin: 0;
color: rgb(55, 128, 170);
}
.card li {
list-style: none;
margin-left: 0;
min-height: 60px;
margin-bottom: 20px;
}
.card .grade {
border-radius: 60px;
height: 60px;
width: 60px;
line-height: 60px;
display: block;
float: left;
text-align: center;
margin-right: 20px;
color: white;
font-weight: bold;
font-size: 30px;
}
.card .grade-a .grade {
background: #00AA00;
}
.card .grade-b .grade {
background: #80CC00;
}
.card .grade-c .grade {
background: orange;
}
.card .grade-d .grade {
background: #F77700;
}
.card .grade-f .grade {
background: #EE0000;
}
.card h2 {
font-weight: normal;
margin: 0;
line-height: 40px;
}
.card p {
font-size: 11px;
line-height: 15px;
margin: 0;
}
</style>
<div class="container">
<h1>tenXer Report Card</h1>
<ul class="card">
<li class="grade-a">
<div class="grade">A</div>
<h2>Commit Size</h2>
<p>You crushed it this week! Your average commit size was 315 lines.</p>
</li>
<li class="grade-c">
<div class="grade">C</div>
<h2>Code Reviews</h2>
<p>You're slipping. 6 out of 13 reviews assigned to you waited more than a full work day.</p>
</li>
<li class="grade-b">
<div class="grade">B</div>
<h2>Issues Closed</h2>
<p>Almost there! 3 more issues closed this week would have hit your goal.</p>
</li>
<li class="grade-a">
<div class="grade">A</div>
<h2>Commit Frequency</h2>
<p>Awesome! You managed to commit more than twice a day the entire week.</p>
</li>
<li class="grade-f">
<div class="grade">F</div>
<h2>Failed Builds</h2>
<p>You were the only person to cause a build failure, and it happened 3 times.</p>
</li>
</ul>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment