-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
128 lines (112 loc) · 2.69 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
@import url("https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
}
body {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: url("https://images.pexels.com/photos/1643409/pexels-photo-1643409.jpeg")
no-repeat;
background-size: cover;
background-position: center;
}
.wrapper {
width: 420px;
background: transparent;
border: 2px solid rgba(255, 255, 255, 0.2);
border-color: rgb(172, 169, 169);
backdrop-filter: blur(20px);
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
color: #fbfcfb;
border-radius: 10px;
padding: 30px 40px;
}
.wrapper h1 {
font-size: 36px;
text-align: center;
}
.wrapper .input-box {
width: 100%;
height: 80px;
margin: 10px 0; /* Ganti dengan jarak vertikal lebih kecil */
}
.input-box input {
width: 100%;
height: 50px; /* Tinggi elemen input */
border: 2px solid rgba(255, 255, 255, 0.4); /* Lebih kontras */
border-radius: 25px; /* Memberikan tampilan rounded */
font-size: 16px;
color: #ffffff;
background-color: rgba(255, 255, 255, 0.1); /* Tambahkan background */
padding: 0 20px; /* Atur padding untuk kesimetrisan */
box-sizing: border-box; /* Memastikan padding tidak memengaruhi ukuran */
outline: none;
transition: all 0.3s ease-in-out; /* Efek animasi */
}
.input-box input:focus {
border-color: rgba(255, 255, 255, 0.8); /* Ganti warna border saat fokus */
background-color: rgba(
255,
255,
255,
0.2
); /* Warna lebih terang saat fokus */
}
.input-box input::placeholder {
color: #edf1ed;
}
.input-box i {
position: absolute;
right: 20px;
top: 50%;
transform: translateY(-50%);
font-size: 20px;
}
.wrapper .remember-forgot {
display: flex;
justify-content: space-between;
font-size: 14.5px;
margin: -15px 0 15px;
}
.remember-forgot label input {
accent-color: #fff;
margin-right: 3px;
}
.remember-forgot a {
color: #fff;
text-decoration: none;
}
.remember-forgot a:hover {
text-decoration: underline;
}
.wrapper .btn {
width: 100%;
height: 45px;
background: #fff;
border: none;
outline: none;
border-radius: 40px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
cursor: pointer;
font-size: 16px;
color: #333;
font-weight: 600;
}
.wrapper .register-link {
font-size: 14.5px;
text-align: center;
margin: 20px 0 15px;
}
.register-link p a {
color: #fff;
text-decoration: none;
font-weight: 600;
}
.register-link p a:hover {
text-decoration: underline;
}