-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.scss
98 lines (95 loc) · 2.99 KB
/
style.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
$brown: #A62F03;
$orange: #D99962;
$green: #048C73;
$darkgreen: #20402E;
$white: #fff;
$black: #000;
html {
box-sizing: border-box;
}
body {
margin: 0;
min-height: 100vh;
font-family: Helvetica, sans-serif;
font-weight: 500;
letter-spacing: 3px;
display: flex;
justify-content: center;
align-items: center;
background-color: rgb(241, 232, 232);
}
.container {
display: flex;
flex-direction: column;
justify-content: center;
text-align: center;
min-width: 400px;
border-radius: 30px;
padding: 3rem;
background: linear-gradient(rgba(217,153,98,.5), rgba(166,47,3,.5)),
url('https://meilune.github.io/form-validation/noise.svg');
// box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
// box-shadow: rgba(0, 0, 0, 0.17) 0px -23px 25px 0px inset, rgba(0, 0, 0, 0.15) 0px -36px 30px 0px inset, rgba(0, 0, 0, 0.1) 0px -79px 40px 0px inset, rgba(0, 0, 0, 0.06) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
h1 {
color: $brown;
font-size: 38px;
text-shadow: #e0e0e0 1px 1px 0;
}
h3 {
font-size: 22px;
}
form {
.form-group {
display: flex;
flex-direction: column;
text-align: left;
margin-bottom: 0.5rem;
color: $darkgreen;
font-weight: 600;
label{
margin: 0.5rem 0 0.2rem 0;
}
input {
height: 30px;
box-shadow: inset 2px 2px 2px rgba(0, 0, 0, 0.33);
border: 1px solid $darkgreen;
border-radius: 5px;
padding-left: 0.5rem;
outline: none;
box-sizing: border-box;
transition: all 0.3s;
&:valid {
border: 1px solid $green;
}
&:invalid {
border: 1.5px solid $brown;
}
}
}
button {
margin-top: 2rem;
width: 100%;
padding: 1rem 2rem;
background-color: $brown;
border: $brown solid 2px;
border-radius: 10px;
color: $white;
font-size: 18px;
font-weight: 600;
letter-spacing: 3px;
cursor: pointer;
box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 2px, rgba(0, 0, 0, 0.3) 0px 2px 5px -3px;
&:hover {
box-shadow: inset 0px 2px 2px rgba(0, 0, 0, 0.33);
}
}
}
.message-container {
padding: 0 1rem;
border: $darkgreen solid 1px;
border-radius: 10px;
color: $darkgreen;
text-shadow: $white 1px 1px 0;
}
}