@@ -10,7 +10,7 @@ import matchExtLinkMarkDef from '../../utils/matchExtLinkMarkDef'
1010
1111const MainContent = styled . div `
1212 margin-top: 1.5em;
13- font-size: 1.15em ;
13+ font-size: 1.25em ;
1414 line-height: 1.75em;
1515`
1616const PostDescription = styled . p `
@@ -19,18 +19,19 @@ const PostDescription = styled.p`
1919 margin: 3px 0 0;
2020`
2121const PostDate = styled ( PostDescription ) `
22- font-size: 1em ;
22+ font-size: 1.2em ;
2323 color: ${ ( { theme } ) => theme . text } ;
2424`
2525const ArticleBlock = styled . div `
2626 margin-bottom: 1em;
27+ color: ${ ( { theme } ) => theme . text } ;
2728`
2829const AsideBlock = styled . div `
2930 margin-bottom: 1em;
3031 padding: 1em 2em;
3132 background-color: ${ ( { theme } ) => theme . asideBackground } ;
3233 font-size: .9em;
33- line-height: 1.25em ;
34+ line-height: 1.5em ;
3435 /* TODO: dynamically change border and text according to theme? */
3536 /* light text: rgb(178, 151, 98) */
3637 /* light border: */
@@ -41,7 +42,7 @@ const AsideBlock = styled.div`
4142`
4243const Pre = styled . pre `
4344 font-family: 'Nanum Gothic Coding', monospace;
44- font-size: .9em ;
45+ font-size: .85em ;
4546 overflow: auto;
4647 text-align: left;
4748 margin: 1em 0;
@@ -58,15 +59,17 @@ const LineNo = styled.span`
5859 user-select: none;
5960 opacity: 0.3;
6061`
61- const InlineCode = styled . span `
62+ const InlineCodeMain = styled . span `
6263 font-family: 'Courier Prime', monospace;
6364 display: inline-block;
64- padding: 0 5px;
65+ font-size: .85em;
66+ line-height: 1.3;
6567 border-radius: 3px;
6668 background-color: ${ ( { theme } ) => theme . secondaryColor } ;
69+ padding: 1px 3px;
6770`
68- const AsideCode = styled ( InlineCode ) `
69- font-size: .9em ;
71+ const AsideCode = styled ( InlineCodeMain ) `
72+ padding: 0 5px ;
7073 margin-bottom: 1em;
7174 font-family: 'Courier Prime', monospace;
7275`
@@ -131,9 +134,9 @@ function Post(props) {
131134 if ( ! section . children [ i ] . marks ) {
132135 // console.log('paragraphBlock inline code')
133136 blockContent . push (
134- < InlineCode >
137+ < InlineCodeMain >
135138 { section . children [ i ] . str_content_inline }
136- </ InlineCode >
139+ </ InlineCodeMain >
137140 )
138141 }
139142 // returns href of external link that matches href mark with actual href info
0 commit comments