mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-10 07:25:35 +00:00
feat: styling login page
This commit is contained in:
28
inertia/components/quotes.tsx
Normal file
28
inertia/components/quotes.tsx
Normal file
@@ -0,0 +1,28 @@
|
||||
import styled from '@emotion/styled';
|
||||
import { rgba } from '~/lib/color';
|
||||
|
||||
const Quotes = styled.p(({ theme }) => ({
|
||||
position: 'relative',
|
||||
width: 'fit-content',
|
||||
whiteSpace: 'pre-wrap',
|
||||
textAlign: 'center',
|
||||
fontStyle: 'italic',
|
||||
color: rgba(theme.colors.font, 0.75),
|
||||
|
||||
'&::before, &::after': {
|
||||
position: 'absolute',
|
||||
fontFamily: 'sans-serif',
|
||||
fontSize: '2.25em',
|
||||
},
|
||||
|
||||
'&::before': {
|
||||
left: '-0.65em',
|
||||
content: '"“"',
|
||||
},
|
||||
'&::after': {
|
||||
right: '-0.5em',
|
||||
content: '"”"',
|
||||
},
|
||||
}));
|
||||
|
||||
export default Quotes;
|
||||
Reference in New Issue
Block a user