Files
Hakysidian/css/chao-theorems.css

131 lines
2.1 KiB
CSS
Raw Permalink Normal View History

2026-03-20 13:04:46 +08:00
.theorem-environment {
2026-03-22 12:36:46 +08:00
position: relative;
margin: 1.5rem 0;
padding: 1rem 1.25rem;
background-color: var(--color-surface);
border: 1px solid var(--color-border);
border-radius: 1rem;
box-shadow: var(--color-shadow-soft);
font-style: italic;
}
.theorem-environment > :first-child {
margin-top: 0;
}
.theorem-environment > :last-child {
margin-bottom: 0;
2026-03-20 13:04:46 +08:00
}
.theorem-header {
2026-03-22 12:36:46 +08:00
color: var(--color-text);
font-weight: 700;
font-style: normal;
2026-03-20 13:04:46 +08:00
}
.theorem-header .index:before {
2026-03-22 12:36:46 +08:00
content: " ";
2026-03-20 13:04:46 +08:00
}
.theorem-header .name:before {
2026-03-22 12:36:46 +08:00
content: " (";
2026-03-20 13:04:46 +08:00
}
.theorem-header .name:after {
2026-03-22 12:36:46 +08:00
content: ")";
2026-03-20 13:04:46 +08:00
}
.theorem-header:after {
2026-03-22 12:36:46 +08:00
content: ".\2002\2002";
2026-03-20 13:04:46 +08:00
}
2026-03-22 12:36:46 +08:00
.theorem-header + p {
display: inline;
2026-03-20 13:04:46 +08:00
}
2026-03-22 12:36:46 +08:00
.Proof {
padding-right: 2.5rem;
font-style: normal;
2026-03-20 13:04:46 +08:00
}
2026-03-22 12:36:46 +08:00
.Proof .type {
color: var(--color-linkh);
font-weight: 400;
font-style: italic;
2026-03-20 13:04:46 +08:00
}
.Proof:after {
2026-03-22 12:36:46 +08:00
content: "\220e";
position: absolute;
right: 1rem;
bottom: 0.85rem;
color: var(--color-tag1);
2026-03-20 13:04:46 +08:00
}
table.postindex {
2026-03-22 12:36:46 +08:00
width: 100%;
border: 0;
border-collapse: separate;
border-spacing: 0;
background: transparent;
box-shadow: none;
2026-03-20 13:04:46 +08:00
}
table.postindex cite {
2026-03-22 12:36:46 +08:00
font-style: normal;
}
table.postindex td {
padding: 0.65rem 0;
border: 0;
border-bottom: 1px solid var(--color-border);
background: transparent;
}
table.postindex tr:nth-child(even) td {
background: transparent;
}
table.postindex tr:last-child td {
border-bottom: 0;
2026-03-20 13:04:46 +08:00
}
table.postindex td.right {
2026-03-22 12:36:46 +08:00
width: 11ex;
color: var(--color-tag1);
text-align: right;
white-space: nowrap;
2026-03-20 13:04:46 +08:00
}
.header-section-number {
2026-03-22 12:36:46 +08:00
margin-right: 0.55rem;
color: var(--color-tag1);
2026-03-20 13:04:46 +08:00
}
.header-section-number:after {
2026-03-22 12:36:46 +08:00
content: ".";
2026-03-20 13:04:46 +08:00
}
.csl-entry {
2026-03-22 12:36:46 +08:00
display: table;
width: 100%;
margin-bottom: 0.75rem;
table-layout: auto;
2026-03-20 13:04:46 +08:00
}
.csl-left-margin {
2026-03-22 12:36:46 +08:00
display: table-cell;
width: 1px;
padding-right: 0.75em;
color: var(--color-tag1);
white-space: nowrap;
2026-03-20 13:04:46 +08:00
}
.csl-right-inline {
2026-03-22 12:36:46 +08:00
display: table-cell;
}
.csl-right-inline a {
word-break: break-all;
2026-03-20 13:04:46 +08:00
}