-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(quote): Added quote styled component
- Loading branch information
1 parent
7a9526e
commit a980b89
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import styled from 'styled-components'; | ||
|
||
export const StyledQuoteContainer = styled.div` | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
text-align: center; | ||
padding: 25px; | ||
background-color: #fff; | ||
`; | ||
|
||
export const StyledQuoteAuthor = styled.p` | ||
margin-top: 30px; | ||
color: #000; | ||
font-size: 2rem; | ||
`; | ||
|
||
export const StyledQuote = styled.q` | ||
line-height: 2; | ||
font-size: 1.8em; | ||
width: 40%; | ||
color: #000; | ||
@media only screen and (max-width: 480px) { | ||
line-height: 1; | ||
font-size: 2.1em; | ||
width: 80%; | ||
} | ||
`; |