-
Notifications
You must be signed in to change notification settings - Fork 681
Expand file tree
/
Copy pathstyle.css
More file actions
130 lines (117 loc) · 2.29 KB
/
style.css
File metadata and controls
130 lines (117 loc) · 2.29 KB
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
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@200;300;400;500;600;700&display=swap");
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Open Sans",sans-serif;
}
body{
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
width: 100%;
}
body::before{
content: "";
position: absolute;
height: 100%;
width:100%;
background: url(https://i.postimg.cc/MZ7dYZLS/backgrundimg.webp);
background-position: center;
background-size: cover;
}
.maincontainer{
width: 400px;
padding: 30px;
border: 1px solid rgba(255, 255, 255, 0.5);
backdrop-filter:blur(7px);
border-radius:8px;
display:flex;
display:grid;
/* height:440px */
}
form{
display: flex;
flex-direction: column;
}
form h2{
font-size: 2rem;
color: white;
margin-bottom: 20px;
}
.input-field{
position: relative;
border-bottom: 2px solid #ccc;
margin: 15px 0;
}
.input-field input{
width: 100%;
height:40px;
background: transparent;
border: none;
outline: none;
color: #fff;
font-size: 1rem;
}
.input-field label{
position: absolute;
top: 50%;
left: 0;
transform: translateY(-50%);
color: #fff;
font-size: 1rem;
pointer-events: none;
transition: 0.3s ease-in;
}
.input-field input:focus~label,
.input-field input:valid~label{
transform: translateY(-120%);
font-size: 0.8rem;
top: 10px;
}
.password-options{
display: flex;
align-items: center;
justify-content: space-between;
margin: 25px 0 35px 0;
color: #fff;
}
.password-options label{
display: flex;
align-items: center;
}
#remember{
accent-color: #fff;
}
.password-options label p{
margin-left: 8px;
}
.maincontainer a{
color: #efefef;
text-decoration: none;
}
.maincontainer a:hover{
text-decoration: underline;
}
button{
background-color: #fff;
color: #000;
font-size: 1rem;
font-weight: 600;
padding: 12px 20px;
border-radius: 3px;
border:2px solid transparent ;
cursor: pointer;
transition: 0.3s ease;
}
button:hover{
background-color: rgba(255, 255, 255, 0.15);
border-color: #fff;
color: #fff;
}
.account-options{
text-align: center;
margin-top: 30px;
color: #fff;
}