ez326 commited on
Commit
2d35e22
·
verified ·
1 Parent(s): 833a547

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -11
app.py CHANGED
@@ -4,40 +4,32 @@ st.set_page_config(layout="wide")
4
 
5
  css = """
6
  <style>
7
- /* Dark mode and movie theater safe theme */
8
- body {
9
- background-color: #121212 !important;
10
- color: #e0e0e0 !important;
11
- }
12
  .stMarkdown p {
13
  margin: 0 !important;
14
  padding: 0 !important;
15
- color: #e0e0e0;
16
  }
17
  /* Compact styling for criterion name and description */
18
  .criteria-name {
19
  font-size: 12px;
20
  font-weight: bold;
21
- color: #ffffff;
22
  }
23
  .criteria-description {
24
  font-size: 10px;
25
- color: #cccccc;
26
  }
27
  .category-header {
28
  margin-top: 6px;
29
  margin-bottom: 3px;
30
  font-size: 14px;
31
  font-weight: bold;
32
- border-bottom: 1px solid #444;
33
  padding-bottom: 2px;
34
- color: #ffffff;
35
  }
36
  .app-header {
37
  text-align: center;
38
  margin-bottom: 6px;
39
  font-size: 20px;
40
- color: #ffffff;
41
  }
42
  /* Enlarge slider thumb for easier touch */
43
  div[data-baseweb="slider"] .Thumb {
 
4
 
5
  css = """
6
  <style>
7
+ /* Remove extra spacing in markdown paragraphs */
 
 
 
 
8
  .stMarkdown p {
9
  margin: 0 !important;
10
  padding: 0 !important;
 
11
  }
12
  /* Compact styling for criterion name and description */
13
  .criteria-name {
14
  font-size: 12px;
15
  font-weight: bold;
 
16
  }
17
  .criteria-description {
18
  font-size: 10px;
19
+ color: #555;
20
  }
21
  .category-header {
22
  margin-top: 6px;
23
  margin-bottom: 3px;
24
  font-size: 14px;
25
  font-weight: bold;
26
+ border-bottom: 1px solid #ccc;
27
  padding-bottom: 2px;
 
28
  }
29
  .app-header {
30
  text-align: center;
31
  margin-bottom: 6px;
32
  font-size: 20px;
 
33
  }
34
  /* Enlarge slider thumb for easier touch */
35
  div[data-baseweb="slider"] .Thumb {