blob: cfe2b13aa2b11ea16f5ee9d0f2b4ca2b75e3f1e5 [file] [log] [blame]
Hao Zhuad4ea392020-08-10 01:24:50 -04001/*!
2 * lightable v0.0.1
3 * Copyright 2020 Hao Zhu
4 * Licensed under MIT (https://github.com/haozhu233/kableExtra/blob/master/LICENSE)
5 */
6
7.lightable-minimal {
8 border-collapse: separate;
9 border-spacing: 16px 1px;
10 width: 100%;
Hao Zhud7762a42020-08-10 09:05:47 -040011 margin-bottom: 10px;
Hao Zhuad4ea392020-08-10 01:24:50 -040012}
13
14.lightable-minimal thead tr th {
15 border-bottom: 2px solid black;
16 empty-cells: hide;
17}
18
19.lightable-minimal tbody tr:first-child td {
20 padding-top: 0.5em;
21}
22
23.lightable-minimal.lightable-hover tr:hover {
24 background-color: #f5f5f5;
25}
26
27.lightable-minimal.lightable-striped tr:nth-child(even) {
28 background-color: #f5f5f5;
29}
30
31.lightable-classic {
32 border-top: 2px solid #111111;
33 border-bottom: 2px solid #111111;
34 width: 100%;
Hao Zhud7762a42020-08-10 09:05:47 -040035 margin-bottom: 10px;
Hao Zhuad4ea392020-08-10 01:24:50 -040036}
37
38.lightable-classic thead tr:last-child th {
39 border-bottom: 1px solid #111111;
40}
41
42.lightable-classic.lightable-hover tr:hover {
43 background-color: #f5f5f5;
44}
45
46.lightable-classic.lightable-striped tr:nth-child(even) {
47 background-color: #f5f5f5;
48}
49
50.lightable-material {
51 min-width: 100%;
52 white-space: nowrap;
53 table-layout: fixed;
54 font-family: Roboto, sans-serif;
55 border: 1px solid #EEE;
56 border-collapse: collapse;
Hao Zhud7762a42020-08-10 09:05:47 -040057 margin-bottom: 10px;
Hao Zhuad4ea392020-08-10 01:24:50 -040058}
59
60.lightable-material th {
61 padding: 0.8em;
62 background-color: #f5f5f5;
63}
64
65.lightable-material td {
66 padding: 0.8em;
67 border-top: 1px solid #eeeeee;
68}
69
70.lightable-material.lightable-hover tr:hover {
71 background-color: #f5f5f5;
72}
73
74.lightable-material.lightable-striped tr:nth-child(even) {
75 background-color: #f5f5f5;
76}
77
78.lightable-material.lightable-striped td {
79 border: 0px;
80}
81
82.lightable-material.lightable-striped thead tr:last-child th {
83 border-bottom: 1px solid #ddd;
84}