LinkLinkWu commited on
Commit
dd32eee
·
verified ·
1 Parent(s): b1984fa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -10
app.py CHANGED
@@ -10,7 +10,7 @@ import time
10
 
11
  # ----------- Page Config -----------
12
  st.set_page_config(
13
- page_title="EquiPulse: Real-Time Stock News Sentiment",
14
  layout="centered",
15
  initial_sidebar_state="collapsed"
16
  )
@@ -22,12 +22,21 @@ st.markdown("""
22
  background-color: #ffffff;
23
  }
24
  /* Title styling */
25
- h1.main-title {
26
- color: #002b45;
 
27
  font-family: 'Segoe UI', sans-serif;
28
- font-size: 21px;
29
- font-weight: 600;
30
- margin: 0;
 
 
 
 
 
 
 
 
31
  }
32
  /* Input + Button styling */
33
  .stTextInput > div > div > input,
@@ -51,10 +60,7 @@ st.markdown("""
51
  """, unsafe_allow_html=True)
52
 
53
  # ----------- Header Title -----------
54
- st.markdown(
55
- '<h1 class="main-title">📊 EquiPulse: Stock Sentiment Tracker</h1>',
56
- unsafe_allow_html=True
57
- )
58
 
59
  # ----------- Description Section -----------
60
  st.markdown("""
 
10
 
11
  # ----------- Page Config -----------
12
  st.set_page_config(
13
+ page_title="EquiPulse: Stock Sentiment Tracker",
14
  layout="centered",
15
  initial_sidebar_state="collapsed"
16
  )
 
22
  background-color: #ffffff;
23
  }
24
  /* Title styling */
25
+ .main-title {
26
+ font-size: 32px;
27
+ font-weight: 700;
28
  font-family: 'Segoe UI', sans-serif;
29
+ color: #002b45;
30
+ margin-bottom: 1.2rem;
31
+ white-space: nowrap;
32
+ overflow-x: auto;
33
+ }
34
+ .main-title::-webkit-scrollbar {
35
+ height: 4px;
36
+ }
37
+ .main-title::-webkit-scrollbar-thumb {
38
+ background-color: #ccc;
39
+ border-radius: 2px;
40
  }
41
  /* Input + Button styling */
42
  .stTextInput > div > div > input,
 
60
  """, unsafe_allow_html=True)
61
 
62
  # ----------- Header Title -----------
63
+ st.markdown('<div class="main-title">📊 EquiPulse: Stock Sentiment Tracker</div>', unsafe_allow_html=True)
 
 
 
64
 
65
  # ----------- Description Section -----------
66
  st.markdown("""