Skip to content

Commit 125fc3f

Browse files
committed
tweak styling of uses page
1 parent 4feaeea commit 125fc3f

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

source/_assets/js/components/Search.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
type="text"
3939
@keyup.esc="close"
4040
@focusout="close"
41+
@change="close"
4142
>
4243

4344
<div v-if="query" class="w-full sm:w-1/2 md:inset-auto text-left mb-4">
@@ -51,7 +52,7 @@
5152
:key="result.link"
5253
@mousedown.prevent
5354
>
54-
<span class="uppercase font-semibold">{{ result.item.title }}</span>
55+
<span class="font-semibold">{{ result.item.title }}</span>
5556

5657
<span class="block text-gray-600 dark:text-neutral-300 normal-case text-sm my-1"
5758
v-html="result.item.snippet"></span>

source/_components/uses-section.blade.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<dl class="-my-3 text-sm">
2-
<div class="grid grid-cols-1 sm:grid-cols-4 mb-4">
1+
<dl class="mt-12 mb-8 lg:mb-0 lg:mt-8 text-sm">
2+
<div class="grid grid-cols-1 sm:grid-cols-4">
33
<dt class="leading-tight mb-4 pr-4">
4-
<h3>{{ $heading }}</h3>
4+
<h3 class="font-normal">{{ $heading }}</h3>
55
</dt>
6-
<dd class="sm:col-span-3 mb-6 pl-6 border-l border-gray-300 dark:border-neutral-700 uses-border">
6+
<dd class="sm:col-span-3 pl-6 border-l border-gray-300 dark:border-neutral-700 uses-border">
77
{{ $slot }}
88
</dd>
99
</div>

source/uses.blade.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
@section('body')
88
<h1>What I use</h1>
99

10-
<p class="mb-8">Here's what helps me do my day-to-day.</p>
10+
<p class="lg:mb-8">Here's what helps me do my day-to-day.</p>
1111

1212
<div class="flow-root py-3">
1313
<x-uses-section heading="Workstations">
@@ -18,13 +18,13 @@
1818
</p>
1919

2020
<h5>16-inch, M1 Pro, 2021 MacBook Pro</h5>
21-
<p>
21+
<p class="mb-0">
2222
This is my work machine and it's quite a bit more powerful! With a faster chipset, 32GB
2323
memory and 1TB of storage it makes light work with the software and containers I run.
2424
</p>
2525
</x-uses-section>
2626

27-
<x-uses-section heading="Development Software">
27+
<x-uses-section heading="Development software">
2828
<h5><a href="https://www.jetbrains.com/">JetBrains IDEs</a></h5>
2929
<p>
3030
My go-to IDE is anything by JetBrains. They all come pre-packed with tons of features
@@ -44,7 +44,7 @@
4444
</p>
4545

4646
<h5><a href="https://github.com/usebruno/bruno">Bruno</a></h5>
47-
<p>
47+
<p class="mb-0">
4848
The only "offline" API client with Git collaboration in mind. It's fairly new to the
4949
scene but it has already gained a lot of attention and works great.
5050
</p>
@@ -64,7 +64,7 @@
6464
</p>
6565

6666
<h5><a href="https://boop.okat.best/">Boop</a></h5>
67-
<p>
67+
<p class="mb-0">
6868
A neat text manipulation tool that already comes with an array of useful scripts. You
6969
can also create your own scripts too.
7070
</p>
@@ -80,7 +80,7 @@
8080
<h6>Elgato Wave:3 Microphone</h6>
8181
<h6>Elgato Facecam</h6>
8282
<h6>Elgato Key Light Air</h6>
83-
<h6>BenQ ScreenBar Halo</h6>
83+
<h6 class="mb-0">BenQ ScreenBar Halo</h6>
8484
</div>
8585
</x-uses-section>
8686
</div>

0 commit comments

Comments
 (0)