-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
171 lines (147 loc) · 3.28 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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
/*Important Styles*/
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
/*Body Style*/
body{
display: flex;
justify-content: center;
align-items: center;
background-image: url(https://images.unsplash.com/photo-1487088678257-3a541e6e3922?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1567&q=80);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
height: 100vh;
}
/*End of Body Style*/
/*Login Form Style*/
body>.login{
width: 340px;
height: 400px;
background-color:#f3f3f3;
border-radius: 15px;
}
/*End of Login form Style*/
/*Title Style*/
.title{
text-align: center;
padding: 20px;
background-color: rgb(0, 81, 119);
border-radius: 15px 15px 0 0;
margin-bottom: 25px;
color: whitesmoke;
}
/*End of Title Style*/
/*Input Style*/
.input{
width: 270px;
height: 40px;
padding: 15px;
margin: 20px 35px 0 35px;
border: none;
outline: none;
background: transparent;
letter-spacing: 1px;
border-bottom: 2px solid rgb(0, 174, 255);
}
/*End of Input Style/
/*Underline Effect Style*/
.underline{
height: 2px;
width: 0;
display: inline-block;
position: relative;
left: 35px;
bottom: 14px;
background-color: rgb(0, 81, 119);
transition: 0.8s;
}
/*End of Underline Effect Style*/
.input:focus ~ .underline {
width: 270px;
}
/*Forget Password Style*/
.forget{
text-decoration: none;
display: inline-block;
margin: 15px 35px 0 35px;
padding-top: 10px;
color: rgb(0, 174, 255);
}
/*End of Forget Password Style*/
/*Button Style*/
.loginbtn{
width: 270px;
height: 40px;
outline: none;
border: none;
text-align: center;
background-color: rgb(0, 81, 119);
border-radius: 10px;
cursor: pointer;
transition: 0.5s;
margin: 30px 35px 0 35px;
font-size: 16px;
color: whitesmoke;
}
.loginbtn:hover{
background-color: rgb(0, 174, 255);
}
/*End of Button Style*/
/*Title Animation*/
.title span{
display: inline-block;
animation: animate 1.5s infinite;
}
.title span:nth-child(1){
animation-delay: 0.1s;
}
.title span:nth-child(2){
animation-delay: 0.3s;
}
.title span:nth-child(3){
animation-delay: 0.5s;
}
.title span:nth-child(4){
animation-delay: 0.7s;
}
.title span:nth-child(5){
animation-delay: 0.9s;
}
@keyframes animate{
0%{
transform: rotate(0) scale(1) translateY(0px);
}
25%{
transform: rotate(10deg) scale(0.9) translateY(-10px);
}
50%{
transform: rotate(10deg) scale(0.9) translateY(-10px);
}
75%{
transform: rotate(0) scale(1) translateY(0px);
}
100%{
transform: rotate(0) scale(1) translateY(0px);
}
}
/*End of Title Animation*/
/*Contact Me Section*/
body>section.contactme{
position: absolute;
top: 90%;
left: 50%;
transform: translate(-50%, -50%);
}
body>section.contactme>p{
color: white;
font-size: 24px;
}
body>section.contactme>p>a{
color: yellow;
font-size: 24px;
text-decoration: none;
}
/*End of Contact Me Section*/