File tree Expand file tree Collapse file tree 3 files changed +9
-14
lines changed
Expand file tree Collapse file tree 3 files changed +9
-14
lines changed Original file line number Diff line number Diff line change @@ -57,15 +57,9 @@ const standardLayout = css`
5757 }
5858
5959 details {
60- margin-bottom: 1rem;
61-
6260 & summary {
6361 cursor: pointer;
6462 }
65-
66- &:last-of-type {
67- margin-bottom: 2rem;
68- }
6963 }
7064
7165 blockquote {
Original file line number Diff line number Diff line change @@ -62,14 +62,11 @@ html body {
6262 }
6363
6464 ul, ol {
65- padding-left: 3rem ;
66-
65+ padding-left: 1.5rem ;
66+ padding-top: 0.5rem;
6767 li {
6868 margin-bottom: 0.5rem;
6969 }
70- li:first-of-type {
71- margin-top: 0.5rem;
72- }
7370 }
7471
7572 h1, h2, h3, h4, h5, h6 {
@@ -136,5 +133,9 @@ html body {
136133 text-decoration: underline;
137134 }
138135 }
136+
137+ summary::before {
138+ margin-right: 0.5rem;
139+ }
139140}
140141` ;
Original file line number Diff line number Diff line change @@ -29,6 +29,9 @@ export const MarkdownStyles = createGlobalStyle`
2929 text-decoration: underline;
3030 }
3131 }
32+ code {
33+ font-size: 80%;
34+ }
3235 a, code, strong {
3336 white-space: pre-wrap;
3437 word-break: break-word;
@@ -58,8 +61,5 @@ export const MarkdownStyles = createGlobalStyle`
5861 details[open] > summary::before {
5962 transform: rotate(90deg);
6063 }
61- details > ul {
62- margin-top: 0.5rem;
63- }
6464}
6565` ;
You can’t perform that action at this time.
0 commit comments