- Refactored themes to always load with just a single file. This avoids a round trip on each request. - Locally load font when available on the system, then try to load the woff2 file, then fall back to regular woff. - Update markup to use relative urls where it is safe. RSS feeds still use absolute URLs. - Only set og:image:(height/width) when using the standard color icon. - Fixed styles on the pagination buttons. - Added ability to switch font to Source Code Pro (useSourceCodePro). - Added yellow theme. - Added grey theme. - Bold and remove underline for active page in header. - Removed markdownify on summary. - Only display date if present.
26 lines
718 B
CSS
26 lines
718 B
CSS
@font-face {
|
|
font-display: swap;
|
|
font-family: 'Fira Code';
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
src: local("Fira Code") url("/assets/fonts/FiraCode-Regular.woff2") format("woff2") url("/assets/fonts/FiraCode-Regular.woff") format("woff");
|
|
font-display: swap;
|
|
}
|
|
|
|
@font-face {
|
|
font-display: swap;
|
|
font-family: 'Fira Code';
|
|
font-style: normal;
|
|
font-weight: 700;
|
|
src: local("Fira Code") url("/assets/fonts/FiraCode-Bold.woff2") format("woff2") url("/assets/fonts/FiraCode-Bold.woff") format("woff");
|
|
font-display: swap;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Fira Code', Monaco, Consolas, Ubuntu Mono, monospace;
|
|
}
|
|
|
|
code,
|
|
kbd {
|
|
font-family: 'Fira Code', Monaco, Consolas, Ubuntu Mono, monospace !important;
|
|
} |