You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
87 lines
1.2 KiB
CSS
87 lines
1.2 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300&family=Shantell+Sans:wght@300&display=swap');
|
|
|
|
html {
|
|
background: #2b5768;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
body {
|
|
max-width: 600px;
|
|
width: calc(100vw - 24px);
|
|
margin: 0 auto;
|
|
background: white;
|
|
padding: 0;
|
|
}
|
|
|
|
#main {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
nav, footer {
|
|
font-family: 'Quicksand', sans-serif;
|
|
background: #bae0ee;
|
|
padding: 16px;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
}
|
|
|
|
h1 {
|
|
margin: 0;
|
|
flex: 1;
|
|
}
|
|
|
|
main {
|
|
flex: 1;
|
|
padding: 16px;
|
|
font-family: 'Shantell Sans', serif;
|
|
}
|
|
|
|
form {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
border: solid 2px #b0b1ff;
|
|
border-radius: 6px;
|
|
overflow: hidden;
|
|
margin: 8px -4px;
|
|
}
|
|
|
|
form * {
|
|
border: solid 0px transparent;
|
|
border-radius: none;
|
|
outline: none;
|
|
}
|
|
|
|
form textarea {
|
|
grid-column: 1/3;
|
|
height: 200px;
|
|
resize: none;
|
|
padding: 4px;
|
|
}
|
|
|
|
form button {
|
|
height: 50px;
|
|
background: #b0b1ff;
|
|
opacity: .8;
|
|
}
|
|
|
|
form button:hover:not(:disabled) {
|
|
opacity: 1;
|
|
}
|
|
|
|
form button:disabled {
|
|
opacity: .4;
|
|
}
|
|
|
|
#status {
|
|
font-size: 14px;
|
|
opacity: .6;
|
|
}
|
|
|
|
#status.error {
|
|
color: red;
|
|
}
|