Skip to content

Commit cc61aad

Browse files
committed
Styling
1 parent 0c7eba8 commit cc61aad

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

pages/docs/[doc].tsx

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,11 @@ const ReactMarkdownContainer = styled.div`
4141
}
4242
4343
code {
44-
font-size: 1.3em;
44+
display: inline-block;
45+
padding: 0.1em 0.5em;
46+
background: #0001;
47+
border-radius: 0.5em;
48+
font-size: 1.2em;
4549
}
4650
4751
/* @media only screen and (max-width: 600px) {
@@ -53,7 +57,9 @@ const ReactMarkdownContainer = styled.div`
5357
a {
5458
padding: 0.3em 0;
5559
color: #186eee;
56-
text-decoration: 1px solid underline;
60+
&:hover {
61+
color: black;
62+
}
5763
}
5864
5965
hr {
@@ -95,6 +101,7 @@ const SidebarHolder = styled.div`
95101
z-index: 100;
96102
backdrop-filter: blur(50px);
97103
height: 100%;
104+
overflow: auto;
98105
position: fixed;
99106
padding: 1em;
100107
transform: translateX(0);

0 commit comments

Comments
 (0)