2022-09-24 00:13:39 +00:00
|
|
|
/* S2OJ Bootstrap 5 Theme */
|
|
|
|
|
2023-02-01 13:30:36 +00:00
|
|
|
/* - Global Reset - */
|
|
|
|
|
2022-09-23 22:28:50 +00:00
|
|
|
body {
|
|
|
|
overflow-y: scroll;
|
|
|
|
}
|
|
|
|
|
2022-09-25 02:55:34 +00:00
|
|
|
pre {
|
|
|
|
tab-size: 4;
|
|
|
|
}
|
|
|
|
|
2022-11-06 02:26:21 +00:00
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2023-02-01 13:30:36 +00:00
|
|
|
/* Content */
|
|
|
|
|
2022-10-18 06:47:03 +00:00
|
|
|
.uoj-pre {
|
|
|
|
padding: 1em;
|
|
|
|
}
|
|
|
|
|
2022-09-24 00:13:39 +00:00
|
|
|
.uoj-username,
|
|
|
|
.uoj-score {
|
2022-09-23 13:00:17 +00:00
|
|
|
font-weight: 800;
|
|
|
|
text-decoration: none;
|
2022-09-23 13:53:29 +00:00
|
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
|
|
|
|
'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji',
|
|
|
|
'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
|
2022-09-23 13:00:17 +00:00
|
|
|
}
|
2022-09-24 00:13:39 +00:00
|
|
|
|
2023-01-14 09:20:10 +00:00
|
|
|
.uoj-realname {
|
|
|
|
font-size: 90%;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
2023-02-01 13:30:36 +00:00
|
|
|
/* Headings */
|
|
|
|
|
2022-11-06 02:26:21 +00:00
|
|
|
h1,
|
|
|
|
.h1 {
|
|
|
|
/* font-size: 2.5rem; */
|
|
|
|
font-size: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2,
|
|
|
|
.h2 {
|
|
|
|
/* font-size: 2rem; */
|
|
|
|
font-size: 1.8rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3,
|
|
|
|
.h3 {
|
|
|
|
/* font-size: 1.75rem; */
|
|
|
|
font-size: 1.6rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h4,
|
|
|
|
.h4 {
|
|
|
|
/* font-size: 1.5rem; */
|
|
|
|
font-size: 1.4rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h5,
|
|
|
|
.h5 {
|
|
|
|
/* font-size: 1.25rem; */
|
|
|
|
font-size: 1.15rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h6,
|
|
|
|
.h6 {
|
|
|
|
font-size: 1rem;
|
|
|
|
}
|
|
|
|
|
2023-02-01 13:30:36 +00:00
|
|
|
/* Difficulty */
|
2022-09-24 00:13:39 +00:00
|
|
|
|
2022-12-04 09:27:16 +00:00
|
|
|
.uoj-difficulty {
|
|
|
|
font-size: 0.9em;
|
|
|
|
font-weight: bold;
|
2022-09-24 00:13:39 +00:00
|
|
|
}
|
|
|
|
|
2023-02-01 13:30:36 +00:00
|
|
|
/* Table */
|
|
|
|
|
2022-10-21 12:42:48 +00:00
|
|
|
.uoj-table > tbody > tr:last-child,
|
|
|
|
.uoj-table > tbody > tr:last-child > td {
|
2022-09-24 00:13:39 +00:00
|
|
|
border-bottom-color: transparent;
|
|
|
|
}
|
2022-09-24 02:18:55 +00:00
|
|
|
|
2022-10-21 12:42:48 +00:00
|
|
|
.uoj-table > thead > tr:first-child,
|
|
|
|
.uoj-table > thead > tr:first-child > td {
|
2022-10-08 06:05:30 +00:00
|
|
|
border-top-color: transparent;
|
|
|
|
}
|
|
|
|
|
2022-10-08 08:25:30 +00:00
|
|
|
.uoj-table > thead > tr > th:first-child,
|
|
|
|
.uoj-table > tbody > tr > td:first-child {
|
2022-10-08 06:05:30 +00:00
|
|
|
border-left-color: transparent;
|
2022-10-08 08:25:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.uoj-table > thead > tr > th:last-child,
|
|
|
|
.uoj-table > tbody > tr > td:last-child {
|
2022-10-08 06:05:30 +00:00
|
|
|
border-right-color: transparent;
|
|
|
|
}
|
|
|
|
|
2023-02-01 13:30:36 +00:00
|
|
|
/* Click zan */
|
|
|
|
|
2022-09-24 02:18:55 +00:00
|
|
|
.uoj-click-zan-block {
|
|
|
|
display: inline-block;
|
2022-10-03 12:47:32 +00:00
|
|
|
min-width: 100px;
|
|
|
|
text-align: center;
|
|
|
|
font-size: 0.9em;
|
|
|
|
}
|
|
|
|
|
2022-09-24 13:19:48 +00:00
|
|
|
.uoj-click-zan-up,
|
|
|
|
.uoj-click-zan-down,
|
|
|
|
.uoj-click-zan-cnt {
|
2022-09-24 02:18:55 +00:00
|
|
|
margin-left: 5px;
|
|
|
|
margin-right: 5px;
|
2023-02-24 09:27:05 +00:00
|
|
|
}
|
|
|
|
|
2023-02-26 07:04:24 +00:00
|
|
|
.uoj-click-zan-cnt,
|
|
|
|
.uoj-click-zan-cnt-inline {
|
|
|
|
pointer-events: none;
|
2022-09-24 02:18:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.uoj-click-zan-block-cur-up .uoj-click-zan-up {
|
|
|
|
color: green;
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
.uoj-click-zan-block-cur-down .uoj-click-zan-down {
|
|
|
|
color: red;
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
2022-09-24 13:19:48 +00:00
|
|
|
.uoj-click-zan-block-cur-down .uoj-click-zan-up,
|
|
|
|
.uoj-click-zan-block-cur-up .uoj-click-zan-down {
|
2022-09-24 02:18:55 +00:00
|
|
|
color: gray;
|
|
|
|
}
|
|
|
|
|
|
|
|
.uoj-click-zan-block-positive .uoj-click-zan-cnt {
|
|
|
|
color: green;
|
|
|
|
}
|
|
|
|
.uoj-click-zan-block-neutral .uoj-click-zan-cnt {
|
|
|
|
color: gray;
|
|
|
|
}
|
|
|
|
.uoj-click-zan-block-negative .uoj-click-zan-cnt {
|
|
|
|
color: red;
|
|
|
|
}
|
2022-09-24 13:19:48 +00:00
|
|
|
|
2023-02-01 13:30:36 +00:00
|
|
|
/* Submission details */
|
|
|
|
|
2022-09-24 13:19:48 +00:00
|
|
|
.uoj-submission-result-item {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2022-09-29 03:57:02 +00:00
|
|
|
.uoj-status-text {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2023-02-07 23:09:42 +00:00
|
|
|
.uoj-submission-result-item.accordion-button:not(.collapsed)::after {
|
|
|
|
filter: grayscale(1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.uoj-submission-result-item.accordion-button:focus {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.uoj-status-accepted > .accordion-header > .accordion-button:hover,
|
|
|
|
.uoj-status-accepted > .accordion-header > .accordion-button:not(.collapsed),
|
|
|
|
.uoj-status-accepted
|
|
|
|
> .accordion-header
|
|
|
|
> .accordion-button
|
|
|
|
> div
|
|
|
|
> .uoj-status-text {
|
2022-09-24 13:19:48 +00:00
|
|
|
color: #25ad40;
|
|
|
|
}
|
|
|
|
|
2023-02-07 23:09:42 +00:00
|
|
|
.uoj-status-accepted > .accordion-header > .accordion-button:not(.collapsed) {
|
|
|
|
background-color: #25ad4020;
|
|
|
|
}
|
|
|
|
|
|
|
|
.uoj-status-acceptable-answer > .accordion-header > .accordion-button:hover,
|
|
|
|
.uoj-status-acceptable-answer
|
|
|
|
> .accordion-header
|
|
|
|
> .accordion-button:not(.collapsed),
|
|
|
|
.uoj-status-acceptable-answer
|
|
|
|
> .accordion-header
|
|
|
|
> .accordion-button
|
|
|
|
> div
|
|
|
|
> .uoj-status-text {
|
2022-09-24 13:19:48 +00:00
|
|
|
color: #01bab2;
|
|
|
|
}
|
|
|
|
|
2023-02-07 23:09:42 +00:00
|
|
|
.uoj-status-acceptable-answer
|
|
|
|
> .accordion-header
|
|
|
|
> .accordion-button:not(.collapsed) {
|
|
|
|
background-color: #01bab220;
|
|
|
|
}
|
|
|
|
|
|
|
|
.uoj-status-tle > .accordion-header > .accordion-button:hover,
|
2023-02-08 00:02:58 +00:00
|
|
|
.uoj-status-tle > .accordion-header > .accordion-button:not(.collapsed),
|
2023-02-07 23:09:42 +00:00
|
|
|
.uoj-status-tle
|
|
|
|
> .accordion-header
|
|
|
|
> .accordion-button
|
|
|
|
> div
|
|
|
|
> .uoj-status-text {
|
2023-01-14 09:20:10 +00:00
|
|
|
color: #f4a460;
|
2022-09-24 13:19:48 +00:00
|
|
|
}
|
|
|
|
|
2023-02-07 23:09:42 +00:00
|
|
|
.uoj-status-tle > .accordion-header > .accordion-button:not(.collapsed) {
|
|
|
|
background-color: #f4a46020;
|
|
|
|
}
|
|
|
|
|
|
|
|
.uoj-status-wrong > .accordion-header > .accordion-button:hover,
|
|
|
|
.uoj-status-wrong > .accordion-header > .accordion-button:not(.collapsed),
|
|
|
|
.uoj-status-wrong
|
|
|
|
> .accordion-header
|
|
|
|
> .accordion-button
|
|
|
|
> div
|
|
|
|
> .uoj-status-text {
|
2022-09-24 13:19:48 +00:00
|
|
|
color: #ff4f4f;
|
|
|
|
}
|
2022-09-26 04:48:50 +00:00
|
|
|
|
2023-02-07 23:09:42 +00:00
|
|
|
.uoj-status-wrong > .accordion-header > .accordion-button:not(.collapsed) {
|
|
|
|
background-color: #ff4f4f20;
|
|
|
|
}
|
|
|
|
|
|
|
|
.uoj-subtask-test-item.accordion:not(.accordion-flush) .accordion-item {
|
|
|
|
border-left: var(--bs-accordion-border-width) solid
|
|
|
|
var(--bs-accordion-border-color);
|
|
|
|
border-right: var(--bs-accordion-border-width) solid
|
|
|
|
var(--bs-accordion-border-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.uoj-subtask-test-item.accordion:not(.accordion-flush)
|
|
|
|
.accordion-item:first-child {
|
|
|
|
border-top: var(--bs-accordion-border-width) solid
|
|
|
|
var(--bs-accordion-border-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.uoj-subtask-test-item.accordion:not(.accordion-flush)
|
|
|
|
.accordion-item:last-child {
|
|
|
|
border-bottom: var(--bs-accordion-border-width) solid
|
|
|
|
var(--bs-accordion-border-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.uoj-subtask-test-item.accordion:not(.accordion-flush)
|
|
|
|
.accordion-item:first-of-type,
|
|
|
|
.uoj-subtask-test-item.accordion:not(.accordion-flush)
|
|
|
|
.accordion-item:first-of-type
|
|
|
|
.accordion-button {
|
|
|
|
border-top-left-radius: var(--bs-accordion-border-radius);
|
|
|
|
border-top-right-radius: var(--bs-accordion-border-radius);
|
|
|
|
}
|
|
|
|
|
|
|
|
.uoj-subtask-test-item.accordion:not(.accordion-flush)
|
|
|
|
.accordion-item:last-of-type,
|
|
|
|
.uoj-subtask-test-item.accordion:not(.accordion-flush)
|
|
|
|
.accordion-item:last-of-type
|
|
|
|
.accordion-button {
|
|
|
|
border-bottom-left-radius: var(--bs-accordion-border-radius);
|
|
|
|
border-bottom-right-radius: var(--bs-accordion-border-radius);
|
|
|
|
}
|
|
|
|
|
|
|
|
.accordion-button.no-collapse::after {
|
|
|
|
content: unset;
|
|
|
|
}
|
|
|
|
|
2023-02-01 13:30:36 +00:00
|
|
|
/* Markdown */
|
|
|
|
|
2022-09-25 10:28:43 +00:00
|
|
|
.markdown-body h1 {
|
|
|
|
font-size: 2em;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.markdown-body h2 {
|
2022-09-26 06:48:12 +00:00
|
|
|
font-size: 1.75em;
|
2022-09-25 10:28:43 +00:00
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.markdown-body h3 {
|
2022-09-26 06:48:12 +00:00
|
|
|
font-size: 1.5em;
|
2022-09-25 10:28:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.markdown-body h4 {
|
2022-09-26 06:48:12 +00:00
|
|
|
font-size: 1.25em;
|
2022-09-25 10:28:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.markdown-body h5 {
|
2022-09-26 06:48:12 +00:00
|
|
|
font-size: 1em;
|
|
|
|
font-weight: bold;
|
2022-09-25 10:28:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.markdown-body h6 {
|
2022-09-26 06:48:12 +00:00
|
|
|
font-size: 0.9em;
|
|
|
|
font-weight: bold;
|
2022-09-25 10:28:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.markdown-body img {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.markdown-body pre {
|
|
|
|
padding: 1em;
|
2023-02-23 10:28:20 +00:00
|
|
|
background-color: var(--bs-tertiary-bg);
|
2022-09-25 10:28:43 +00:00
|
|
|
}
|
2022-09-27 07:01:55 +00:00
|
|
|
|
|
|
|
.markdown-body table th[align='left'] {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.markdown-body table th[align='center'] {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.markdown-body table th[align='right'] {
|
|
|
|
text-align: right;
|
|
|
|
}
|
2022-09-28 11:48:49 +00:00
|
|
|
|
2022-09-29 03:52:33 +00:00
|
|
|
.markdown-body blockquote {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0 1em;
|
|
|
|
color: #57606a;
|
|
|
|
border-left: 0.25em solid #d0d7de;
|
|
|
|
}
|
|
|
|
|
2023-01-29 13:52:28 +00:00
|
|
|
.markdown-body ol,
|
|
|
|
.markdown-body ul {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
2023-02-01 13:30:36 +00:00
|
|
|
/* PDF */
|
|
|
|
|
2023-01-30 12:27:53 +00:00
|
|
|
.pdf-page-canvas {
|
2023-02-02 03:19:35 +00:00
|
|
|
/* min-width: 100%; */
|
|
|
|
max-width: 100%;
|
2023-01-30 12:27:53 +00:00
|
|
|
}
|
|
|
|
|
2023-02-01 13:30:36 +00:00
|
|
|
/* Form */
|
2022-09-28 11:48:49 +00:00
|
|
|
|
2023-02-04 12:20:36 +00:00
|
|
|
form {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2022-09-28 11:48:49 +00:00
|
|
|
form.form-horizontal {
|
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
|
|
|
|
2023-02-01 13:30:36 +00:00
|
|
|
.form-group {
|
|
|
|
margin-bottom: 1rem;
|
2022-09-28 11:48:49 +00:00
|
|
|
}
|
|
|
|
|
2023-02-07 05:34:24 +00:00
|
|
|
.form-control:focus,
|
|
|
|
.form-check-input:focus,
|
|
|
|
.form-select:focus {
|
|
|
|
box-shadow: 0 0 0 0.125rem rgb(13 110 253 / 25%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.accordion {
|
|
|
|
--bs-accordion-btn-focus-box-shadow: 0 0 0 0.125rem rgb(13 110 253 / 25%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
--bs-btn-focus-box-shadow: 0 0 0 0.125rem rgb(13 110 253 / 25%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.pagination {
|
2023-02-07 11:59:21 +00:00
|
|
|
--bs-pagination-focus-box-shadow: 0 0 0 0.125rem rgb(13 110 253 / 25%);
|
2022-09-28 11:48:49 +00:00
|
|
|
}
|
|
|
|
|
2023-02-01 13:30:36 +00:00
|
|
|
/* User accepted problems list */
|
2022-09-28 11:48:49 +00:00
|
|
|
|
2022-09-29 00:12:03 +00:00
|
|
|
@media (max-width: 767px) {
|
|
|
|
.uoj-ac-problems-list li {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 768px) {
|
|
|
|
.uoj-ac-problems-list li {
|
|
|
|
width: 18em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.uoj-ac-problems-list {
|
|
|
|
padding-top: 10px;
|
|
|
|
padding-bottom: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.uoj-ac-problems-list a {
|
|
|
|
min-height: 60px;
|
|
|
|
}
|
2022-09-29 02:20:12 +00:00
|
|
|
|
|
|
|
.uoj-ac-problems-list-item:hover {
|
|
|
|
color: var(--bs-nav-link-color) !important;
|
|
|
|
background-color: #eeeeee70;
|
|
|
|
}
|
2022-09-29 14:02:56 +00:00
|
|
|
|
|
|
|
/* Comments */
|
|
|
|
|
2023-02-01 13:30:36 +00:00
|
|
|
.comment-content {
|
|
|
|
min-height: 50px;
|
2022-09-29 14:02:56 +00:00
|
|
|
}
|
|
|
|
|
2023-02-01 13:30:36 +00:00
|
|
|
/* Standing table */
|
2022-10-04 06:06:03 +00:00
|
|
|
|
|
|
|
.uoj-standings-table tr td:first-child,
|
|
|
|
.uoj-standings-table tr th:first-child {
|
|
|
|
border-left-width: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.uoj-standings-table tr td:last-child,
|
|
|
|
.uoj-standings-table tr th:last-child {
|
|
|
|
border-right-width: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.uoj-standings-table > thead > tr:first-child {
|
|
|
|
border-top-width: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.uoj-standings-table > tbody > tr:last-child {
|
|
|
|
border-bottom-width: 0px;
|
|
|
|
}
|
2022-11-06 02:26:21 +00:00
|
|
|
|
|
|
|
/* Timeline */
|
|
|
|
|
|
|
|
.list-group.timeline {
|
|
|
|
margin: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 768px) {
|
|
|
|
.list-group.timeline {
|
|
|
|
display: block;
|
|
|
|
max-width: 90%;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.list-group.timeline:before {
|
|
|
|
content: ' ';
|
|
|
|
background: rgba(var(--bs-secondary-rgb), 0.35);
|
|
|
|
display: inline-block;
|
|
|
|
position: absolute;
|
|
|
|
left: -17.5px;
|
|
|
|
width: 2px;
|
|
|
|
height: 100%;
|
|
|
|
z-index: 400;
|
|
|
|
}
|
|
|
|
|
|
|
|
.list-group.timeline > .list-group-item:before {
|
|
|
|
content: ' ';
|
|
|
|
background: white;
|
|
|
|
display: inline-block;
|
|
|
|
position: absolute;
|
|
|
|
border-radius: 50%;
|
|
|
|
border: 3px solid var(--bs-info);
|
|
|
|
left: -25px;
|
|
|
|
width: 15px;
|
|
|
|
height: 15px;
|
|
|
|
z-index: 500;
|
|
|
|
}
|
|
|
|
}
|
2022-11-07 12:42:40 +00:00
|
|
|
|
2023-02-01 13:30:36 +00:00
|
|
|
/* Back button */
|
|
|
|
|
2022-11-11 00:20:33 +00:00
|
|
|
.uoj-back-btn {
|
|
|
|
--bs-btn-hover-bg: #d3d4d570;
|
|
|
|
--bs-btn-hover-border-color: transparent;
|
|
|
|
}
|
2023-01-18 08:20:12 +00:00
|
|
|
|
2023-02-01 13:30:36 +00:00
|
|
|
/* Remote Content */
|
|
|
|
|
2023-01-18 08:20:12 +00:00
|
|
|
.remote-content center > img + span {
|
|
|
|
display: block;
|
2023-01-29 13:52:28 +00:00
|
|
|
font-size: 90%;
|
2023-01-18 08:20:12 +00:00
|
|
|
}
|
2023-02-02 02:29:29 +00:00
|
|
|
|
|
|
|
/* Dropzone Form */
|
|
|
|
|
|
|
|
.dropzone .dz-preview.dz-file-preview .dz-image {
|
|
|
|
background: #e9ecef !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropzone .dz-preview .dz-progress {
|
|
|
|
height: 6px !important;
|
|
|
|
}
|
2023-02-15 08:46:47 +00:00
|
|
|
|
|
|
|
/* Utils */
|
|
|
|
|
|
|
|
.overflow-wrap-normal {
|
|
|
|
overflow-wrap: normal !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.white-space-pre {
|
|
|
|
white-space: pre !important;
|
|
|
|
}
|
2023-02-16 07:10:24 +00:00
|
|
|
|
|
|
|
/* Contest Nav */
|
|
|
|
|
|
|
|
.uoj-content.container-fluid .uoj-contest-nav {
|
|
|
|
padding-left: 0.75rem !important;
|
|
|
|
padding-right: 0.75rem !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 1200px) {
|
|
|
|
.uoj-content.container-fluid .uoj-contest-nav {
|
|
|
|
padding-left: 0 !important;
|
|
|
|
padding-right: 0 !important;
|
|
|
|
}
|
|
|
|
}
|
2023-02-17 08:50:32 +00:00
|
|
|
|
2023-02-18 02:18:05 +00:00
|
|
|
/* Submissions List */
|
|
|
|
|
|
|
|
.uoj-accepted-badge {
|
|
|
|
background-color: rgb(20 184 48) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.uoj-unaccepted-badge {
|
|
|
|
background-color: rgb(219 53 53) !important;
|
|
|
|
}
|
|
|
|
|
2023-02-17 08:50:32 +00:00
|
|
|
/* Submission Page */
|
|
|
|
|
|
|
|
.submission-layout {
|
|
|
|
/* display: grid; */
|
2023-02-17 09:02:23 +00:00
|
|
|
grid-template-columns: 70% 30%;
|
2023-02-17 08:50:32 +00:00
|
|
|
grid-template-rows: auto 1fr;
|
|
|
|
}
|
|
|
|
|
2023-02-17 09:02:23 +00:00
|
|
|
@media (min-width: 992px) {
|
|
|
|
.submission-layout {
|
|
|
|
grid-template-columns: 75% 25%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-02-17 08:50:32 +00:00
|
|
|
.submission-left-col {
|
|
|
|
grid-column: 1;
|
|
|
|
grid-row: 1 / span 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.submission-right-col {
|
|
|
|
grid-column: 2;
|
|
|
|
grid-row: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.submission-right-control-panel {
|
|
|
|
grid-column: 2;
|
|
|
|
grid-row: 2;
|
|
|
|
}
|
2023-02-23 11:46:33 +00:00
|
|
|
|
|
|
|
/* Username color */
|
|
|
|
|
2023-02-23 12:22:49 +00:00
|
|
|
.uoj-username,
|
2023-02-23 11:46:33 +00:00
|
|
|
.uoj-username-blue {
|
2023-02-23 12:22:49 +00:00
|
|
|
color: #1e88e5;
|
2023-02-23 11:46:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.uoj-username-green {
|
|
|
|
color: #2da44e;
|
|
|
|
}
|
|
|
|
|
|
|
|
.uoj-username-pink {
|
|
|
|
color: #e85aad;
|
|
|
|
}
|
|
|
|
|
|
|
|
.uoj-username-red {
|
|
|
|
color: #f32a38;
|
|
|
|
}
|
|
|
|
|
|
|
|
.uoj-username-orange {
|
|
|
|
color: #f57c00;
|
|
|
|
}
|
|
|
|
|
|
|
|
.uoj-username-cyan {
|
|
|
|
color: #00acc1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.uoj-username-purple {
|
|
|
|
color: #9d3dcf;
|
|
|
|
}
|
|
|
|
|
|
|
|
.uoj-username-gray {
|
|
|
|
color: #707070;
|
|
|
|
}
|
|
|
|
|
|
|
|
.uoj-username-brown {
|
|
|
|
color: #996600;
|
|
|
|
}
|
2023-02-23 12:22:49 +00:00
|
|
|
|
|
|
|
/* Dark: Username color */
|
|
|
|
|
|
|
|
[data-bs-theme='dark'] .uoj-username,
|
|
|
|
[data-bs-theme='dark'] .uoj-username-blue {
|
|
|
|
color: #218bff;
|
|
|
|
}
|
|
|
|
|
|
|
|
[data-bs-theme='green'] .uoj-username-green {
|
|
|
|
color: #19a140;
|
|
|
|
}
|
|
|
|
|
|
|
|
[data-bs-theme='dark'] .uoj-username-pink {
|
|
|
|
color: #bf3989;
|
|
|
|
}
|
|
|
|
|
|
|
|
[data-bs-theme='dark'] .uoj-username-red {
|
|
|
|
color: #cf222e;
|
|
|
|
}
|
|
|
|
|
|
|
|
[data-bs-theme='dark'] .uoj-username-orange {
|
|
|
|
color: #e16f24;
|
|
|
|
}
|
|
|
|
|
|
|
|
[data-bs-theme='dark'] .uoj-username-cyan {
|
|
|
|
color: #00acc1;
|
|
|
|
}
|
|
|
|
|
|
|
|
[data-bs-theme='dark'] .uoj-username-purple {
|
|
|
|
color: #9366e5;
|
|
|
|
}
|
|
|
|
|
|
|
|
[data-bs-theme='dark'] .uoj-username-gray {
|
|
|
|
color: #8c959f;
|
|
|
|
}
|
|
|
|
|
|
|
|
[data-bs-theme='dark'] .uoj-username-brown {
|
|
|
|
color: #996f1c;
|
|
|
|
}
|