-
Notifications
You must be signed in to change notification settings - Fork 0
/
form (1).css
151 lines (147 loc) · 3.15 KB
/
form (1).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
*{
padding: 0;
margin: 0;
font-family: 'Poppins', sans-serif;
box-sizing: border-box;
}
body{
display: flex;
justify-content: right;
align-items: center;
height: 100vh;
background-image: url("./pictures/welcome.png");
background-repeat:no-repeat ;
background-position: left;
background-position-x: 100px;
font-family: 'Poppins', sans-serif;
}
.Container{
align-items: right;
max-width: 650px;
padding: 28px;
margin: 0 28px;
margin-right: 100px;
border-radius: 10px;
overflow: hidden;
background: rgba(0,0,0,0.2);
box-shadow: 0 15px 20px rgba(0,0,0,0.6);
}
h2{
font-size: 26px;
font-weight: bold;
text-align: left;
padding-bottom: 8px;
border-bottom: 1px solid seashell;
}
.content{
display: flex;
flex-wrap: wrap;
justify-content: space-between;
padding: 20px 0;
}
.input-box{
display: flex;
flex-wrap: wrap;
width: 50%;
padding-bottom: 15px;
}
.input-box:nth-child(2n){
justify-content: end;
}
.input-box label, .gender-title{
width: 95%;
font-weight: bold;
margin: 5px 0;
}
.input-box input{
height: 40px;
width: 95%;
padding: 0 10px;
border-radius: 5px;
border: 1px solid #ccc;
outline: none;
}
.input-box input:is(:focus,:valid){
box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}
.checkbox{
font-size: 14px;
font-style: italic;
color: #fff;
margin: 5px 0;
padding: 10px;
line-height: 1.5;
}
.checkbox:hover{
cursor: pointer;
}
.alert a{
font-weight: bold;
text-decoration: none;
color: skyblue;
}
.alert a:hover{
font-weight: bold;
text-decoration: underline;
color: #380036;
}
/* .button-container{
margin: 15px 0;
}
.button-container button{
width: 20%;
margin-top: 10px;
padding: 10px;
display: block;
font-size: 20px;
border: none;
border-radius: 5px;
background-image: linear-gradient(to right, #74ebd5 #ACB6E5);
cursor: pointer;
transition: 0.3s;
} */
.button-container button:hover{
background-image: linear-gradient(to right, #61045f, #11076b);
}
@media(max-width: 600px){
.Container{
min-width: 280px;
}
.content{
max-height: 380px;
overflow: auto;
}
.input-box{
margin-bottom: 12px;
width: 100%;
}
.input-box:nth-child(2n){
justify-content: space-between;
}
.content::-webkit-scrollbar{
width: 5;
}
}
button{
background-color: #8EC5FC;
background-image: linear-gradient(62deg, #8EC5FC 0%, #E0C3FC 100%);
width: 25%;
margin-top: 10px;
padding: 10px;
display: block;
font-size: 20px;
border: 3px solid #000000;
border-radius: 10px;
}
button:hover {
/* letter-spacing: 2px; */
background-color: hsl(261deg 80% 48%);
color: hsl(0, 0%, 100%);
}
button:active {
/* letter-spacing: 1px; */
background-color: hsl(161deg 80% 48%);
color: hsl(0, 0%, 100%);
box-shadow: rgb(114, 43, 247) 0px 0px 0px 0px;
transition: 100ms;
}