Skip to content

Commit

Permalink
Update colors
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikko Miu committed Sep 5, 2024
1 parent c0d3978 commit c435418
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion assets/css/prose.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
.prose pre,
.prose code,
.prose kbd {
@apply text-fuchsia-400 bg-fuchsia-950 py-[0.15rem] px-[0.3rem] font-mono;
@apply text-fuchsia-400 bg-fuchsia-950/75 py-[0.15rem] px-[0.3rem] font-mono;
}

.prose pre code {
Expand Down
12 changes: 6 additions & 6 deletions layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ <h2>
{{ end }}
<a
href="{{ $prev.Permalink }}"
class="flex flex-row w-full sm:w-auto mr-auto text-neutral-300 hover:bg-neutral-900 hover:text-white py-3 pl-2 pr-12 sm:pr-10 border-2 border-neutral-800 justify-center bg-black hover:shadow-neutral-900 hover:shadow-lg transition-all"
class="flex flex-row w-full sm:w-auto mr-auto text-neutral-200 hover:bg-neutral-900 hover:text-white py-3 pl-2 pr-12 sm:pr-10 border-2 border-neutral-800 justify-center bg-black hover:shadow-neutral-900 hover:shadow-lg transition-all"
>
<div class="flex items-center mr-2">
<svg
Expand All @@ -138,7 +138,7 @@ <h2>
</div>
<div class="flex flex-col">
<h2 class="!mt-0 text-lg">Previous {{ $pt }}</h2>
<p class="m-0 text-neutral-500 text-sm">{{ $prev.Title }}</p>
<p class="m-0 text-neutral-400 text-sm">{{ $prev.Title }}</p>
</div>
</a>
{{ end }}
Expand All @@ -150,11 +150,11 @@ <h2 class="!mt-0 text-lg">Previous {{ $pt }}</h2>
{{ end }}
<a
href="{{ $next.Permalink }}"
class="flex flex-row w-full sm:w-auto ml-auto text-right text-neutral-300 hover:bg-neutral-900 hover:text-white py-3 pr-2 pl-12 sm:pl-10 border-2 border-neutral-800 justify-center bg-black hover:shadow-neutral-900 hover:shadow-lg transition-all"
class="flex flex-row w-full sm:w-auto ml-auto text-right text-neutral-200 hover:bg-neutral-900 hover:text-white py-3 pr-2 pl-12 sm:pl-10 border-2 border-neutral-800 justify-center bg-black hover:shadow-neutral-900 hover:shadow-lg transition-all"
>
<div class="flex flex-col">
<h2 class="!mt-0 text-lg">Next {{ $pt }}</h2>
<p class="m-0 text-neutral-500 text-sm">{{ $next.Title }}</p>
<p class="m-0 text-neutral-400 text-sm">{{ $next.Title }}</p>
</div>
<div class="flex items-center ml-2">
<svg
Expand All @@ -177,7 +177,7 @@ <h2 class="!mt-0 text-lg">Next {{ $pt }}</h2>
<div class="flex print:hidden">
<a
href="{{ .Parent.Permalink }}"
class="flex flex-row mx-auto w-full sm:w-auto lg:order-none mb-2 hover:bg-neutral-900 text-neutral-300 hover:text-white py-3 px-6 border-2 border-neutral-800 justify-center bg-black hover:shadow-neutral-900 hover:shadow-lg transition-all"
class="flex flex-row mx-auto w-full sm:w-auto lg:order-none mb-2 hover:bg-neutral-900 text-neutral-200 hover:text-white py-3 px-6 border-2 border-neutral-800 justify-center bg-black hover:shadow-neutral-900 hover:shadow-lg transition-all"
>
<div class="flex items-center mr-2">
<svg
Expand All @@ -194,7 +194,7 @@ <h2 class="!mt-0 text-lg">Next {{ $pt }}</h2>
<div class="flex flex-col justify-center">
{{ if or (not .Parent.Title) (ne (.Parent.Title | inflect.Singularize) ($pt | inflect.Singularize)) }}
<h2 class="!mt-0 text-lg">Back to {{ $pt }}</h2>
<p class="m-0 text-neutral-500 text-sm">{{ .Parent.Title }}</p>
<p class="m-0 text-neutral-400 text-sm">{{ .Parent.Title }}</p>
{{ else }}
<h2 class="!mt-0 text-lg">Back to {{ $pt | inflect.Pluralize }}</h2>
{{ end }}
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<div
class="w-full sm:max-w-xl mx-auto sm:bg-black sm:my-8 sm:border-2 sm:border-neutral-800 p-4 animate__animated animate__fadeInDown animate__faster"
>
<div id="gbl-site-search" class="site-search" data-turbo-permanent>
<div id="gbl-site-search" class="site-search">
<div class="fade-in-perception w-full flex justify-center p-2">
<div class="loading flex text-neutral-500 text-center">
<svg
Expand Down

0 comments on commit c435418

Please sign in to comment.