benediktstroebl commited on
Commit
60d9cb9
·
1 Parent(s): 3d3d857

increased font sizes

Browse files
Files changed (1) hide show
  1. css.css +23 -2
css.css CHANGED
@@ -6,8 +6,23 @@
6
  --text-color: #333;
7
  --accent-color: #e74c3c;
8
  --space: 1rem;
9
- }
10
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  /* Tabs */
12
  .tab-nav {
13
  display: flex;
@@ -95,3 +110,9 @@ display: none;
95
  font-weight: bold;
96
  }
97
 
 
 
 
 
 
 
 
6
  --text-color: #333;
7
  --accent-color: #e74c3c;
8
  --space: 1rem;
9
+ --base-font-size: 1.1rem;
10
+ }
11
+
12
+ /* Add global text styles */
13
+ body, p, div, span, .gradio-container {
14
+ font-size: var(--base-font-size);
15
+ line-height: 1.6;
16
+ }
17
+
18
+ /* Adjust heading sizes proportionally */
19
+ h1 { font-size: calc(var(--base-font-size) * 2.5); }
20
+ h2 { font-size: calc(var(--base-font-size) * 2); }
21
+ h3 { font-size: calc(var(--base-font-size) * 1.75); }
22
+ h4 { font-size: calc(var(--base-font-size) * 1.5); }
23
+ h5 { font-size: calc(var(--base-font-size) * 1.25); }
24
+ h6 { font-size: calc(var(--base-font-size) * 1.1); }
25
+
26
  /* Tabs */
27
  .tab-nav {
28
  display: flex;
 
110
  font-weight: bold;
111
  }
112
 
113
+ /* Add to existing CSS */
114
+ .markdown-text {
115
+ font-size: 1.1rem; /* Adjust this value to make text bigger/smaller */
116
+ line-height: 1.6; /* Improves readability */
117
+ }
118
+