S2OJ/web/css/uoj-bs5.css

151 lines
2.4 KiB
CSS
Raw Normal View History

2022-09-24 00:13:39 +00:00
/* S2OJ Bootstrap 5 Theme */
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-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
.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;
}
2022-09-24 03:55:34 +00:00
.uoj-table > tbody > tr:last-child {
2022-09-24 00:13:39 +00:00
border-bottom-color: transparent;
}
2022-09-24 02:18:55 +00:00
.uoj-click-zan-block {
display: inline-block;
min-width: 140px;
text-align: left;
font-size: 0.9em;
2022-09-24 02:18:55 +00:00
}
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;
}
.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
.uoj-submission-result-item {
cursor: pointer;
}
2022-09-26 04:48:50 +00:00
.card-uoj-accepted > .card-header:hover,
.card-uoj-accepted > div.card-header > div > .uoj-status-text {
2022-09-24 13:19:48 +00:00
color: #25ad40;
}
2022-09-26 04:48:50 +00:00
.card-uoj-acceptable-answer > .card-header:hover,
.card-uoj-acceptable-answer > div.card-header > div > .uoj-status-text {
2022-09-24 13:19:48 +00:00
color: #01bab2;
}
2022-09-26 04:48:50 +00:00
.card-uoj-tle > .card-header:hover,
.card-uoj-tle > div.card-header > div > .uoj-status-text {
2022-09-24 13:19:48 +00:00
color: sandybrown;
}
2022-09-26 04:48:50 +00:00
.card-uoj-wrong > .card-header:hover,
.card-uoj-wrong > div.card-header > div > .uoj-status-text {
2022-09-24 13:19:48 +00:00
color: #ff4f4f;
}
2022-09-26 04:48:50 +00:00
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;
background-color: rgba(var(--bs-light-rgb));
}