-
Notifications
You must be signed in to change notification settings - Fork 0
/
welcome.css
133 lines (129 loc) · 2.25 KB
/
welcome.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
body{
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
font-family: 'Jost', sans-serif;
background-image: url(mountains.jpg);
background-size: cover;
backdrop-filter: blur(0px);
background-position: center center;
background-attachment: fixed;
background-repeat: no-repeat;
/* background: linear-gradient(to bottom, #313131, #7d7c7c, #313131); */
}
label{
color: #fff;
font-size: 2.3em;
justify-content: center;
display: flex;
margin: 40px;
font-weight: bold;
cursor: pointer;
transition: .5s ease-in-out;
caret-color: transparent;
}
input{
width: 60%;
height: 20px;
background: #e0dede;
justify-content: center;
display: flex;
margin: 20px auto;
padding: 10px;
border: 1px solid black;
outline: none;
border-radius: 5px;
transition: border-color .5s ease-out;
}
input:focus {
border-color: #6d6d6d;
}
button{
width: 60%;
height: 40px;
margin: 10px auto;
justify-content: center;
display: block;
color: #fff;
background: #6d6d6d;
font-size: 1em;
font-weight: bold;
margin-top: 20px;
outline: none;
border: 1px solid black;
border-radius: 5px;
transition: .2s ease-in;
cursor: pointer;
caret-color: transparent;
}
button:hover{
background: #313131;
}
.main{
width: 350px;
height: 650px;
overflow: hidden;
border-radius: 10px;
box-shadow: 5px 20px 50px #000;
backdrop-filter: blur(10px);
}
.register{
position: relative;
width:100%;
height: 100%;
margin-bottom: 20%;
}
.login{
height: 610px;
background: #eee;
border-radius: 60% / 15%;
transform: translateY(-180px);
transition: .8s ease-in-out;
}
.login img{
width: 70%;
height: auto;
display: block;
margin-top: 8%;
margin-left: 17%;
margin-right: 15%;
caret-color: transparent;
}
.login label{
color: #6d6d6d;
transform: scale(.6);
padding-top: 5%;
}
.password-container{
position: relative;
}
.fa-eye{
position: absolute;
padding-right: 17%;
top: 28%;
right: 4%;
cursor: pointer;
color: #6d6d6d;
}
#login-box {
visibility: hidden;
transition: visibility .6s linear;
}
#login-box.show {
visibility: visible;
}
#chk{
display: none;
}
#chk:checked ~ .login{
transform: translateY(-650px);
}
#chk:checked ~ .login label{
transform: scale(1);
}
#chk:checked ~ .register label{
transform: scale(.6);
}