ForRo/public/assets/css/front/location.css

57 lines
942 B
CSS
Raw Normal View History

section[role="location"] {
background: var(--primary);
width: 100%;
max-width: 600px;
padding: 10px;
margin: 0 auto;
color: var(--white);
}
section[role="location"] img {
width: 33%;
border-radius: 3px;
overflow: hidden;
vertical-align: top;
}
2023-08-29 20:37:52 +02:00
div.location-rating {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
gap: 10px;
width: 98%;
font-weight: 500;
font-size: 0.8em;
color: var(--secondary);
}
div.location-rating > div {
border-radius: 3px;
color: var(--primary);
padding: 5px 5px 0;
}
div.location-rating > div:nth-child(1) {
background: var(--secondary);
}
div.location-rating > div:nth-child(2) {
background: var(--silence);
}
div.location-rating > div:nth-child(3) {
background: var(--suspend);
}
div.location-rating > div > span {
position: relative;
top: 6px;
float: right;
width: 80%;
text-align: center;
}
2023-08-29 20:37:52 +02:00
.rating-icon {
width: 35px;
2023-08-29 20:37:52 +02:00
position: relative;
}