Skip to content

Commit d1700a1

Browse files
committed
Set styles for blockquote - fix velopert#16
1 parent 3b80ec0 commit d1700a1

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

src/components/common/Typography.tsx

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import media from '../../lib/styles/media';
55

66
const TypographyBlock = styled.div`
77
font-size: 1.125rem;
8-
color: ${palette.gray7};
8+
color: ${palette.gray8};
99
line-height: 1.85;
1010
letter-spacing: -0.02em;
1111
word-break: keep-all;
@@ -121,6 +121,26 @@ const TypographyBlock = styled.div`
121121
margin-top: 2rem;
122122
}
123123
}
124+
125+
blockquote {
126+
margin-top: 2rem;
127+
margin-bottom: 2rem;
128+
border-left: 4px solid ${palette.teal5};
129+
border-top-right-radius: 4px;
130+
border-bottom-right-radius: 4px;
131+
background: ${palette.gray0};
132+
margin-left: 0;
133+
margin-right: 0;
134+
padding: 1rem;
135+
padding-left: 2rem;
136+
color: ${palette.gray9};
137+
p:first-child {
138+
margin-top: 0;
139+
}
140+
p:last-child {
141+
margin-bottom: 0;
142+
}
143+
}
124144
`;
125145

126146
export interface TypographyProps {}

0 commit comments

Comments
 (0)