diff --git a/web/dist/bundle.js b/web/dist/bundle.js index b4ec8de5acd81fefcf46c3726e091376cc3faf86..58a20a87be51fb7b6b27c232da2d4ddc9b18babe 100644 --- a/web/dist/bundle.js +++ b/web/dist/bundle.js @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:5443d826b7c148aa495ffdeb666e04f7ed29d265f9711c9facc543a5e7e9d539 -size 473159 +oid sha256:83d3491f415ec53af2edc3afcadcaab0318b8844b7c467b3b4aa43807abc30bd +size 473501 diff --git a/web/dist/styles.css b/web/dist/styles.css index 857c1d2f08f432eee2d4cedaaf3c3c74bb295e86..9ab21b994c18f00060c4e327df930dd33c748a55 100644 --- a/web/dist/styles.css +++ b/web/dist/styles.css @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:5f2dfc49604128122d9f1065271078829fe11047a2a5a59ac56957abf86565dd -size 282938 +oid sha256:6bdd2496a448e4fa9ba42b4002efb832fb0f8de83bf0aba6e49f62b0980cbe0a +size 283054 diff --git a/web/layouts/partials/header.html b/web/layouts/partials/header.html index 1442668cbfbf050edde676ae6b3b75dccd45216a..391de9533920cd437b34dc74f42a143f916fa680 100644 --- a/web/layouts/partials/header.html +++ b/web/layouts/partials/header.html @@ -23,7 +23,7 @@ <title>{{ .Title }}</title> </head> -<body class="font-sans"> +<body class="font-sans leading-normal"> <header class="bg-light"> <div class="container mx-auto"> <nav class="flex border-b py-4"> @@ -36,7 +36,7 @@ <div class="w-1/2 flex justify-center"> {{ range .Site.Menus.main }} {{ $url_trimmed := trim .URL "/" }} - <a href="{{ .URL }}" class="mr-8{{if (eq $section $url_trimmed) }} active{{end}}">{{ .Name }}</a> + <a href="{{ .URL }}" class="nav-item{{if (eq $section $url_trimmed) }} active{{end}}">{{ .Name }}</a> {{ end }} </div> <div class="w-1/4"> diff --git a/web/src/styles.css b/web/src/styles.css index 8ae622d670fe2326bc72617a829d1376b40f3965..1bfbe3b46371bbf8efeb1c34742732af4a598620 100644 --- a/web/src/styles.css +++ b/web/src/styles.css @@ -29,18 +29,28 @@ nav a.active { /* -- Typography -- */ h1, h2, h3, h4, h5, h6 { @apply .font-serif; - @apply .pt-2; + /*@apply .pt-2;*/ + @apply .mt-6; @apply .mb-4; } -p, ul { - @apply .leading-normal; +h1 { + @apply .mt-0; } p, ul, pre { @apply .mb-4; } +/* -- Navigation -- */ +.nav-item { + @apply .mr-8; + + &:last-child { + @apply .mr-0; + } +} + /* -- OS selector -- */ .os-div { @apply .-ml-4;