算法评测平台前端。
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.

308 lines
5.9 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
{
font-family:
Lato,
-apple-system,
'PingFang SC',/* Apple */
'Source Han Sans SC',
7 years ago
'Noto Sans CJK SC', /* Google */
'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 {
font-family: 'Open Sans', 'Source Han Sans SC', 'Noto Sans CJK SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft Yahei', sans-serif;
}
.markdown-edit {
font-family: 'Fira Mono', 'Noto Sans CJK SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft Yahei', monospace;
}
.padding {
padding-left: 1em;
padding-right: 1em;
}
.ui.segment:first-child {
margin-top: 0;
}
.ui.segment:last-child {
margin-bottom: 3px;
}
.hljs {
background: #FFF !important;
}
.ui.footer.segment {
margin: 2em 0em 0em;
padding: 1em 0em;
border: none;
}
th {
white-space: nowrap;
}
pre {
tab-size: 4;
overflow: auto;
}
8 years ago
img {
max-width: 100%;
}
8 years ago
table.center.aligned ul, table.center.aligned ol {
display: inline-block;
text-align: left;
}
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,
: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 {
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 {
color: red;
}
: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,
.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 {
color: darkorchid;
}
: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 {
color: sandybrown;
}
:not(.status_detail).status.waiting,
.title:hover .status_detail.status.waiting,
.title.active .status_detail.status.waiting,
:not(.status_detail).status.system_error {
color: grey;
}
:not(.status_detail).status.running,
.title:hover .status_detail.status.running,
.title.active .status_detail.status.running {
color: #6cf;
}
: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 {
color: #FF5722;
}
:not(.status_detail).status.skipped,
.title:hover .status_detail.status.skipped,
.title.active .status_detail.status.skipped {
color: #78909C;
}
:not(.status_detail).status.compiling {
color: #00b5ad;
}
:not(.status_detail).status.no_testdata {
color: brown;
}
8 years ago
:not(.status_detail).status.compile_error {
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;
}
7 years ago
.rating_up {
color: #dd4b39;
}
.rating_down {
color: #3d9400;
}
/* code tag */
:not(pre) > code {
background-color: rgba(0, 0, 0, 0.08);
border-radius: 3px;
display: inline-block;
font-size: 0.9em;
font-weight: bold;
padding: 1px 6px;
vertical-align: baseline;
color: #444;
}
code {
font-family: "Fira Mono","Monaco","Menlo","Ubuntu Mono","Consolas","source-code-pro",monospace;
}
/* Animated spinner */
@keyframes spinner-icon-rotate {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
8 years ago
.spinner.icon:before {
animation: spinner-icon-rotate 3s linear infinite;
8 years ago
display: block;
}
::-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;
}
.ui.selection.dropdown .menu>.item {
padding-left: 0.8rem !important;
padding-right: 0 !important;
}