You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
315 lines
6.1 KiB
315 lines
6.1 KiB
7 years ago
|
.ui.header,
|
||
|
.ui.button,
|
||
|
.ui.input input,
|
||
|
.ui.menu,
|
||
|
.ui.form input:not([type]),
|
||
|
.ui.form input[type=date],
|
||
|
.ui.form input[type=datetime-local],
|
||
|
.ui.form input[type=email],
|
||
|
.ui.form input[type=file],
|
||
|
.ui.form input[type=number],
|
||
|
.ui.form input[type=password],
|
||
|
.ui.form input[type=search],
|
||
|
.ui.form input[type=tel],
|
||
|
.ui.form input[type=text],
|
||
|
.ui.form input[type=time],
|
||
|
.ui.form input[type=url],
|
||
|
h1,
|
||
|
h2,
|
||
|
h3,
|
||
|
h4,
|
||
|
h5,
|
||
|
body
|
||
|
{
|
||
6 years ago
|
font-family:
|
||
6 years ago
|
Lato,
|
||
6 years ago
|
-apple-system,
|
||
|
'PingFang SC',/* Apple */
|
||
|
'Source Han Sans SC',
|
||
7 years ago
|
'Noto Sans CJK SC', /* Google */
|
||
6 years ago
|
'Microsoft Yahei',
|
||
|
'Lantinghei SC',
|
||
|
'Hiragino Sans GB',
|
||
7 years ago
|
'Microsoft Sans Serif', /* M$ */
|
||
|
'WenQuanYi Micro Hei', /* *nix */
|
||
|
sans-serif;
|
||
|
}
|
||
|
|
||
6 years ago
|
a.black-link {
|
||
|
color: #000;
|
||
|
}
|
||
|
|
||
|
a.black-link:hover {
|
||
|
color: #4183c4;
|
||
7 years ago
|
}
|
||
|
|
||
8 years ago
|
.font-content {
|
||
8 years ago
|
font-family: 'Open Sans', 'Source Han Sans SC', 'Noto Sans CJK SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft Yahei', sans-serif;
|
||
8 years ago
|
}
|
||
|
|
||
6 years ago
|
.markdown-edit {
|
||
|
font-family: 'Fira Mono', 'Noto Sans CJK SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft Yahei', monospace;
|
||
|
}
|
||
|
|
||
8 years ago
|
.padding {
|
||
8 years ago
|
padding-left: 1em;
|
||
|
padding-right: 1em;
|
||
8 years ago
|
}
|
||
|
|
||
|
.ui.segment:first-child {
|
||
|
margin-top: 0;
|
||
|
}
|
||
|
|
||
7 years ago
|
.ui.segment:last-child {
|
||
|
margin-bottom: 3px;
|
||
|
}
|
||
|
|
||
8 years ago
|
.hljs {
|
||
|
background: #FFF !important;
|
||
|
}
|
||
|
|
||
|
.ui.footer.segment {
|
||
|
margin: 2em 0em 0em;
|
||
|
padding: 1em 0em;
|
||
|
border: none;
|
||
|
}
|
||
|
|
||
|
th {
|
||
|
white-space: nowrap;
|
||
|
}
|
||
|
|
||
8 years ago
|
pre {
|
||
|
tab-size: 4;
|
||
6 years ago
|
overflow: auto;
|
||
8 years ago
|
}
|
||
|
|
||
8 years ago
|
img {
|
||
|
max-width: 100%;
|
||
|
}
|
||
|
|
||
8 years ago
|
table.center.aligned ul, table.center.aligned ol {
|
||
|
display: inline-block;
|
||
|
text-align: left;
|
||
|
}
|
||
|
|
||
7 years ago
|
body > .ui.page.dimmer {
|
||
|
position: fixed !important;
|
||
|
}
|
||
|
|
||
7 years ago
|
:not(.status_detail).status.success,
|
||
|
.title:hover .status_detail.status.success,
|
||
|
.title.active .status_detail.status.success,
|
||
7 years ago
|
:not(.status_detail).status.submitted,
|
||
|
.title:hover .status_detail.status.submitted,
|
||
|
.title.active .status_detail.status.submitted,
|
||
8 years ago
|
:not(.status_detail).status.accepted,
|
||
|
.title:hover .status_detail.status.accepted,
|
||
8 years ago
|
.title.active .status_detail.status.accepted {
|
||
8 years ago
|
color: forestgreen;
|
||
|
}
|
||
|
|
||
8 years ago
|
:not(.status_detail).status.wrong_answer,
|
||
|
.title:hover .status_detail.status.wrong_answer,
|
||
|
.title.active .status_detail.status.wrong_answer {
|
||
8 years ago
|
color: red;
|
||
|
}
|
||
|
|
||
7 years ago
|
:not(.status_detail).status.invalid_interaction,
|
||
|
.title:hover .status_detail.status.invalid_interaction,
|
||
|
.title.active .status_detail.status.invalid_interaction,
|
||
8 years ago
|
:not(.status_detail).status.runtime_error,
|
||
|
.title:hover .status_detail.status.runtime_error,
|
||
8 years ago
|
.title.active .status_detail.status.runtime_error,
|
||
|
:not(.status_detail).status.file_error,
|
||
|
.title:hover .status_detail.status.file_error,
|
||
|
.title.active .status_detail.status.file_error {
|
||
8 years ago
|
color: darkorchid;
|
||
|
}
|
||
|
|
||
8 years ago
|
:not(.status_detail).status.memory_limit_exceeded,
|
||
|
.title:hover .status_detail.status.memory_limit_exceeded,
|
||
|
.title.active .status_detail.status.memory_limit_exceeded,
|
||
|
:not(.status_detail).status.time_limit_exceeded,
|
||
|
.title:hover .status_detail.status.time_limit_exceeded,
|
||
|
.title.active .status_detail.status.time_limit_exceeded,
|
||
|
:not(.status_detail).status.output_limit_exceeded,
|
||
|
.title:hover .status_detail.status.output_limit_exceeded,
|
||
|
.title.active .status_detail.status.output_limit_exceeded {
|
||
8 years ago
|
color: sandybrown;
|
||
|
}
|
||
|
|
||
8 years ago
|
:not(.status_detail).status.waiting,
|
||
|
.title:hover .status_detail.status.waiting,
|
||
|
.title.active .status_detail.status.waiting,
|
||
|
:not(.status_detail).status.system_error {
|
||
8 years ago
|
color: grey;
|
||
|
}
|
||
|
|
||
6 years ago
|
:not(.status_detail).status.unknown {
|
||
|
color: #e28989;
|
||
|
}
|
||
|
|
||
8 years ago
|
:not(.status_detail).status.running,
|
||
|
.title:hover .status_detail.status.running,
|
||
6 years ago
|
.title.active .status_detail.status.running,
|
||
|
:not(.status_detail).status.pending,
|
||
|
.title:hover .status_detail.status.pending,
|
||
|
.title.active .status_detail.status.pending,
|
||
|
:not(.status_detail).status.judging,
|
||
|
.title:hover .status_detail.status.judging,
|
||
|
.title.active .status_detail.status.judging {
|
||
8 years ago
|
color: #6cf;
|
||
|
}
|
||
|
|
||
8 years ago
|
:not(.status_detail).status.partially_correct,
|
||
|
.title:hover .status_detail.status.partially_correct,
|
||
|
.title.active .status_detail.status.partially_correct {
|
||
|
color: #01bab2;
|
||
|
}
|
||
|
|
||
|
:not(.status_detail).status.judgement_failed,
|
||
|
.title:hover .status_detail.status.judgement_failed,
|
||
|
.title.active .status_detail.status.judgement_failed {
|
||
7 years ago
|
color: #FF5722;
|
||
8 years ago
|
}
|
||
|
|
||
7 years ago
|
:not(.status_detail).status.skipped,
|
||
|
.title:hover .status_detail.status.skipped,
|
||
|
.title.active .status_detail.status.skipped {
|
||
7 years ago
|
color: #78909C;
|
||
7 years ago
|
}
|
||
|
|
||
8 years ago
|
:not(.status_detail).status.compiling {
|
||
|
color: #00b5ad;
|
||
|
}
|
||
|
|
||
|
:not(.status_detail).status.no_testdata {
|
||
|
color: brown;
|
||
|
}
|
||
|
|
||
8 years ago
|
:not(.status_detail).status.compile_error {
|
||
8 years ago
|
color: rgb(0, 68, 136);
|
||
|
}
|
||
|
|
||
|
/* score color */
|
||
|
.score_0 {
|
||
|
color: red;
|
||
|
}
|
||
|
|
||
|
.score_1 {
|
||
|
color: #ff4b00;
|
||
|
}
|
||
|
|
||
|
.score_2 {
|
||
|
color: #ff6200;
|
||
|
}
|
||
|
|
||
|
.score_3 {
|
||
|
color: #ffa900;
|
||
|
}
|
||
|
|
||
|
.score_4 {
|
||
|
color: #ffd800;
|
||
|
}
|
||
|
|
||
|
.score_5 {
|
||
|
color: #c8ff00;
|
||
|
}
|
||
|
|
||
|
.score_6 {
|
||
|
color: #a5ff00;
|
||
|
}
|
||
|
|
||
|
.score_7 {
|
||
|
color: #52ff00;
|
||
|
}
|
||
|
|
||
|
.score_8 {
|
||
|
color: #41f741;
|
||
|
}
|
||
|
|
||
|
.score_9 {
|
||
|
color: #34d034;
|
||
|
}
|
||
|
|
||
|
.score_10 {
|
||
|
color: forestgreen;
|
||
|
}
|
||
|
|
||
|
.score {
|
||
|
text-shadow: 0 0 0.1px;
|
||
|
}
|
||
8 years ago
|
|
||
7 years ago
|
.rating_up {
|
||
|
color: #dd4b39;
|
||
|
}
|
||
|
|
||
|
.rating_down {
|
||
|
color: #3d9400;
|
||
|
}
|
||
|
|
||
8 years ago
|
/* code tag */
|
||
|
:not(pre) > code {
|
||
7 years ago
|
display: inline-block;
|
||
6 years ago
|
font-size: 0.94em;
|
||
7 years ago
|
font-weight: bold;
|
||
6 years ago
|
padding: 0 1px;
|
||
|
vertical-align: bottom;
|
||
8 years ago
|
}
|
||
8 years ago
|
|
||
6 years ago
|
code {
|
||
|
font-family: "Fira Mono","Monaco","Menlo","Ubuntu Mono","Consolas","source-code-pro",monospace;
|
||
|
}
|
||
|
|
||
8 years ago
|
/* Animated spinner */
|
||
|
@keyframes spinner-icon-rotate {
|
||
|
0% {
|
||
|
transform: rotate(0deg);
|
||
|
}
|
||
|
100% {
|
||
|
transform: rotate(360deg);
|
||
|
}
|
||
|
}
|
||
|
|
||
8 years ago
|
.spinner.icon:before {
|
||
8 years ago
|
animation: spinner-icon-rotate 3s linear infinite;
|
||
8 years ago
|
display: block;
|
||
8 years ago
|
}
|
||
6 years ago
|
|
||
|
::-webkit-scrollbar {
|
||
|
-webkit-appearance: none;
|
||
|
width: 10px;
|
||
|
height: 10px;
|
||
|
}
|
||
|
|
||
|
::-webkit-scrollbar-track {
|
||
|
background: rgba(0, 0, 0, 0.1);
|
||
|
border-radius: 0px;
|
||
|
}
|
||
|
|
||
|
::-webkit-scrollbar-thumb {
|
||
|
cursor: pointer;
|
||
|
border-radius: 5px;
|
||
|
background: rgba(0, 0, 0, 0.25);
|
||
|
-webkit-transition: color 0.2s ease;
|
||
|
transition: color 0.2s ease;
|
||
|
}
|
||
|
|
||
|
::-webkit-scrollbar-thumb:window-inactive {
|
||
|
background: rgba(0, 0, 0, 0.15);
|
||
|
}
|
||
|
|
||
|
::-webkit-scrollbar-thumb:hover {
|
||
|
background: rgba(128, 135, 139, 0.8);
|
||
|
}
|
||
|
|
||
|
.ui.top.attached.block.header i.icon {
|
||
|
font-size: 1em;
|
||
|
vertical-align: initial;
|
||
|
}
|
||
6 years ago
|
|
||
|
.ui.selection.dropdown .menu>.item {
|
||
|
padding-left: 0.8rem !important;
|
||
|
padding-right: 0 !important;
|
||
|
}
|