diff --git a/layouts/404.html b/layouts/404.html index 00455e13..13d786df 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -1,18 +1,36 @@ -{{ partial "head.html" . }} + {{ partial "head.html" . }} - + {{ partial "header" . }} -
-
-
-
- 4 - - +
+
+
+ 4 + + - - - 4 -
-
-

Didn’t find anything here!

-
-
-
- + C31.1,6.8,46.5,0.5,64.9,0.1C83.3,0.5,98.6,6.8,110.8,19z" + > + 4 +
+
+

Didn’t find anything here!

+
+ + {{ partial "footer.html" . }} - - {{ if eq (getenv "HUGO_ENV") "production"}} - {{ template "_internal/google_analytics.html" . }} - {{ end }} - - + diff --git a/layouts/partials/extended_head.html b/layouts/partials/extended_head.html index 0eb045c2..c51fe7a3 100644 --- a/layouts/partials/extended_head.html +++ b/layouts/partials/extended_head.html @@ -1,46 +1,72 @@ - - + + - - + + - + - - - + + + - - - + + + {{ if isset .Params "date" }} {{ end }} {{ with .OutputFormats.Get "RSS" }} - + {{ end }} {{ with .OutputFormats.Get "json" }} - -{{ end }} - - -{{ if eq (getenv "HUGO_ENV") "production"}} -{{ template "_internal/google_analytics.html" . }} + {{ end }} diff --git a/static/css/github-style.css b/static/css/github-style.css index 0c971c6a..7e670da0 100644 --- a/static/css/github-style.css +++ b/static/css/github-style.css @@ -10,8 +10,8 @@ body { display: flex; align-items: center; flex-wrap: nowrap; - padding-left: 32px!important; - padding-right: 32px!important; + padding-left: 32px !important; + padding-right: 32px !important; z-index: 32; padding: 16px; font-size: 14px; @@ -39,7 +39,7 @@ body { .Header-search { max-width: 272px; width: 100%; - transition: .2s ease-in-out; + transition: 0.2s ease-in-out; transition-property: max-width, padding-bottom, padding-top; } @@ -63,7 +63,7 @@ body { } .Header-search-label:focus-within { - background-color: hsla(0, 0%, 100%, .175); + background-color: hsla(0, 0%, 100%, 0.175); border-color: var(--color-state-focus-border); outline: none; } @@ -115,7 +115,7 @@ body { user-select: none; } -.details-reset>summary { +.details-reset > summary { outline: none; } @@ -159,7 +159,8 @@ body { #table-of-contents > nav ul > li { margin-left: 1em; - font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji; + font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, + sans-serif, Apple Color Emoji, Segoe UI Emoji; } #table-of-contents > nav > ul > li { @@ -168,18 +169,18 @@ body { @media (max-width: 768px) { .Header { - padding-left: 24px!important; - padding-right: 24px!important; + padding-left: 24px !important; + padding-right: 24px !important; } } @media (max-width: 480px) { .Header { - padding-left: 16px!important; - padding-right: 16px!important; + padding-left: 16px !important; + padding-right: 16px !important; } .mobile-none { - display: none!important; + display: none !important; } .Header-search { max-width: 100%; @@ -189,3 +190,7 @@ body { .pinned-item-desc img { max-width: 100%; } + +ul { + padding-left: 1em; +}