Skip to content

Commit 6745b20

Browse files
committed
chore: reduce font size
1 parent 1da5f51 commit 6745b20

File tree

3 files changed

+8
-17
lines changed

3 files changed

+8
-17
lines changed

assets/css/global.css

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -39,33 +39,24 @@ input[type="search"]::-moz-search-cancel-button {
3939
input[type="search"]::-ms-clear {
4040
display: none;
4141
}
42-
4342
.prose {
44-
li {
45-
@apply my-2;
46-
> :last-child,
47-
> :first-child {
48-
margin: 0;
49-
}
50-
}
5143
hr {
5244
@apply mt-8 mb-4;
5345
}
5446
:where(h1):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
55-
color: var(--tw-prose-headings);
5647
font-weight: 500 !important;
57-
margin-top: 0;
58-
margin-bottom: 0.2em !important;
59-
line-height: 1.1111111;
48+
font-size: 180% !important;
49+
margin-bottom: 0.4em !important;
6050
}
6151
> h2 {
62-
@apply mt-5! mb-3! text-3xl!;
52+
@apply mt-5! mb-3!;
53+
font-size: 160% !important;
6354
a {
6455
@apply hover:no-underline!;
6556
}
6657
}
6758
> h3 {
68-
@apply text-2xl!;
59+
font-size: 130% !important;
6960
a {
7061
@apply hover:no-underline!;
7162
}

assets/css/theme.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
--color-navbar-text: var(--color-gray-700);
4040
--color-navbar-text-dark: var(--tw-prose-body);
4141
--color-navbar-border-color-light: var(--tw-prose-inverse-body);
42-
--navbar-font-size: 1rem;
42+
--navbar-font-size: 0.92rem;
4343
--navbar-group-font-title-size: 1rem;
4444
--color-navbar-text-dark: var(--color-gray-200);
4545
--color-navbar-group-text-dark: var(--tw-prose-body);

layouts/partials/md-dropdown.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<details id="markdownDropdown" class="group relative z-10 inline-block" data-heap-id="markdown-dropdown">
22
<summary
3-
class="inline-flex cursor-pointer items-center gap-0 rounded-sm border border-gray-600 bg-white px-2 py-2
3+
class="inline-flex cursor-pointer items-center gap-0 rounded-sm border border-gray-600 bg-white px-1 py-1
44
text-base font-semibold text-gray-600 transition-colors hover:bg-gray-50 dark:border-gray-50 dark:bg-gray-950 dark:text-gray-100 dark:hover:bg-gray-900"
55
data-heap-id="markdown-dropdown-toggle"
66
>
@@ -14,7 +14,7 @@
1414

1515
<!-- Dropdown menu -->
1616
<div
17-
class="absolute right-0 z-50 mt-2 w-56 origin-top-right rounded-sm border border-gray-300 bg-white p-2 text-sm text-black shadow-md [display:none] group-open:[display:block] dark:border-gray-100 dark:text-gray-100 dark:bg-gray-950"
17+
class="absolute right-0 z-50 mt-1 w-56 origin-top-right rounded-sm border border-gray-300 bg-white p-2 text-sm text-black shadow-md [display:none] group-open:[display:block] dark:border-gray-100 dark:text-gray-100 dark:bg-gray-950"
1818
data-heap-id="markdown-dropdown-menu"
1919
>
2020
<button

0 commit comments

Comments
 (0)