-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
113 lines (99 loc) · 2.38 KB
/
Copy pathstyle.css
File metadata and controls
113 lines (99 loc) · 2.38 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
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Poppins', sans-serif;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-height: 100vh;
background: url('img.jpg') no-repeat;
background-size: cover;
background-position: center;
padding: 20px;
color: white;
text-align: center;
}
header {
margin-bottom: 40px; /* Space between header and the form */
}
header h1 {
font-size: 28px;
margin-bottom: 20px; /* Space between first and second header */
}
header h2 {
font-size: 20px;
margin-bottom: 15px; /* Space between subsequent headers */
}
.main {
width: 420px;
background: rgba(255, 255, 255, 0.1);
border: 2px solid rgba(255, 255, 255, 0.2);
backdrop-filter: blur(20px);
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
color: white;
padding: 40px 40px; /* Increase top padding for balanced spacing */
border-radius: 15px;
margin-bottom: 20px; /* Space between the form and footer */
}
.main form {
display: flex;
flex-direction: column;
gap: 20px;
margin-top: 20px; /* Add space from the top edge of the form */
}
.main .textbox {
position: relative;
width: 100%;
}
.main .textbox input {
width: 100%;
height: 50px;
background: transparent;
border: none;
outline: none;
border: 2px solid rgba(255, 255, 255, 0.2);
border-radius: 40px;
font-size: 16px;
color: white;
padding: 0 20px;
text-align: center; /* Centers the placeholder text */
}
.main input::placeholder {
color: rgba(255, 255, 255, 0.8);
text-transform: capitalize;
}
.main .button {
width: 100%;
height: 50px;
background: white;
border: none;
outline: none;
border-radius: 40px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
cursor: pointer;
font-size: 16px;
font-weight: bold;
color: rgba(0, 0, 0, 0.8);
}
.main .button:hover {
background: rgba(255, 255, 255, 0.8);
color: rgba(0, 0, 0, 1);
}
.output {
margin-top: 20px;
font-size: 18px;
color: white;
text-align: center;
}
footer {
margin-top: auto; /* Push the footer to the bottom */
padding: 10px 0;
font-size: 14px;
color: rgba(255, 255, 255, 0.7);
text-align: center;
}