-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstylefortables.css
92 lines (82 loc) · 1.64 KB
/
stylefortables.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
*{
margin: 0;
padding: 0;
outline: 0;
font-family: 'Nunito',sans-serif;
}
body{
position: relative;
background-image: linear-gradient(rgba(0,0,0,.3),rgba(0,0,0,.3)), url(bgimg.jpg);
width: 100%;
height: 100vh;
background-position: center;
background-size: cover;
}
.wrapper{
width: 80%;
position: absolute;
left: 50%;
transform: translateX(-50%);
}
.statistic{
width: 100%;
}
.total_case_box{
color: white;
background-color: rgba(0, 0, 0, 0.5);
box-shadow: 2px 2px 8px rgba(30,30,30,.2);
margin: 10px 15px;
padding: 15px 0;
text-align: center;
text-transform: uppercase;
}
.total_case_box p{
font-size: 3rem;
}
.wrapper .box_wrapper{
display: flex;
flex-wrap: nowrap;
flex-direction: row;
}
.box_wrapper .box{
color: white;
background-color: rgba(0, 0, 0, 0.5);
box-shadow: 2px 2px 8px rgba(30,30,30,.2);
margin: 10px 15px;
width:25%;
text-align: center;
padding: 15px 0;
border-radius: 8px;
text-transform: uppercase;
}
.box_wrapper .box p{
font-size: 2.5rem;
}
/*Styiling the table*/
table{
width: 100%;
padding: 15px 10px;
margin: 10px 0;
text-align: center;
border-spacing: 0;
}
tr:first-child{
background-color: #37474f;
color: #fafafa;
text-transform: uppercase;
}
th{
padding: 15px 0;
border: none;
border-spacing: 0;
}
tr:nth-child(even){
background-color: #fafafa;
}
tr:nth-child(odd){
background-color: #424242;
color: #fafafa;
}
tr td{
padding: 15px 0;
}