Files
flask-practice/static/css/relative_rank.css
2025-04-22 13:15:15 -05:00

87 lines
1.2 KiB
CSS

.item {
border: 1px solid lightgrey;
min-width: 6em;
width: fit-content;
list-style: none;
padding: 5px;
margin: 5px 0;
border-radius: 5px;
}
.rank {
list-style: none;
margin-top: 10px;
min-width: 6em;
width: 120px;
height: 10px;
background: red;
position: relative;
border-radius: 10px;
}
.rank::before {
content: "";
position: absolute;
right: 0%;
top: -7.5px;
width: 25px;
height: 25px;
border-radius: 50%;
background: red;
}
.flex-container {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
}
.unranked-items {
flex-grow: 1;
text-align: center;
}
.ranked-items {
flex-grow: 1;
text-align: center;
}
#unranked-items {
display: inline-block;
min-height: 7rem;
min-width: 7em;
justify-content: center;
}
#ranked-items {
display: inline-block;
min-height: 7rem;
min-width: 12em;
}
#add-btn {
background: #03df4d;
border: none;
border-radius: 5px;
}
#clear-btn {
background: #e62d2d;
border: none;
border-radius: 5px;
}
.delete {
border: none;
background: none;
}
.delete:hover {
border: none;
background: darkgray;
}
.rank-btns {
border: none;
border-radius: 5px;
background: #03df4d;
}