Skip to content

Commit fd09118

Browse files
committed
Improve overall styling
1 parent a50d32d commit fd09118

File tree

1 file changed

+38
-4
lines changed

1 file changed

+38
-4
lines changed

pages/_app.js

Lines changed: 38 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,44 @@ export default class MyApp extends App {
99
<Head>
1010
<title>blog.vararu.org</title>
1111
</Head>
12-
<h1>
13-
<a href="/">blog.vararu.org</a>
14-
</h1>
15-
<Component {...pageProps} />
12+
<style global jsx>{`
13+
body {
14+
font-family: Charter, Iowan, Palatino, "Times New Roman", Times,
15+
serif;
16+
margin: 1rem;
17+
}
18+
19+
main {
20+
margin: 0 auto;
21+
max-width: 40rem;
22+
}
23+
24+
a {
25+
color: #273c75;
26+
}
27+
28+
a:visited {
29+
color: #192a56;
30+
}
31+
32+
ul {
33+
padding-left: 1.25rem;
34+
}
35+
36+
pre {
37+
overflow-y: scroll;
38+
background: #2f3640;
39+
padding: 1rem;
40+
color: #ffffff;
41+
margin: 0 -1rem;
42+
}
43+
`}</style>
44+
<main>
45+
<h1>
46+
<a href="/">blog.vararu.org</a>
47+
</h1>
48+
<Component {...pageProps} />
49+
</main>
1650
</>
1751
);
1852
}

0 commit comments

Comments
 (0)