Compare commits
10 Commits
b56ac908f6
...
1ee75d9431
| Author | SHA1 | Date | |
|---|---|---|---|
| 1ee75d9431 | |||
| c48995310b | |||
| 5484e084a4 | |||
| 620c269d91 | |||
| 77ea2900bc | |||
| 8f3b0b967b | |||
| c9044bd3c3 | |||
| f4d4f4e5d7 | |||
| 9b0c70ac05 | |||
| fadf72c180 |
@@ -77,7 +77,7 @@ input.stork-input {
|
||||
}
|
||||
}
|
||||
|
||||
.stork-title, .stork-excerpt {
|
||||
.stork-title p, .stork-excerpt p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -21,6 +21,11 @@ h1, h2, h3, h4, h5, h6 {
|
||||
font-weight: normal;
|
||||
text-align: center;
|
||||
|
||||
&:target {
|
||||
background-color: lighten(yellow, 30%);
|
||||
border-radius: 1rem;
|
||||
}
|
||||
|
||||
a {
|
||||
border-bottom: none;
|
||||
|
||||
@@ -229,6 +234,10 @@ figure {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
&.fullwide img {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
&.tiny img {
|
||||
max-height: 15rem;
|
||||
}
|
||||
@@ -262,3 +271,7 @@ figure {
|
||||
stroke-linejoin: round;
|
||||
fill: currentColor;
|
||||
}
|
||||
|
||||
.katex * {
|
||||
font-family: unset;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{{ define "main" }}
|
||||
<h2>{{ .Title }}</h2>
|
||||
{{ .Content }}
|
||||
|
||||
<ul class="post-list">
|
||||
{{ range .Pages.ByDate.Reverse }}
|
||||
|
||||
@@ -8,6 +8,10 @@
|
||||
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inconsolata:wght@400;700&family=Raleway&family=Lora&display=block" media="screen">
|
||||
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css" media="screen">
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.css" integrity="sha384-zB1R0rpPzHqg7Kpt0Aljp8JPLqbXI3bhnPWROx27a9N0Ll6ZP/+DiW/UqRcLbRjq" crossorigin="anonymous" media="screen">
|
||||
{{ range .AlternativeOutputFormats -}}
|
||||
<link rel="{{ .Rel }}" type="{{ .MediaType.Type | html }}" href="{{ .Permalink | safeURL }}">
|
||||
{{ end -}}
|
||||
{{ $style := resources.Get "scss/style.scss" | resources.ToCSS | resources.Minify }}
|
||||
{{ $sidenotes := resources.Get "scss/sidenotes.scss" | resources.ToCSS | resources.Minify }}
|
||||
{{ $code := resources.Get "scss/code.scss" | resources.ToCSS | resources.Minify }}
|
||||
@@ -17,7 +21,6 @@
|
||||
<link rel="stylesheet" href="{{ $style.Permalink }}" media="screen">
|
||||
<link rel="stylesheet" href="{{ $sidenotes.Permalink }}" media="screen">
|
||||
<link rel="stylesheet" href="{{ $code.Permalink }}" media="screen">
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.css" integrity="sha384-zB1R0rpPzHqg7Kpt0Aljp8JPLqbXI3bhnPWROx27a9N0Ll6ZP/+DiW/UqRcLbRjq" crossorigin="anonymous" media="screen">
|
||||
<link rel="icon" type="image/png" href="{{ $icon.Permalink }}">
|
||||
|
||||
<title>{{ .Title }}</title>
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
$$
|
||||
{{ .Inner }}
|
||||
{{ htmlEscape .Inner }}
|
||||
$$
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
{{ partial "geturl.html" (dict "scratch" .Scratch "path" (.Get 0) "submoduleLinks" .Site.Params.submoduleLinks) }}
|
||||
{{ partial "group.html" (dict "url" (.Scratch.Get "bestUrl") "path" (.Get 0) "comment" ", entire file" "content" (safeHTML (printf "<pre><code>%s</code></pre>" (readFile (printf "code/%s" (.Get 0)))))) }}
|
||||
{{ partial "group.html" (dict "url" (.Scratch.Get "bestUrl") "path" (.Get 0) "comment" ", entire file" "content" (safeHTML (printf "<pre><code>%s</code></pre>" (htmlEscape (readFile (printf "code/%s" (.Get 0))))))) }}
|
||||
|
||||
Reference in New Issue
Block a user