@import "vars"; @media(min-width: 400px) { #content-right { &.users { padding-left: 1.5em; } } } #content-right { &.users { flex: 40%; max-width: 17em; } } #content-left { &.users { flex: 60%; } } td.user-name { text-align: left; } th.header.rank { padding-left: 5px; } .user-with-img { display: inline-flex; gap: 0.5em; align-items: center; .user-img { height: 2em; width: 2em; } } #search-handle { width: 100%; height: 2.3em; } .user-search-image, .user-search-name { vertical-align: middle; } .user-search-name { padding-left: 0.5em; } #users-table { th a, th a:link, th a:visited { color: white; } th a:hover { color: #0F0; } .about-column { width: 30%; } .header { vertical-align: middle; } .rank, .points, .problems { white-space: nowrap; max-width: 20em; overflow: hidden; } .about-td { max-height: 45px; overflow: hidden; cursor: pointer; overflow-wrap: anywhere; } tr { transition: background-color linear .2s; &:hover { background: #EAEAEA; } &.highlight { background: #fff897; } padding-bottom: 96px; &:target { background: #fff897; } } .organization-column a { color: gray !important; font-weight: 600; } .disqualified { background-color: #ffa8a8 !important; } .frozen { background: lightskyblue !important; } .full-score, .full-score a { font-weight: bold; color: green; } .partial-score, .partial-score a { color: green; } .failed-score, .failed-score a { font-weight: bold; color: red; } .pretest-full-score, .pretest-full-score a { font-weight: bold; color: #2980b9; } .pretest-partial-score, .pretest-partial-score a { color: #2980b9; } .pretest-failed-score, .pretest-failed-score a { font-weight: bold; color: red; } .user-points { font-weight: bold; color: black; } .solving-time { color: gray; font-weight: normal; font-size: 0.75em; padding-bottom: -0.75em; } .point-denominator { border-top: 1px solid gray; font-size: 0.7em; } .fullname-column { text-align: right !important; border-right: none !important; } .fullname-column span { color: gray !important; font-weight: 600; } .rank-td { font-weight: bold; width: 2em; } } #search-form { display: inline-block; vertical-align: top; width: 225px; float: right; .select2-selection__arrow { display: none; } .select2-selection__rendered { cursor: text; } .select2-results__option { position: relative; } .select2-results__option--highlighted { background-color: #DEDEDE !important; } li.select2-results__option--highlighted a.user-redirect { display: inline-block; } } a.user-redirect { color: #2980b9; vertical-align: middle; font-size: 1.2em; position: absolute; right: 0.8em; display: none; &:hover { text-shadow: 0 0 2px blue; } } a.edit-profile { float: right; padding-top: 1em; } .user-problem-group { h3 { font-weight: 600; font-size: 1.25em; margin-bottom: -10px; max-height: 20%; line-height: 2.5em; } ul { -webkit-columns: 300px 4; -moz-columns: 300px 4; columns: 300px 4; list-style-type: none; margin-top: 0; margin-left: -20px; margin-bottom: 0; } a img { max-width: 1em; margin-right: 3px; padding-bottom: 1px; vertical-align: middle; } } .user-info-cell { padding-left: 15px; border-left: 1px solid #CCC; } .contest-history-cell { border-left: 1px solid #CCC; padding: 0 0.5em; } .hide-solved-problems { text-align: right; overflow: hidden; } .hide-solved-problems > span { position: relative; display: inline-block; } .hide-solved-problems > span:before { content: ""; position: absolute; top: 50%; width: 100000px; height: 1px; background: rgba(0, 0, 0, 0.2); right: 100%; margin-right: 5px; } .user-info-page { display: flex; max-width: 100%; min-height: 0; } .user-sidebar { flex: 0 0 150px; padding-right: 1em; } .user-content { flex: 1 1; overflow: hidden; word-wrap: break-word; } .user-img { flex-shrink: 0; background-color: #ddd; border-radius: 50%; overflow: hidden; display: flex; align-items: center; img { width: 100%; height: auto; } } @media not all and (min-width: 600px) { .user-info-page { display: block; } .user-sidebar { width: 150px; margin: 0 auto; } .user-content { overflow: visible; } } .pp-table { .pp { font-weight: 600; font-size: 1.4em; } .pp-scaled { font-size: 0.8em; } .pp-weighted { color: #777; } div.sub-pp { text-align: right; min-width: unset; width: unset; border-left: none; } td.problem-name { text-align: left; padding-left: 1em; } td.problem-score { width: 80px; } td.problem-category { width: 100px; } width: 99%; } #pp-load-link-wrapper { text-align: center; border: 1px solid #ccc; } #pp-load-more-link { display: block; padding: 0.5em 0; } .pp-breakdown-header { font-weight: 600; font-size: 1.25em; margin-bottom: 0.2em; } #rating-chart { height: 400px; margin-top: 1em; } #rating-tooltip { display: none; position: absolute; background: rgba(0, 0, 0, 0.7); color: white; padding: 3px; border-radius: 3px; transition: all .1s ease; pointer-events: none; transform: translate(-50%, 0); &.rate-group { color: white; } } .follow { background: green; border-color: lightgreen; } .follow:hover { background: darkgreen; } .unfollow { background: red; border-color: pink; } .unfollow:hover { background: darkred; } #submission-activity { #submission-activity-actions { text-align: center; #prev-year-action, #next-year-action { font-size: 1.75em; } #year { font-size: 1.25em; color: #444; } } #submission-activity-display { border: 1px solid $border_gray; border-radius: $table_header_rounding; .info-bar { display: flex; justify-content: space-between; .info-table { width: 15%; min-width: 130px; .info-table-text { width: 8%; } } } .info-text { font-size: 0.75em; line-height: 1; font-weight: 100; color: #444; } #submission-total-count { align-self: center; padding-left: 8%; font-size: 0.85em; } @media(max-width: 1000px) { #submission-total-count { padding-left: 5px; } } table { width: 100%; padding: 5px; th.submission-date-col { width: 8%; } @media (max-width: 1000px) { th.submission-date-col { display: none; } } td { border-radius: 20%; div { margin-top: 100%; } &.activity-label { position: relative; white-space: nowrap; } &.activity-blank { background-color: white; } &.activity-0 { background-color: #ddd; } &.activity-1 { background-color: #9be9a8; } &.activity-2 { background-color: #40c463; } &.activity-3 { background-color: #2f9c4c; } &.activity-4 { background-color: #216e39; } } } } } .user-info-header { color: gray; } .user-stat-header { color: gray; }