11body {
2- font-family : Arial , sans-serif;
3- background-color : # f4f4f4 ;
2+ font-family : 'Roboto' , sans-serif; /* Use a modern font */
3+ background-color : # f8f9fa ; /* Light gray background for contrast */
44 margin : 0 ;
55 padding : 0 ;
6+ color : # 212529 ; /* Dark gray text for readability */
67}
78
89.container {
9- width : 80 % ;
10- margin : 20 px auto;
11- padding : 20 px ;
12- background-color : white;
13- border-radius : 8 px ;
14- box-shadow : 0 0 10 px rgba (0 , 0 , 0 , 0.1 );
10+ max- width: 1200 px ; /* Limit the maximum width */
11+ margin : 40 px auto; /* Increased margin for spacing */
12+ padding : 30 px ; /* More padding for content */
13+ background-color : # ffffff ; /* White background for content */
14+ border-radius : 10 px ; /* Slightly rounded corners */
15+ box-shadow : 0 4 px 20 px rgba (0 , 0 , 0 , 0.1 ); /* Subtle shadow for depth */
1516}
1617
1718h1 {
18- color : # 333 ;
19+ color : # 343a40 ; /* Darker shade for the heading */
1920 text-align : center;
21+ margin-bottom : 20px ;
22+ font-weight : 700 ; /* Bolder font */
2023}
2124
2225.form-control {
23- margin-bottom : 20 px ;
26+ margin-bottom : 25 px ; /* Consistent spacing */
2427 display : flex;
2528 justify-content : center;
2629 align-items : center;
30+ gap : 10px ; /* Modern spacing with gap */
2731}
2832
2933label {
30- margin-right : 10 px ;
34+ font-weight : 500 ; /* Medium font weight for labels */
3135}
3236
3337input [type = "number" ] {
34- width : 60px ;
35- padding : 5px ;
36- margin-right : 10px ;
38+ width : 80px ; /* Slightly wider input */
39+ padding : 8px ;
40+ border : 1px solid # ced4da ; /* Light border */
41+ border-radius : 5px ;
42+ transition : border-color 0.3s ; /* Smooth transition on focus */
43+ }
44+
45+ input [type = "number" ]: focus {
46+ border-color : # 007bff ; /* Blue border on focus */
47+ outline : none;
3748}
3849
3950button {
40- padding : 5 px 15 px ;
41- background-color : # 007bff ;
42- color : white;
51+ padding : 8 px 20 px ;
52+ background-color : # 007bff ; /* Primary color */
53+ color : # ffffff ; /* White text */
4354 border : none;
44- border-radius : 4 px ;
55+ border-radius : 5 px ;
4556 cursor : pointer;
57+ transition : background-color 0.3s , transform 0.2s ; /* Smooth transitions */
4658}
4759
4860button : hover {
49- background-color : # 0056b3 ;
61+ background-color : # 0056b3 ; /* Darker blue on hover */
62+ transform : translateY (-2px ); /* Lift effect */
5063}
51-
5264table {
5365 width : 100% ;
5466 border-collapse : collapse;
5567 margin-top : 20px ;
68+ font-size : 0.9rem ;
5669}
5770
5871th , td {
59- padding : 10 px ;
60- border-bottom : 1px solid # ddd ;
72+ padding : 12 px 15 px ;
73+ border-bottom : 1px solid # dee2e6 ;
6174 text-align : left;
6275}
6376
6477th {
65- background-color : # 007bff ;
66- color : white;
78+ background-color : # 0056b3 ; /* Darker blue for better contrast */
79+ color : # ffffff ; /* White text for visibility */
80+ font-weight : 600 ; /* Slightly bolder text */
81+ text-transform : uppercase; /* Uppercase for a modern touch */
82+ position : sticky; /* Sticky header for better navigation */
83+ top : 0 ;
84+ padding : 15px 10px ; /* More padding for a balanced look */
85+ letter-spacing : 0.5px ; /* Slight letter spacing for readability */
6786}
6887
6988tr : hover {
70- background-color : # f1f1f1 ;
89+ background-color : # f1f3f5 ; /* Light gray on row hover */
7190}
91+
92+ td button {
93+ background-color : # dc3545 ;
94+ border-radius : 5px ;
95+ transition : background-color 0.3s , transform 0.2s ;
96+ }
97+
98+ td button : hover {
99+ background-color : # c82333 ;
100+ transform : translateY (-2px );
101+ }
102+
103+ .name {
104+ color : # ffffff ; /* White text for visibility */
105+ }
0 commit comments