xssbook/public/css/people.css
Tyler Murphy 0a43289090 dark mode
2023-01-30 18:55:36 -05:00

45 lines
No EOL
794 B
CSS

body {
background-color: var(--secondary);
}
#users {
display: flex;
flex-direction: column;
align-items: center;
}
.person {
color: var(--text);
width: 30em;
height: fit-content;
background-color: var(--primary);
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: var(--banner);
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;
}