static/css/style.css
/* BASIC RESET */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Roboto, 'Helvetica Neue', sans-serif;
-webkit-tap-highlight-color: transparent;
}
/* Styles */
.container {
max-width: 1100px;
padding: 0 4.5%;
margin: 0 auto;
}
.notfound {
text-align: center;
padding: 40px 0;
min-height: calc(100vh - 130px);
line-height: 1.5;
}
.notfound h1{
font-weight: 500;
color: #181e29;
}
img {
max-width: 100%;
}
h4 {
color: #404d67;
font-weight: 500;
font-size: 18px;
margin-bottom: 8px;
}
p {
color: #000000;
line-height: 1.45;
}
label {
display: block;
font-weight: 500;
color: #404d67;
margin-bottom: 8px;
font-size: 16px;
}
input[type="text"],
input[type="url"],
input[type="email"] {
padding: 12px;
font-size: 16px;
background-color: #f6f9ff;
border: 1.5px solid #dee7f9;
border-radius: 2px;
outline: none;
transition: all .3s ease-in-out;
}
input[type="text"]:focus,
input[type="url"]:focus,
input[type="email"]:focus {
background: white;
border-color: #4259ED;
}
/* Toggle */
.input.toggle input[type=checkbox]{
height: 0;
width: 0;
visibility: hidden;
}
.input.toggle label {
cursor: pointer;
text-indent: -9999px;
width: 60px;
height: 34px;
background: #A2AECD;
display: inline-block;
border-radius: 100px;
position: relative;
margin: 0 8px;
}
.input.toggle label:after {
content: '';
position: absolute;
top: 2px;
left: 2px;
width: 30px;
height: 30px;
background: #fff;
border-radius: 90px;
transition: 0.3s;
}
.input.toggle input:checked + label {
background: #404d67;
}
.input.toggle input:checked + label:after {
left: calc(100% - 2px);
transform: translateX(-100%);
}
.input.toggle span {
line-height: 34px;
font-weight: 500;
color: #404d67;
}
/* Checkbox */
.checkbox {
z-index: 0;
position: relative;
display: inline-block;
font-size: 16px;
line-height: 1.5;
}
/* Input */
.checkbox > input {
appearance: none;
-moz-appearance: none;
-webkit-appearance: none;
z-index: -1;
position: absolute;
left: -10px;
top: -8px;
display: block;
margin: 0;
border-radius: 50%;
width: 40px;
height: 40px;
box-shadow: none;
outline: none;
opacity: 0;
transform: scale(1);
pointer-events: none;
transition: opacity 0.3s, transform 0.2s;
}
.checkbox > span {
display: inline-block;
width: 100%;
cursor: pointer;
font-weight: 500;
color: #404d67;
}
/* Box */
.checkbox > span::before {
content: "";
display: inline-block;
box-sizing: border-box;
margin: 3px 11px 3px 1px;
border: solid 2px; /* Safari */
border-color: #404d67;
border-radius: 2px;
width: 18px;
height: 18px;
vertical-align: top;
transition: border-color 0.2s, background-color 0.2s;
}
/* Checkmark */
.checkbox > span::after {
content: "";
display: block;
position: absolute;
top: 3px;
left: 1px;
width: 10px;
height: 5px;
border: solid 2px transparent;
border-right: none;
border-top: none;
transform: translate(3px, 4px) rotate(-45deg);
}
.checkbox > input:checked + span::before,
.checkbox > input:indeterminate + span::before {
border-color: #4259ED;
background-color: #4259ED;
}
.checkbox > input:checked + span::after,
.checkbox > input:indeterminate + span::after {
border-color: white;
}
.checkbox > input:active {
opacity: 1;
transform: scale(0);
transition: transform 0s, opacity 0s;
}
.checkbox > input:active + span::before {
border-color: #4259ED;
}
.checkbox > input:checked:active + span::before {
border-color: transparent;
background-color: rgba(0, 0, 0, 0.6);
}
/* Layout */
header {
padding: 25px 0;
box-shadow: 0 1px 1px rgba(66, 89, 237, 0.11);
background-color: #e9e9e9
}
header .container {
display: flex;
align-items: center;
justify-content: space-between;
max-width: 1600px;
position: relative;
}
header .logo {
display: flex;
align-items: center;
text-decoration: none;
color: #454545;
font-size: 18px;
}
header .logo img {
height: 25px;
margin-right: 12px;
}
header .drop-btn {
width: 20px;
height: 20px;
}
header .drop-btn .img_btn {
cursor: pointer;
}
header .drop-btn .dropdown {
display: none;
position: absolute;
top: 32px;
right: calc(4% - 10px);
max-width: 350px;
width: 100%;
background: white;
box-shadow: 0 0 1px 1px rgba(66, 89, 237, 0.11);
z-index: 999999;
}
header .drop-btn .dropdown.visible {
display: block;
}
header .drop-btn .dropdown .more {
text-align: center;
padding: 10px 0;
background: #fbfdff;
color: #404d67;
}
header .drop-btn .dropdown .more a {
text-decoration: none;
}
header .drop-btn .dropdown ul {
list-style-type: none;
padding: 10px;
display: flex;
flex-wrap: wrap;
}
header .drop-btn .dropdown li {
width: 33.3%;
border-radius: 2px;
}
header .drop-btn .dropdown li:hover {
box-shadow: 0 0 0 1px rgba(66, 89, 237, 0.11);
}
header .drop-btn .dropdown li a {
padding: 10px;
display: inline-block;
text-align: center;
text-decoration: none;
color: #404d67;
width: 100%;
}
header .drop-btn .dropdown li a .img {
width: 95%;
margin: 0 auto;
height: 60px;
display: flex;
justify-content: center;
align-items: center;
}
header .drop-btn .dropdown li a span {
display: block;
margin-top: 5px;
}
header .drop-btn .dropdown li a img {
max-height: 100%;
}
main {
margin: 45px 0;
}
.input {
margin-bottom: 20px;
}
.input__less {
margin-bottom: 5px;
}
.main-form .row {
display: flex;
justify-content: space-between;
margin-bottom: 45px;
}
.main-form .row.single {
align-items: center;
}
.main-form .row .left {
max-width: 400px;
}
.main-form .row .right {
width: 100%;
max-width: 420px;
}
.main-form input[type="text"],
.main-form input[type="url"],
.main-form input[type="email"] {
width: 100%;
}
.main-form .table .line {
display: flex;
line-height: 34px;
}
.main-form .table .line span {
width: 300px;
font-weight: 500;
color: #404d67;
}
.custom__file__input {
display: flex;
}
.custom__file__input button {
cursor: pointer;
padding: 12px;
min-width: 100px;
font-size: 15px;
background-color: #dadce0;
border: 1.5px solid #b2b5b9;
border-top-right-radius: 2px;
border-bottom-right-radius: 2px;
outline: none;
color: #404d67;
user-select: none;
}
.custom__file__input span.filename {
padding: 12px;
width: 100%;
display: inline-block;
font-size: 15px;
background-color: #fff;
border: 1.5px solid #dee7f9;
border-right: none;
border-top-left-radius: 2px;
border-bottom-left-radius: 2px;
}
.submit_button {
text-align: center;
}
button {
font-size: 16px;
width: 185px;
cursor: pointer;
}
.btn-dark {
background: #4259ED;
border: none;
color: white;
border-radius: 50px;
padding: 20px 20px;
outline: none;
transition: all .3s ease-in-out;
}
.btn-dark:hover, .btn-dark:active {
background: #3046d2;
}
footer {
background: #e9e9e9;
text-align: center;
padding: 15px 4%;
}
@media screen and (max-width: 768px) {
.row {
flex-direction: column;
}
.main-form .row.single {
align-items: flex-start;
}
.row .right {
margin-top: 15px;
}
.container {
max-width: 600px;
}
}