Skip to content

Commit 26794e6

Browse files
committed
Update guide text formatting
1 parent 1bc25b4 commit 26794e6

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

pages/_app.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import "tailwindcss/tailwind.css"
55
import Footer from "../components/Footer"
66
import NavBar from "../components/NavBar"
77
import * as gtag from "../utils/gtag"
8+
import "../public/global.css"
89

910
export default function MyApp({ Component, pageProps, router }: AppProps) {
1011
useEffect(() => {

public/global.css

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
blockquote {
2+
padding-left: 1.25rem/* 20px */;
3+
margin-bottom: 0.5rem/* 8px */;
4+
border-left-width: 2px;
5+
}
6+
7+
a {
8+
--tw-text-opacity: 1;
9+
color: rgb(30 64 175 / var(--tw-text-opacity));
10+
text-decoration-line: none;
11+
transition-property: all;
12+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
13+
transition-duration: 200ms;
14+
font-weight: 600;
15+
}
16+
a:hover {
17+
--tw-text-opacity: 1;
18+
color: rgb(59 130 246 / var(--tw-text-opacity));
19+
}
20+
21+
@media (prefers-color-scheme: dark) {
22+
a {
23+
--tw-text-opacity: 1;
24+
color: rgb(219 234 254 / var(--tw-text-opacity));
25+
}
26+
a:hover {
27+
--tw-text-opacity: 1;
28+
color: rgb(96 165 250 / var(--tw-text-opacity));
29+
}
30+
}

0 commit comments

Comments
 (0)