mapcomplete/css/ReviewElement.css

79 lines
1.2 KiB
CSS
Raw Normal View History

2020-12-07 02:31:13 +00:00
.review-title {
font-size: x-large;
display: flex;
justify-content: space-between;
align-items: center;
padding-left: 1em;
padding-right: 1em;
}
.review-title img {
max-width: 1.5em;
height: 1.5em;
}
2020-12-07 02:02:50 +00:00
.review-rating img {
max-width: 1em;
height: 1em;
}
.review-rating {
display: flex;
flex-direction: row;
2020-12-07 02:31:13 +00:00
width: 5em;
margin-right: 0.5em;
flex-shrink: 0;
2020-12-07 02:02:50 +00:00
}
.review-date {
color: var(--subtle-detail-color-light-contrast);
}
2020-12-07 02:31:13 +00:00
.review-stars-comment {
2020-12-07 02:02:50 +00:00
display: flex;
margin-bottom: 0.5em;
}
2020-12-07 02:31:13 +00:00
2020-12-07 02:02:50 +00:00
.review-author {
font-weight: bold;
2020-12-07 02:31:13 +00:00
margin-right: 0.5em;
}
.review-author-date {
2020-12-07 02:02:50 +00:00
display: flex;
2020-12-07 02:31:13 +00:00
margin-bottom: 0.5em;
2020-12-07 02:02:50 +00:00
justify-content: flex-end;
}
2020-12-07 02:31:13 +00:00
2020-12-07 02:02:50 +00:00
.review-element {
padding: 1em;
margin: 0.5em;
display: block;
border-radius: 1em;
background-color: var(--subtle-detail-color);
color: var(--subtle-detail-color-contrast);
}
.review-attribution {
display: flex;
color: var(--subtle-detail-color-light-contrast);
justify-content: flex-end;
margin-right: 1em;
}
.review-attribution span {
width: calc(65% - 3em);
text-align: right;
max-width: 20em;
}
.review-attribution img {
height: 3em;
margin-left: 0.5em;
}