mirror of
https://koodu.h-i.works/projects/thebadspace
synced 2025-06-25 16:04:37 -05:00
Updated Location Page design
Updated the design for pages displaying information about specifiic locations to clearly display heat rating, silence and suspeneded statistics. Also inlcude a descriptor for heat rating.
This commit is contained in:
@ -14,8 +14,43 @@ section[role="location"] img {
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
.rating-icon {
|
||||
width: 45px;
|
||||
top: 10px;
|
||||
width: 35px;
|
||||
position: relative;
|
||||
}
|
||||
|
@ -63,6 +63,6 @@ h2 {
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1.5em;
|
||||
font-weight: 300;
|
||||
font-size: 1em;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
Reference in New Issue
Block a user