-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
137 lines (123 loc) · 2.4 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
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
}
/* Body Styling */
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #121212;
color: white;
}
/* Main Container */
.container {
background: #1e1e1e;
padding: 25px;
border-radius: 12px;
box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.1);
width: 420px;
text-align: center;
}
/* Main Flex Layout */
.main {
display: flex;
flex-direction: column;
align-items: center;
}
/* Title */
h2 {
color: white;
margin-bottom: 15px;
}
/* Form Container */
.parent {
width: 100%;
padding: 20px;
box-shadow: 0px 0px 15px rgba(173, 216, 230, 0.5);
border-radius: 10px;
}
/* Input Fields */
input {
width: 100%;
padding: 12px;
margin: 8px 0;
background: #2c2c2c;
border: 1px solid #444;
border-radius: 5px;
color: white;
font-size: 16px;
outline: none;
transition: 0.3s ease-in-out;
}
input:focus {
border-color: #007bff;
box-shadow: 0px 0px 8px rgba(0, 123, 255, 0.7);
background: #222;
}
/* Submit Button */
button {
width: 100%;
padding: 12px;
background: #222;
color: white;
font-size: 18px;
font-weight: bold;
border: 2px solid #444;
border-radius: 5px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
transition: 0.3s ease-in-out;
outline: none;
}
button:hover {
border-color: #007bff;
box-shadow: 0px 0px 10px rgba(0, 123, 255, 0.7);
background: #2c2c2c;
transform: scale(1.05);
}
button i {
font-size: 20px;
}
/* Car List Header */
.car-head {
display: grid;
grid-template-columns: 1fr 1fr 1fr 40px;
align-items: center;
padding: 12px;
background: #292929;
margin-top: 20px;
border-radius: 6px;
font-weight: bold;
text-align: center;
}
/* Car List Data */
.carListDiv {
display: grid;
grid-template-columns: 1fr 1fr 1fr 40px;
/* Same as header */
align-items: center;
padding: 12px;
background: #1e1e1e;
margin-top: 5px;
border-radius: 6px;
transition: 0.3s;
text-align: center;
}
/* Delete Icon */
.carListDiv i {
text-align: center;
cursor: pointer;
color: red;
transition: 0.3s;
}
.carListDiv i:hover {
color: #ff0000;
transform: scale(1.2);
}