.fa-svg svg {
fill: currentColor;
width: 1em;
height: 1em;
vertical-align: -0.125em;
display: inline-block;
}
#menu-bar .fa-svg,
#menu-bar .icon-button {
color: var(--fg);
opacity: 0.7;
}
#menu-bar .fa-svg:hover,
#menu-bar .icon-button:hover {
opacity: 1;
}
.nav-chapters .fa-svg,
.mobile-nav-chapters .fa-svg {
fill: var(--fg);
opacity: 0.7;
}
.nav-chapters:hover .fa-svg,
.mobile-nav-chapters:hover .fa-svg {
opacity: 1;
}
mjx-container {
color: inherit !important;
background: transparent !important;
}
mjx-container svg {
color: inherit !important;
}
.theorem,
.definition,
.lemma,
.proof,
.example,
.remark,
.assumption {
position: relative;
margin: 1.4em 0;
padding: 0.7em 1em 0.7em 1em;
background: rgba(0,0,0,0.03);
border-left: 3px solid #ccc;
overflow: visible;
}
.theorem-title,
.definition-title,
.lemma-title,
.proof-title,
.example-title,
.remark-title,
.assumption-title {
display: block;
font-size: 0.7em;
font-weight: 600;
letter-spacing: 0.08em;
text-transform: uppercase;
opacity: 0.55;
margin-bottom: 0.4em;
color: inherit;
}
.theorem { border-left-color: #7bafd4; background: rgba(123,175,212,0.08); }
.definition { border-left-color: #6aaa8a; background: rgba(106,170,138,0.08); }
.lemma { border-left-color: #999; background: rgba(0,0,0,0.04); }
.proof {
border-left: 3px dashed #aaa;
background: transparent;
}
.proof::after {
content: "∎";
position: absolute;
bottom: 0.2em;
right: 0.4em;
font-size: 1em;
opacity: 0.4;
}
.example { border-left-color: #c47a7a; background: rgba(196,122,122,0.07); }
.remark { border-left-color: #9b86c0; background: rgba(155,134,192,0.08); }
.assumption { border-left-color: #c8924a; background: rgba(200,146,74,0.08); }
.chapter li + li > ol.section {
display: block !important;
}
.chapter li {
flex-wrap: wrap;
}
ol.section {
padding-inline-start: 8px !important;
width: 100%;
}
ol.section .chapter-item a {
font-size: 0.875em;
opacity: 0.6;
}
ol.section .chapter-item a:hover,
ol.section .chapter-item a.active {
opacity: 1;
}
ol.section li.chapter-item {
margin-block-start: 0.15em;
}
.theorem p:first-of-type,
.definition p:first-of-type,
.lemma p:first-of-type,
.example p:first-of-type,
.assumption p:first-of-type,
.remark p:first-of-type {
margin-top: 0.5em;
}
.theorem p:last-of-type,
.definition p:last-of-type,
.lemma p:last-of-type,
.example p:last-of-type,
.assumption p:last-of-type,
.proof p:last-of-type,
.remark p:last-of-type {
margin-bottom: 0;
}