<link rel="apple-touch-icon" href="/logo_maskable.png">
<link rel="manifest" href="/manifest.webmanifest">
<style>
- @layer base, print;
+ @layer fonts, base, print;
+ @import "/fonts.css" layer(fonts);
@import "/style.css" layer(base);
@import "/print.css" layer(print) print;
--- /dev/null
+@import url('https://fonts.googleapis.com/css2?family=Inter&family=Raleway&display=swap');
+
+/* Manually import extended Source Code Pro because Google Fonts does not specify the full Unicode range even
+ though it's supported by the font (specifically, box-drawing characters are not specified by Google Fonts). */
+@font-face {
+ font-family: "Source Code Pro";
+ font-style: normal;
+ font-weight: 400 700;
+ font-display: swap;
+ src: url("/Source_Code_Pro_Extended.woff2") format("woff2");
+}
+
+:root {
+ font-family: "Inter", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto,
+ "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", Helvetica, Arial,
+ sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
+}
+
+h1, h2, h3, h4, h5, h6 {
+ font-family: "Raleway";
+}
+
+code, kbd {
+ font-family: "Source Code Pro", Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;
+}
<link rel="apple-touch-icon" href="/logo_maskable.png">
<link rel="manifest" href="/manifest.webmanifest">
<style>
- @layer base, print, hljs;
+ @layer fonts, base, print, hljs;
+ @import "/fonts.css" layer(fonts);
@import "/style.css" layer(base);
@import "/print.css" layer(print) print;
@import "https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.7.0/build/styles/default.min.css" layer(hljs);
display: grid;
grid-template-rows: auto auto 1fr auto;
min-block-size: 100dvh;
- font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto,
- "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", Helvetica, Arial,
- sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
color: hsl(0deg 0% 15%);
background: radial-gradient(circle at top, hsl(216deg 10% 95%), hsl(216deg 15% 90%) 40%);
margin: 0;
kbd {
background: linear-gradient(180deg, hsl(0deg 0% 86%), hsl(0deg 0% 94%));
- font-family: Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;
font-weight: bold;
font-size: 0.75em;
padding-block: 0.1em;
background: hsl(216deg 100% 80%);
}
-code:not(.hljs) {
+code {
+ border-radius: 4px;
background: hsl(0deg 0% 95%);
- border-radius: 3px;
padding: 1px 3px 2px;
}
+code.hljs {
+ font-size: 0.85em;
+}
+
+code:not(.hljs) {
+ line-height: 1.5;
+}
+
.card-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));