118 lines
4.6 KiB
HTML
118 lines
4.6 KiB
HTML
<!DOCTYPE html>
|
|
<html class="dark" lang="{{ site.Language.Locale | default `en` }}">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta name="darkreader-lock">
|
|
<title>{{ if .IsHome }}{{ site.Title }}{{ else }}{{ .Title }} | {{ site.Title }}{{ end }}</title>
|
|
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{ site.Params.description }}{{ end }}">
|
|
<script src="https://cdn.tailwindcss.com?plugins=forms,container-queries"></script>
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=JetBrains+Mono:wght@400;700&display=swap" rel="stylesheet">
|
|
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap" rel="stylesheet">
|
|
<script>
|
|
tailwind.config = {
|
|
darkMode: "class",
|
|
theme: {
|
|
extend: {
|
|
colors: {
|
|
surface: "#161413",
|
|
"surface-dim": "#161413",
|
|
"surface-bright": "#3d3937",
|
|
"surface-container-lowest": "#0c0b0a",
|
|
"surface-container-low": "#1d1a19",
|
|
"surface-container": "#211e1d",
|
|
"surface-container-high": "#2c2826",
|
|
"surface-container-highest": "#373130",
|
|
"on-surface": "#eae4e2",
|
|
"on-surface-variant": "#d2c7c5",
|
|
primary: "#d18c81",
|
|
"on-primary": "#3e1c15",
|
|
"primary-container": "#5b2c23",
|
|
"on-primary-container": "#ffdacf",
|
|
secondary: "#e2b8b1",
|
|
"on-secondary": "#412b26",
|
|
"secondary-container": "#5a413b",
|
|
"on-secondary-container": "#ffdacf",
|
|
tertiary: "#c9c3a3",
|
|
"on-tertiary": "#312e18",
|
|
"tertiary-container": "#48442c",
|
|
"on-tertiary-container": "#e6dfbc",
|
|
error: "#ffb4ab",
|
|
"on-error": "#690005",
|
|
"error-container": "#93000a",
|
|
"on-error-container": "#ffdad6",
|
|
background: "#161413",
|
|
"on-background": "#eae4e2",
|
|
outline: "#968d8a",
|
|
"outline-variant": "#4d4644",
|
|
"inverse-surface": "#eae4e2",
|
|
"inverse-on-surface": "#322f2e",
|
|
"inverse-primary": "#97483c"
|
|
},
|
|
borderRadius: {
|
|
DEFAULT: "0.25rem",
|
|
lg: "0.5rem",
|
|
xl: "0.75rem",
|
|
full: "9999px"
|
|
},
|
|
spacing: {
|
|
"container-max": "1120px",
|
|
"stack-lg": "32px",
|
|
"margin-mobile": "16px",
|
|
gutter: "24px",
|
|
"stack-sm": "4px",
|
|
"stack-md": "12px",
|
|
base: "8px"
|
|
},
|
|
fontFamily: {
|
|
"body-md": ["JetBrains Mono", "monospace"],
|
|
"body-lg": ["JetBrains Mono", "monospace"],
|
|
"display-lg": ["Cormorant Garamond", "serif"],
|
|
"headline-md": ["Cormorant Garamond", "serif"],
|
|
"label-sm": ["JetBrains Mono", "monospace"],
|
|
"display-lg-mobile": ["Cormorant Garamond", "serif"]
|
|
},
|
|
fontSize: {
|
|
"body-md": ["14px", { lineHeight: "24px", fontWeight: "400" }],
|
|
"body-lg": ["16px", { lineHeight: "28px", fontWeight: "400" }],
|
|
"display-lg": ["42px", { lineHeight: "1.2", fontWeight: "400" }],
|
|
"headline-md": ["24px", { lineHeight: "32px", fontWeight: "400" }],
|
|
"label-sm": ["12px", { lineHeight: "16px", fontWeight: "400" }],
|
|
"display-lg-mobile": ["32px", { lineHeight: "40px", fontWeight: "400" }]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
<style>
|
|
.material-symbols-outlined {
|
|
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
|
|
}
|
|
|
|
.tree-item {
|
|
position: relative;
|
|
}
|
|
|
|
.tree-item::before {
|
|
content: '';
|
|
position: absolute;
|
|
left: -12px;
|
|
top: 0;
|
|
bottom: 0;
|
|
width: 1px;
|
|
background-color: rgba(234, 228, 226, 0.1);
|
|
}
|
|
</style>
|
|
</head>
|
|
<body class="bg-surface text-on-surface font-body-md min-h-screen flex antialiased">
|
|
<div class="flex w-full max-w-7xl mx-auto px-8 py-16 gap-16">
|
|
{{ partial "sidebar.html" . }}
|
|
<main class="flex-1 max-w-3xl pt-2">
|
|
{{ block "main" . }}{{ end }}
|
|
</main>
|
|
</div>
|
|
</body>
|
|
</html>
|