Skip to content

Commit 1a4b778

Browse files
committed
Fix blue links
1 parent 77c0a21 commit 1a4b778

File tree

3 files changed

+12
-7
lines changed

3 files changed

+12
-7
lines changed

web/pages/about.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const AboutBlock = (props: {
1010
const {text, title} = props
1111
return <section className="mb-12">
1212
<h2 className="text-3xl font-bold mb-4">{title}</h2>
13-
<p className="text-lg text-gray-500">{text}</p>
13+
<p className="text-lg">{text}</p>
1414
</section>;
1515
}
1616

@@ -59,7 +59,7 @@ export default function About() {
5959

6060
<AboutBlock
6161
title="Democratic"
62-
text={<span>Governed by the community, while ensuring no drift through our <Link href="/md/constitution">constitution</Link>.</span>}
62+
text={<span className="customlink">Governed by the community, while ensuring no drift through our <Link href="/md/constitution">constitution</Link>.</span>}
6363
/>
6464

6565
<AboutBlock

web/pages/md/[filename].tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default function MarkdownPage({ content, filename }: Props) {
1414
return (
1515
<LovePage trackPageView={filename}>
1616
<Col className="items-center">
17-
<Col className={'bg-canvas-0 w-full rounded px-3 py-4 sm:px-6 space-y-4'}>
17+
<Col className='bg-canvas-0 w-full rounded px-3 py-4 sm:px-6 space-y-4 customlink'>
1818
<ReactMarkdown>{content}</ReactMarkdown>
1919
</Col>
2020
</Col>

web/styles/globals.css

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -260,9 +260,14 @@ ul {
260260
margin-top: 0.5rem;
261261
}
262262

263-
a {
264-
color: rgb(var(--color-primary-500));
263+
.customlink a {
264+
color: cornflowerblue;
265+
text-decoration: none;
265266
}
266-
.dark a {
267+
.dark .customlink a {
267268
color: rgb(var(--color-primary-700));
268-
}
269+
}
270+
271+
.customlink a:hover {
272+
text-decoration: underline;
273+
}

0 commit comments

Comments
 (0)