<div class="container">
<div class="buttons"> <a href="#" class="active">Public Phonebook</a> <a href="#" >Login</a> </div>
<div class="block">
<div class="person">
John Smith
<a href="google.com">View details</a>
<hr>
</div>
<div class="person">
John Smith
<a href="google.com">View details</a>
<hr>
</div>
<div class="person">
John Smith
<a href="google.com">View details</a>
<hr>
</div>
<div class="person">
John Smith
<a href="google.com">View details</a>
<hr>
</div>
</div>
</div>
.container {
margin: 70px 0;
padding: 10px;
}
.block {
margin: 0 auto;
padding: 20px;
width: 800px;
color: #666;
background-color: white;
top: 1px;
box-shadow: inset 5px 4px 100px 20px rgba(154, 147, 140, 0.5);
}
.block a {
font-size: 20px;
float: right;
padding: 5px;
color: #2796ff;
}
.person {
margin: 0 0 10px;
padding: 3px;
}
.person hr {
margin: 5px;
}
.buttons {
display: inline;
margin: 11.26em;
}
.buttons a {
display: inline-block;
font-size: 18px;
position: relative;
background-color: #0c3a5f;
color: white;
text-decoration: none;
padding: .8em 2em;
outline: none;
border-radius: 1px;
transition: 0.2s;
}
.buttons .active {
background-color: #ff8e00;
}
.buttons a:hover {
background-size: 140% 100%, auto;
}
.buttons a:active {
top: 1px;
color: #ffdead;
}