Clean up CSS and update default styles

Normalize formatting across CSS files and fix selector whitespace
and quote usage. Change default link color to browser blue and
enable smooth scrolling; hover underlines links. Revamp table
styles (borders, caption, zebra rows, padding, footer alignment).
Adjust proof/theorem header spacing and minor spacing/padding fixes.
This commit is contained in:
2026-03-30 10:42:25 +08:00
parent 3652459503
commit aa05d73c9c
3 changed files with 150 additions and 191 deletions

View File

@@ -1,90 +1,103 @@
.theorem-environment {
font-style: italic;
margin-top: 1em;
padding: 0.5em;
background-color: whitesmoke;
font-style: italic;
margin-top: 1em;
padding: 0.5em;
background-color: whitesmoke;
}
.theorem-header {
font-weight: bold;
font-style: normal;
font-weight: bold;
font-style: normal;
}
.theorem-header .index:before {
content: ' ';
content: " ";
}
.theorem-header .name:before {
content: ' (';
content: " (";
}
.theorem-header .name:after {
content: ')';
content: ")";
}
.theorem-header:after {
content: '.\2002\2002';
content: ".\2002\2002";
}
.theorem-header+p {
display: inline;
.theorem-header + p {
display: inline;
}
.Proof .type {
font-style: italic;
font-weight: normal;
font-style: italic;
font-weight: normal;
}
.Proof {
background: none;
font-style: normal;
position: relative;
background: none;
font-style: normal;
position: relative;
}
.Proof:after {
content: '∎';
position: absolute;
right: 0px;
bottom: 0px;
content: "∎";
position: absolute;
right: 0px;
bottom: 0px;
}
.Proof span.theorem-header span.name {
font-weight: normal;
font-style: italic;
}
.Proof span.theorem-header span.name:before {
content: " ";
}
.Proof span.theorem-header span.name:after {
content: " ";
}
table.postindex {
width: 100%;
width: 100%;
}
table.postindex cite {
font-style: normal;
font-style: normal;
}
table.postindex td.right {
text-align: right;
width: 11ex;
text-align: right;
width: 11ex;
}
.header-section-number {
margin-right: 10px;
margin-right: 10px;
}
.header-section-number:after {
content: '.';
content: ".";
}
.csl-entry {
display: table;
width: 100%;
table-layout: auto;
display: table;
width: 100%;
table-layout: auto;
}
.csl-left-margin {
display: table-cell;
padding-right: 0.5em;
white-space: nowrap;
width: 1px;
display: table-cell;
padding-right: 0.5em;
white-space: nowrap;
width: 1px;
}
.csl-right-inline {
display: table-cell;
display: table-cell;
}
.csl-right-inline a {
word-break: break-all;
}
.csl-right-inline a{
word-break: break-all;
}