cryogenic22 commited on
Commit
b7b447f
·
verified ·
1 Parent(s): 699d379

Update styles.py

Browse files
Files changed (1) hide show
  1. styles.py +119 -0
styles.py CHANGED
@@ -1,6 +1,125 @@
1
  # styles.py
2
  main_styles = """
3
  <style>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  /* Progress Bar */
5
  .progress-container {
6
  width: 100%;
 
1
  # styles.py
2
  main_styles = """
3
  <style>
4
+ /* General Report Styling */
5
+ .report-container {
6
+ max-width: 1200px;
7
+ margin: 0 auto;
8
+ padding: 20px;
9
+ background: white;
10
+ border-radius: 10px;
11
+ box-shadow: 0 2px 4px rgba(0,0,0,0.1);
12
+ }
13
+
14
+ /* Section Styling */
15
+ .report-section {
16
+ margin: 30px 0;
17
+ padding: 25px;
18
+ background: white;
19
+ border-radius: 8px;
20
+ border-left: 4px solid #2196F3;
21
+ box-shadow: 0 2px 10px rgba(0,0,0,0.05);
22
+ }
23
+
24
+ .executive-summary {
25
+ border-left-color: #1976D2;
26
+ background: linear-gradient(to right, #f8f9fa, white);
27
+ }
28
+
29
+ .market-analysis {
30
+ border-left-color: #4CAF50;
31
+ }
32
+
33
+ .future-outlook {
34
+ border-left-color: #FF9800;
35
+ }
36
+
37
+ .sources-section {
38
+ border-left-color: #9C27B0;
39
+ }
40
+
41
+ /* Headings */
42
+ .section-heading {
43
+ color: #1a237e;
44
+ font-size: 24px;
45
+ font-weight: 600;
46
+ margin-bottom: 20px;
47
+ padding-bottom: 10px;
48
+ border-bottom: 2px solid #e0e0e0;
49
+ }
50
+
51
+ .subsection-heading {
52
+ color: #1565C0;
53
+ font-size: 20px;
54
+ font-weight: 500;
55
+ margin: 20px 0 15px 0;
56
+ }
57
+
58
+ /* Content Styling */
59
+ .content-block {
60
+ line-height: 1.6;
61
+ color: #333;
62
+ margin: 15px 0;
63
+ font-size: 16px;
64
+ }
65
+
66
+ /* Metrics Display */
67
+ .metrics-container {
68
+ display: grid;
69
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
70
+ gap: 20px;
71
+ margin: 20px 0;
72
+ }
73
+
74
+ .metric-card {
75
+ padding: 20px;
76
+ background: white;
77
+ border-radius: 8px;
78
+ box-shadow: 0 2px 4px rgba(0,0,0,0.1);
79
+ transition: transform 0.2s ease;
80
+ }
81
+
82
+ .metric-card:hover {
83
+ transform: translateY(-2px);
84
+ }
85
+
86
+ /* Source List */
87
+ .source-item {
88
+ padding: 10px 15px;
89
+ margin: 5px 0;
90
+ background: #f8f9fa;
91
+ border-radius: 4px;
92
+ font-size: 14px;
93
+ color: #666;
94
+ }
95
+
96
+ /* Disclaimer */
97
+ .disclaimer {
98
+ padding: 15px;
99
+ background: #fff3e0;
100
+ border-left: 4px solid #ff9800;
101
+ margin: 20px 0;
102
+ font-size: 14px;
103
+ color: #795548;
104
+ }
105
+
106
+ /* Download Button */
107
+ .download-button {
108
+ background: #1976D2;
109
+ color: white;
110
+ padding: 12px 24px;
111
+ border-radius: 6px;
112
+ border: none;
113
+ font-weight: 500;
114
+ cursor: pointer;
115
+ transition: background 0.3s ease;
116
+ margin-top: 20px;
117
+ text-align: center;
118
+ }
119
+
120
+ .download-button:hover {
121
+ background: #1565C0;
122
+ }
123
  /* Progress Bar */
124
  .progress-container {
125
  width: 100%;