This repository has been archived by the owner on Jan 2, 2022. It is now read-only.
generated from hosonokotaro/react-typescript-starter
-
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.
- Loading branch information
1 parent
c0bc793
commit 986c332
Showing
4 changed files
with
108 additions
and
25 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
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
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
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,72 @@ | ||
import { styled } from '@linaria/react'; | ||
|
||
export const StyledArticle = styled.article` | ||
max-width: 1000px; | ||
margin: 0 auto; | ||
padding: 40px 40px 0 40px; | ||
`; | ||
|
||
export const StyledLabel = styled.label` | ||
display: block; | ||
h2 + & { | ||
margin-top: 20px; | ||
} | ||
input + & { | ||
margin-top: 20px; | ||
} | ||
textarea + & { | ||
margin-top: 20px; | ||
} | ||
`; | ||
|
||
export const StyledLabelInlineBlock = styled.label` | ||
display: inline-block; | ||
margin-top: 20px; | ||
`; | ||
|
||
export const StyledInputText = styled.input` | ||
width: 100%; | ||
label + & { | ||
margin-top: 4px; | ||
} | ||
`; | ||
|
||
export const StyledTextarea = styled.textarea` | ||
width: 100%; | ||
max-width: 100%; | ||
min-height: 400px; | ||
label + & { | ||
margin-top: 4px; | ||
} | ||
`; | ||
|
||
export const StyledButtonWrapper = styled.div` | ||
padding-top: 20px; | ||
`; | ||
|
||
export const StyledButton = styled.button` | ||
& + button { | ||
margin-left: 20px; | ||
color: #f66; | ||
} | ||
`; | ||
|
||
export const StyledTimestamp = styled.div` | ||
padding-top: 20px; | ||
`; | ||
|
||
export const StyledPreviewTitle = styled.div` | ||
margin-bottom: 40px; | ||
font-size: 1.6rem; | ||
`; | ||
|
||
export const StyledPreview = styled.div` | ||
margin: 40px 0 0 0; | ||
padding: 40px 0; | ||
border-top: 1px solid #999; | ||
border-bottom: 1px solid #999; | ||
`; | ||
|
||
export const StyledReturn = styled.div` | ||
padding: 40px 0; | ||
`; |