JaMugen commited on
Commit
b9c937f
·
1 Parent(s): ff8dcb9

Update styles.css

Browse files
Files changed (1) hide show
  1. styles.css +11 -13
styles.css CHANGED
@@ -1,32 +1,30 @@
1
-
2
  /* styles.css */
3
  /* Your CSS styles for the table */
4
- div[data-testid="stHorizontalBlock"] table {
5
  border-collapse: collapse;
6
  width: 100%;
7
  table-layout: fixed;
 
8
  }
9
 
10
- div[data-testid="stHorizontalBlock"] th, div[data-testid="stHorizontalBlock"] td {
11
  padding: 8px;
12
  border: 1px solid black;
13
  text-align: center;
14
- width: 50%;
15
- box-sizing: border-box; /* Include padding in width calculation */
16
  }
17
 
18
- div[data-testid="stHorizontalBlock"] th {
19
  background-color: #f2f2f2;
20
  font-weight: bold;
 
21
  }
22
 
23
- /* Apply specific colors to the Timestamp and Original columns */
24
- div[data-testid="stHorizontalBlock"] td.timestamp {
25
- background-color: red;
26
- color: white; /* Adjust text color for better contrast */
27
  }
28
 
29
- div[data-testid="stHorizontalBlock"] td.original {
30
- background-color: blue;
31
- color: white; /* Adjust text color for better contrast */
32
  }
 
 
1
  /* styles.css */
2
  /* Your CSS styles for the table */
3
+ table {
4
  border-collapse: collapse;
5
  width: 100%;
6
  table-layout: fixed;
7
+ word-wrap: break-word;
8
  }
9
 
10
+ th, td {
11
  padding: 8px;
12
  border: 1px solid black;
13
  text-align: center;
 
 
14
  }
15
 
16
+ th {
17
  background-color: #f2f2f2;
18
  font-weight: bold;
19
+ width: auto; /* Adjust the width here */
20
  }
21
 
22
+ .timestamp {
23
+ background-color: rgb(255, 0, 0);
24
+ color: rgb(128, 128, 128);
 
25
  }
26
 
27
+ .original {
28
+ background-color: rgb(0, 0, 0);
29
+ color: rgb(255, 255, 255);
30
  }