mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-22 02:48:40 +00:00
Improve main page (index.html) speed (#1577)
* Inline Font Awesome icons using SVG * Add license information header * Preload KaTeX fonts * Defer loading javascripts * Cleanup stylesheet links * Invoke startup script immediately * Fix typo * Add leading zeros
This commit is contained in:
@@ -236,3 +236,20 @@ b {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.svg-inline--fa {
|
||||
overflow: visible;
|
||||
display: inline-block;
|
||||
font-size: inherit;
|
||||
height: 1em;
|
||||
vertical-align: -0.125em;
|
||||
margin-right: 3px;
|
||||
}
|
||||
|
||||
.svg-inline--fa.fa-w-14 {
|
||||
width: 0.875em;
|
||||
}
|
||||
|
||||
.svg-inline--fa.fa-w-16 {
|
||||
width: 1em;
|
||||
}
|
||||
|
Reference in New Issue
Block a user