-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
139 lines (121 loc) · 2.63 KB
/
style.css
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
/*
Creator : Coding's Time
Youtube Channel : https://www.youtube.com/channel/UC6dnKqrImGWqMb9ty1n0Ziw
Github : https://github.com/codingstime
*/
:root{
font-family: "Raleway", sans-serif;
font-size: 16px;
font-weight: 400;
}
:focus{
outline: none;
}
*{
margin: 0;
box-sizing: border-box;
}
body{
position: relative;
display: grid;
justify-content: center;
align-items: center;
min-height: 100vh;
background-image: linear-gradient(to bottom right, #515bd4, #8134af, #dd2a7b);
color: #fff;
}
body::before,
body::after{
content: "";
position: absolute;
transform: translate(-50%, -50%);
background-color: rgba(255, 255, 255, .1);
border: 1px solid rgba(255, 255, 255, .2);
border-radius: 1rem;
backdrop-filter: blur(5px);
box-shadow: 3px 3px 20px 0 rgba(0, 0, 0, .2);
}
body::before{
top: 55%;
left: 66%;
width: 125px;
height: 125px;
}
body::after{
top: 22%;
left: 35%;
width: 75px;
height: 75px;
}
.bg-glass{
background-color: rgba(255, 255, 255, .1);
border: 1px solid rgba(255, 255, 255, .2);
border-radius: 1rem;
backdrop-filter: blur(5px);
box-shadow: 3px 3px 20px 0 rgba(0, 0, 0, .2);
}
.form{
width: 400px;
padding: 2.5rem 2.25rem;
text-align: center;
}
.profile{
display: grid;
justify-content: center;
align-items: center;
width: 95px;
height: 95px;
margin: 0 auto 3rem;
font-size: 2rem;
border-radius: 50%;
}
.input{
display: block;
width: 100%;
margin-top: 1.5rem;
padding: .625rem 1.375rem;
font-family: "Raleway", sans-serif;
font-size: 1rem;
color: #fff;
border-radius: 9999px;
transition: box-shadow .25s;
}
.input::placeholder{
color: rgba(255, 255, 255, .5);
}
.input:focus{
box-shadow: 3px 3px 20px 0 rgba(245, 133, 41, .2);
}
.button{
display: block;
margin: 2.5rem auto 0;
padding: .75rem 3rem;
font-family: "Raleway", sans-serif;
font-size: .875rem;
font-weight: 500;
text-align: center;
letter-spacing: .5px;
background-color: #f58529;
color: #fff;
border-radius: 9999px;
cursor: pointer;
transition: background-color .25s;
}
.button:hover{
background-color: rgba(255, 255, 255, .1);
backdrop-filter: blur(5px);
}
.register{
margin-top: 1.5rem;
font-size: .875rem;
}
.register a {
font-weight: 500;
text-decoration: none;
color: rgba(255, 255, 255, .75);
transition: color .25s;
}
.register a:hover {
text-decoration: underline;
color: #fff;
}