NDOJ/templates/contest/ranking-css.html

101 lines
1.5 KiB
HTML
Raw Permalink Normal View History

2023-01-27 23:11:10 +00:00
<style>
#users-table td {
2024-04-13 22:02:54 +00:00
min-height: 2.5em;
2023-01-27 23:11:10 +00:00
}
#users-table a {
display: block;
}
.userinfo a, .user-name a, .user-name form {
display: inline !important;
}
#users-table td a:hover {
text-decoration: underline;
}
.rank {
min-width: 2.5em
}
.points {
min-width: 2.5em;
}
.start-time {
display: none;
}
.user-name {
2024-04-12 04:56:58 +00:00
padding-left: 1em !important;
padding-right: 1em !important;
display: flex;
min-width: max-content;
align-items: center;
2023-01-27 23:11:10 +00:00
}
.organization-column {
display: none;
text-align: left !important;
border-right: none !important;
}
.featherlight-content {
height: 80%;
width: 60%;
overflow: auto;
}
.select2-selection__arrow {
display: none;
}
.select2-selection__rendered {
cursor: text;
overflow: initial !important
}
.select2-results__option {
white-space: nowrap;
}
#search-contest, #search-contest + .select2 {
margin-top: 0.5em;
}
#search-contest {
width: 200px;
height: 2.3em;
}
html.with-featherlight {
overflow: unset;
}
@media (max-width: 799px) {
.featherlight-content {
width: 95%;
}
#users-table .username {
min-width: fit-content;
}
}
</style>
{% if has_rating %}
<style>#users-table .rate-box {
font-size: 0.85em;
float: left;
}
#users-table td:nth-child(1) .rating {
margin-left: 1.25em;
display: block;
}
#users-table td:nth-child(2) a {
display: block;
}
</style>
{% endif %}