Initialize Repo

This commit is contained in:
2022-06-21 03:35:42 +02:00
parent 384fbba22d
commit 580e0f7906
10 changed files with 552 additions and 0 deletions

137
assets/style.scss Normal file
View File

@@ -0,0 +1,137 @@
$accent: #0066cc;
$accent-d: #004080;
$text: #363636;
*,
*:before,
*:after {
box-sizing: border-box;
font-family: 'Open Sans';
}
body {
background: linear-gradient(#000000f0, #00000070),
url('bg.jpg') no-repeat center center fixed;
background-size: cover;
height: 100vh;
margin: 0;
color: $text;
#wrapper {
padding-top: 20px;
}
a {
font-size: 12px;
color: $text;
text-decoration: none;
&:hover {
text-decoration: underline;
}
&#home {
display: inline-block;
width: 50%;
text-align: left;
}
&#login {
display: inline-block;
width: 50%;
text-align: right;
}
}
#banner {
background-image: url(banner.png);
background-size: contain;
height: 63px;
width: 300px;
margin: 60px auto;
}
#footer {
max-width: 500px;
padding: 15px 35px;
font-size: 12px;
background-color: #f0f0f0;
color: #7a7b76;
margin: auto;
text-align: center;
a {
color: $accent;
}
}
#form {
background-color: white;
padding: 20px 40px 30px 40px;
max-width: 500px;
margin: auto;
border-top: 4px solid $accent;
h1 {
font-weight: 300;
font-size: 24px;
text-align: center;
}
p {
text-align: center;
a {
color: $accent;
font-size: inherit;
}
&.error {
color: #c40233;
}
}
label {
display: inline-block;
font-size: 12px;
margin-top: 15px;
}
input[type='email'],
textarea {
width: 100%;
height: 2.25rem;
border: 1px solid #ededed;
border-bottom-color: #8a8d90;
padding: 5px 8px;
&:hover {
border-bottom-width: 2px;
border-bottom-color: $accent;
}
}
textarea {
resize: none;
height: 10rem;
}
input[type='submit'] {
width: 100%;
background-color: $accent;
color: white;
padding: 6px 16px;
border: none;
margin-top: 15px;
cursor: pointer;
&:hover {
background-color: $accent-d;
}
}
}
.small {
font-size: 12px;
}
}