-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
111 lines (96 loc) · 1.75 KB
/
style.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
/* Global Styles */
body {
margin: 0;
padding: 0;
font-family: 'Roboto', sans-serif;
background: #f0f2f5;
color: #333;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.container {
width: 80%;
max-width: 1200px;
margin: auto;
background: #fff;
padding: 30px;
border-radius: 10px;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}
/* Title */
.title {
text-align: center;
color: #4CAF50;
font-size: 2.0em;
margin-bottom: 20px;
letter-spacing: 1px;
}
/* Input Field */
.input-field {
width: 90%;
padding: 15px;
font-size: 18px;
border: 2px solid #4CAF50;
border-radius: 5px;
outline: none;
transition: 0.3s;
margin-bottom: 20px;
}
.input-field:focus {
border-color: #66BB6A;
box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
}
/* Table Styles */
.table-container {
max-height: 400px;
overflow-y: auto;
}
table {
width: 100%;
border-collapse: collapse;
margin-top: 10px;
background: #fff;
text-align: center;
}
th, td {
padding: 15px;
border: 1px solid #ddd;
font-size: 18px;
}
th {
background-color: #4CAF50;
color: white;
text-transform: uppercase;
letter-spacing: 1px;
}
td {
color: #333;
}
/* Alternating row colors */
tbody tr:nth-child(odd) {
background-color: #f9f9f9;
}
tbody tr:nth-child(even) {
background-color: #f1f1f1;
}
/* Hover Effect */
tbody tr:hover {
background-color: #f5f5f5;
}
/* Responsive Design */
@media screen and (max-width: 768px) {
.container {
width: 90%;
padding: 20px;
}
.input-field {
font-size: 16px;
padding: 10px;
}
th, td {
font-size: 16px;
padding: 10px;
}
}