-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
80 lines (63 loc) · 1.01 KB
/
styles.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
body{
background-color: #655091;
}
h1 {
text-align: center;
color: white;
}
/* Flex box effects */
.flex-container{
display: flex;
flex-wrap: wrap;
justify-content: center;
background-image: linear-gradient(to right, #0f0c29, #3b357c, #24243e );
padding: 20px;
margin: 10px;
}
/* table header bg color */
th {
background-color: rgba(221, 221, 221, 1);
}
/* table container effects */
.table-container {
width: 90%;
box-shadow: 0 10px 10px rgba(0, 0, 0, 0.7);
}
.table-container,
th,
td {
border: 1px solid black;
border-collapse: collapse;
padding: 8px;
text-align: center;
}
footer{
color: white;
text-align: center;
font-size: 20px;
}
th:hover {
cursor: pointer;
transform: scale(1.2);
}
tr:nth-child(odd){
background-color: #9c7be480;
}
tr:nth-child(even){
background-color: #8B7AAE;
}
tr:hover{
background-color: #c7c1a7;
}
@media (max-width: 768px) {
.table-container {
font-size: 12px;
}
th,
td {
padding: 5px;
}
h1{
font-size: 1.2rem;
}
}