Created
August 1, 2022 19:43
-
-
Save codiini/cd826798ac91f47fbe023acfc758e32b to your computer and use it in GitHub Desktop.
Restric explicit content with Gatsby functions
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
.wrapper { | |
padding-top: 50px; | |
display: flex; | |
flex-direction: column; | |
align-items: center; | |
justify-content: center; | |
} | |
.title { | |
font-size: 2em; | |
font-weight: bold; | |
color: #333; | |
max-width: 400px; | |
text-align: center; | |
} | |
.container { | |
width: 100%; | |
display: flex; | |
flex-direction: column; | |
align-items: center; | |
justify-content: center; | |
} | |
input[type="file"] { | |
display: none; | |
} | |
.formContainer { | |
width: 100%; | |
display: flex; | |
flex-direction: column; | |
align-items: center; | |
justify-content: center; | |
} | |
.inputLabel { | |
border: 1px solid #ccc; | |
display: inline-block; | |
padding: 6px 12px; | |
cursor: pointer; | |
} | |
button[type="submit"] { | |
width: 70%; | |
padding: 10px; | |
margin-top: 10px; | |
border: none; | |
background: #333; | |
color: #fff; | |
font-weight: bold; | |
cursor: pointer; | |
} | |
.imageWrapper { | |
width: 100%; | |
height: 100%; | |
min-height: 400px; | |
max-width: 400px; | |
display: flex; | |
align-items: center; | |
justify-content: center; | |
margin-top: 50px; | |
border: 3px dashed #ccc; | |
} | |
.messages{ | |
font-size: 1.5em; | |
color: #333; | |
max-width: 400px; | |
text-align: center; | |
} | |
.error{ | |
color: red; | |
} | |
.upload{ | |
color: #9e9e09db | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment