mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-09 23:08:42 +00:00
114 lines
1.9 KiB
CSS
114 lines
1.9 KiB
CSS
/* S2OJ Bootstrap 5 Theme */
|
|
|
|
body {
|
|
overflow-y: scroll;
|
|
}
|
|
|
|
pre {
|
|
tab-size: 4;
|
|
}
|
|
|
|
.uoj-username,
|
|
.uoj-score {
|
|
font-weight: 800;
|
|
text-decoration: none;
|
|
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';
|
|
}
|
|
|
|
.form-group {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.form-inline .form-control {
|
|
display: inline-block;
|
|
width: auto;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.form-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
margin-right: -5px;
|
|
margin-left: -5px;
|
|
}
|
|
|
|
.form-row > .col {
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
}
|
|
|
|
label {
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.float-right {
|
|
float: right;
|
|
}
|
|
|
|
.uoj-table > tbody > tr:last-child {
|
|
border-bottom-color: transparent;
|
|
}
|
|
|
|
.uoj-click-zan-block {
|
|
display: inline-block;
|
|
min-width: 140px;
|
|
text-align: left;
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
.uoj-click-zan-up,
|
|
.uoj-click-zan-down,
|
|
.uoj-click-zan-cnt {
|
|
margin-left: 5px;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
.uoj-click-zan-block-cur-down .uoj-click-zan-up,
|
|
.uoj-click-zan-block-cur-up .uoj-click-zan-down {
|
|
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;
|
|
}
|
|
|
|
.uoj-submission-result-item {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.card-uoj-accepted .card-header:hover,
|
|
.card-uoj-accepted .uoj-status-text {
|
|
color: #25ad40;
|
|
}
|
|
|
|
.card-uoj-acceptable-answer .card-header:hover,
|
|
.card-uoj-acceptable-answer .uoj-status-text {
|
|
color: #01bab2;
|
|
}
|
|
|
|
.card-uoj-tle .card-header:hover,
|
|
.card-uoj-tle .uoj-status-text {
|
|
color: sandybrown;
|
|
}
|
|
|
|
.card-uoj-wrong .card-header:hover,
|
|
.card-uoj-wrong .uoj-status-text {
|
|
color: #ff4f4f;
|
|
}
|