-
Notifications
You must be signed in to change notification settings - Fork 9
/
enchange.css
122 lines (103 loc) · 1.77 KB
/
enchange.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
body,
html {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
background-color: black;
color: white;
}
.container {
max-width: 800px;
margin: 0 auto;
padding: 20px;
opacity: 0;
transition: opacity 1s ease-in-out;
}
h1 {
text-align: center;
margin-bottom: 20px;
}
.search-container,
.toggle-container {
display: flex;
justify-content: space-between;
margin-bottom: 10px;
}
.search-container input {
padding: 5px;
width: 70%;
font-size: 16px;
}
.dark-mode-toggle {
cursor: pointer;
padding: 5px 10px;
border: none;
background-color: #4caf50;
color: white;
border-radius: 4px;
}
table {
width: 100%;
border-collapse: collapse;
background-color: #1a1a1a;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
border-radius: 8px;
overflow: hidden;
}
th,
td {
padding: 12px;
text-align: left;
border-bottom: 1px solid #333;
cursor: pointer;
}
th {
background-color: #2c2c2c;
font-weight: bold;
}
tr:nth-child(even) {
background-color: #262626;
}
tr:hover {
background-color: #333;
transition: background-color 0.3s ease;
}
.rating {
display: inline-block;
transition: transform 0.3s ease;
position: relative;
}
.rating:hover::after {
content: attr(data-tooltip);
position: absolute;
bottom: 100%;
left: 50%;
transform: translateX(-50%);
background-color: rgba(0, 0, 0, 0.7);
color: #fff;
padding: 5px;
border-radius: 4px;
white-space: nowrap;
font-size: 12px;
}
.rating:hover {
transform: scale(1.1);
}
.gray {
color: #a0a0a0;
}
.green {
color: #4caf50;
}
.blue {
color: #2196f3;
}
.yellow {
color: #ffc107;
}
.red {
color: #f44336;
}
.purple {
color: #9c27b0;
}