forked from nst-sdc/DevClub-Site
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
86 lines (76 loc) · 1.62 KB
/
index.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
body {
background-image: url('/photos/background.gif');
background-size: cover;
background-repeat: no-repeat;
font-family: 'Roboto', sans-serif;
color: #f0f0f0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background-color: #1a1a1a;
}
.form {
max-width: 400px;
margin: 100px auto;
background: rgba(30, 30, 30, 0.85);
padding: 20px;
border-radius: 15px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.data1, .data2, .data3 {
margin-bottom: 15px;
}
label {
display: block;
margin-bottom: 5px;
font-weight: bold;
color: #e0e0e0;
}
input[type="text"],
input[type="email"],
input[type="date"],
input[type="radio"] {
width: calc(100% - 10px);
padding: 10px;
border: 1px solid #444;
border-radius: 5px;
background-color: #222;
color: #f0f0f0;
transition: border-color 0.3s, background-color 0.3s;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="date"]:focus {
border-color: #00bcd4;
background-color: #333;
outline: none;
}
input[type="radio"] {
width: auto;
margin-right: 5px;
}
.data2 label {
display: inline-block;
margin-right: 15px;
}
.button-container {
display: flex;
justify-content: space-between;
}
input[type="submit"] {
background-color: #00bcd4;
color: white;
border: none;
padding: 10px;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s, transform 0.2s;
width: 48%;
font-weight: bold;
}
input[type="submit"]:hover {
background-color: #0097a7;
transform: scale(1.05);
}