body { background-color: #fff; } ul { padding: 0px; } li { list-style-type: none; border: 1px solid #aaa; margin: 10px; padding: 10px; } li:hover { background-color: #ddd; cursor: pointer } span.name { font-size: 24px; display: block; } span.date { margin-right: 3em; display: block; } span.path { display: block; color: #aaa; } span span.btn { background-color: #aaa; color: #fff; padding: 3px; margin-left: 3em; } span span.btn:hover { background-color: #888; color: #fff; padding: 3px; margin-left: 3em; }