fix font inconsistencies on iPhone
| | |
| | | const closest = collection.reduce(function(prev, curr) { |
| | | return (Math.abs(curr - goal) < Math.abs(prev - goal) ? curr : prev); |
| | | }); |
| | | return closest |
| | | return closest; |
| | | } |
| | | |
| | | function hasClasses(el) { |
| | |
| | | const navHeight = nav.offsetHeight; |
| | | const docContent = elem('main'); |
| | | docContent.style.paddingTop = `${navHeight + 20}px`; |
| | | return navHeight + 20; |
| | | })(); |
| | | |
| | | (function markInlineCodeTags(){ |
| | |
| | | |
| | | body, html |
| | | scroll-behavior: smooth |
| | | font-kerning: normal |
| | | -webkit-text-size-adjust: 100% |
| | | |
| | | body |
| | | font-family: var(--font) |