Blame view

doc/Wize_Doc_files/_resources/common/zim-table-style.css 1.57 KB
33afad1d3   William Daniau   Ajout d'une page ...
1
2
3
4
5
6
7
8
9
10
  /* Table definition */
  
          table {            
              border-collapse: collapse;
              width: 98%;
              margin-left: auto;
              margin-right: auto;
          }
  
          td,th  {
2bcae7c85   William Daniau   Update demo
11
              border: 1px solid var(--main-td-th-border-color);
33afad1d3   William Daniau   Ajout d'une page ...
12
13
14
              padding: 4px;
          }
                  
2bcae7c85   William Daniau   Update demo
15
16
17
          tr:nth-child(odd){background-color: var(--main-tr-odd-background-color);}
                  
          tr:nth-child(even){background-color: var(--main-tr-even-background-color);}
33afad1d3   William Daniau   Ajout d'une page ...
18

2bcae7c85   William Daniau   Update demo
19
          tr:hover {background-color: var(--main-tr-hover-background-color);}
33afad1d3   William Daniau   Ajout d'une page ...
20
21
22
23
24
25
26
27
28
29
30
31
  
          th {
              padding-top: 6px;
              padding-bottom: 6px;            
              /*background-color: #4CAF50;*/
              /*background-color: #3a853c;*/
              /*background-color: #85733a;*/
              /*background-color: #3a7685;*/
              /*background-color: #295e2a;*/
              /*color: white;*/  
              
              /*background-color: #d1e1c1;*/
2bcae7c85   William Daniau   Update demo
32
33
              background-color: var(--main-th-background-color);
              color: var(--main-th-color);              
33afad1d3   William Daniau   Ajout d'une page ...
34
          }
2bcae7c85   William Daniau   Update demo
35
          /* Overriding for the navigation table in header */
33afad1d3   William Daniau   Ajout d'une page ...
36
37
38
39
40
41
42
43
44
45
46
47
          table.navigation {
              border-collapse: collapse;
              width: auto;
              margin-left: 0;
              margin-right: auto;  
          }
          
          td.navigation, th.navigation {
              border: 0;
              padding: 0;            
          }
          
2bcae7c85   William Daniau   Update demo
48
49
50
51
          tr.navigation {
              background-color: white;
          }
          
33afad1d3   William Daniau   Ajout d'une page ...
52
53
54
          tr.navigation:hover {
              background-color: white;
          }