Skip to content

Commit

Permalink
design fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
marwan committed Nov 24, 2024
1 parent 04e6c97 commit c16f60b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<div class="w-full flex flex-col md:justify-center text-xs space-y-8 scale-[0.70] md:scale-[0.85] theme-grayscale">
<div class="flex flex-row space-x-4 justify-center">
{#each Object.entries(homepageLinks) as [id, link]}
<a href={link.link} class="min-w-28 border border-black/10 transition text-sm bg-transparent rounded-3xl p-5 hover:cursor-pointer hover:bg-lightGray">
<a href={link.link} class="min-w-28 border border-black/15 transition text-sm bg-transparent rounded-3xl p-5 hover:cursor-pointer hover:bg-lightGray">
<div class="flex flex-col items-center justify-center space-y-2">
<div class="text-sm md:text-lg opacity-70">
<svelte:component this={link.icon} size={7} />
Expand Down
2 changes: 1 addition & 1 deletion src/routes/page/[page]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
<!-- if it's the first verse of a chapter -->
{#if chapters.length > 0 && lines.includes(line) && verses[lines.indexOf(line)] === 1}
<div class="flex flex-col my-2">
<div style="font-family: chapter-headers" class="header invisible leading-base md:pt-8 pb-6 text-[28vw] md:text-[195px] lg:text-[195px]">{chapterHeaderCodes[chapters[lines.indexOf(line)]]}</div>
<div style="font-family: chapter-headers" class="header invisible leading-base pt-4 md:pt-8 pb-6 text-[28vw] md:text-[195px] lg:text-[195px]">{chapterHeaderCodes[chapters[lines.indexOf(line)]]}</div>

<Bismillah {chapters} {lines} {line} />
</div>
Expand Down
4 changes: 4 additions & 0 deletions static/css/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -2130,6 +2130,10 @@ input[type="range"].range-lg::-moz-range-thumb {
border-color: rgb(0 0 0 / 0.1);
}

.border-black\/15 {
border-color: rgb(0 0 0 / 0.15);
}

.border-blue-700 {
--tw-border-opacity: 1;
border-color: rgb(29 78 216 / var(--tw-border-opacity));
Expand Down

0 comments on commit c16f60b

Please sign in to comment.