mat-card { margin-bottom: 20px; background-color: #4dd0e1; cursor: pointer; } mat-card-content > :first-child { margin-top: 20px; } mat-toolbar { border-radius: 10px; margin-bottom: 20px; background-color: #bbdefb; } .voting-icon { width: 100%; height: 100%; font-size: 35px; line-height: 100%!important; } .incorrect-icon { color: #c8e6c9; } .correct-icon { color: #66bb6a; } .read-icon { color: #1e88e5; } .unread-icon { color: #e3f2fd; } .favorite-icon { color: #fdd835; } .not-favorite-icon { color: #fffde7; } .proffessor-icon { background-size: cover; margin-right: 10px; margin-top: 10px; } h2 { text-align: center; margin: 0; } .body { min-width: 200px; min-height: 100px; text-align: start; font-size: large; max-height: 120px; overflow: hidden; text-overflow: ellipsis; }