-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathweek3_2.css
More file actions
87 lines (75 loc) · 1.41 KB
/
week3_2.css
File metadata and controls
87 lines (75 loc) · 1.41 KB
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
.t1{
background-color: red;
font-weight: bold;
}
.t2{
background-color: green;
font-weight: bold;
}
.table2{
border-collapse: collapse;
}
.table1 {
font-family: arial, sans-serif;
border-collapse: collapse;
width: 50%;
}
.logoimg{
width: 50%;
}
.td, .th {
border: 1px solid #dddddd;
text-align: left;
padding: 8px;
}
.tr:nth-child(even) {
font-weight: bold;
font-style: italic;
background-color: #dddddd;
}
.table-scroll{
display: block;
empty-cells: show;
border-spacing: 0;
border: 1px solid;
}
.table-scroll thead{
background-color:#e4f0f5 ;
position:relative;
display: block;
width:100%;
}
.table-scroll tfoot{
background-color:#e4f0f5 ;
position:relative;
display: block;
width:100%;
}
.table-scroll tbody{
display: block; position:relative;
width:100%; overflow-y:scroll;
border-top: 1px solid rgba(0,0,0,0.2);
}
.table-scroll tr{
width: 100%;
display:flex;
}
.table-scroll td,.table-scroll th{
flex-basis:100%;
flex-grow:2;
display: block;
padding: 1rem;
text-align:left;
}
.table-scroll.small-first-col td:first-child,
.table-scroll.small-first-col th:first-child{
flex-basis:20%;
flex-grow:1;
}
.table-scroll tbody tr:nth-child(2n){
background-color: rgba(130,130,170,0.1);
}
.body-half-screen{
max-height: 50vh;
}
.small-col{flex-basis:10%;}