xssbook/public/css/people.css
2023-01-26 17:29:16 -05:00

44 lines
No EOL
746 B
CSS

body {
background-color: #f0f2f5;
}
#users {
display: flex;
flex-direction: column;
align-items: center;
}
.person {
width: 30em;
height: fit-content;
background-color: white;
border-radius: 10px;
box-shadow: 0 2px 4px rgba(0, 0, 0, .05);
margin-bottom: 1.5em;
display: flex;
flex-direction: row;
}
.profile, .profile img {
border-radius: 10px 0px 0px 10px;
width: 10em;
height: 10em;
padding: 0;
display: block;
background-color: #e4e6e8;
flex-shrink: 0;
}
.info {
margin: 20px;
display: flex;
flex-direction: column;
}
.info span {
width: 280px;
margin-bottom: 5px;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}