-
Notifications
You must be signed in to change notification settings - Fork 0
/
media1.css
40 lines (35 loc) · 820 Bytes
/
media1.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
@charset "utf-8";
/* CSS Document */
@media
only screen and (max-width: 1300px) {
/* Force table to not be like tables anymore */
table.rsptbl, thead.rsptbl, tbody.rsptbl, th.rsptbl, td.rsptbl, tr.rsptbl {
display: block;
}
/* Hide table headers (but not display: none;, for accessibility) */
thead.rsptbl tr.rsptbl {
position: absolute;
top: -9999px;
left: -9999px;
}
tr.rsptbl { border: 1px solid #ccc; }
td.rsptbl {
/* Behave like a "row" */
border: none;
border-bottom: 1px solid #aaa;
position: relative;
padding-left: 50%;
}
td:before {
/* Now like a table header */
position: absolute;
/*Label the data*/
content: attr(data-th);
/* Top/left values mimic padding */
top: 6px;
left: 6px;
width: 45%;
padding-right: 10px;
white-space: nowrap;
}
}