karthikeyan-r commited on
Commit
d908f56
·
verified ·
1 Parent(s): 1551ec0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +33 -0
app.py CHANGED
@@ -7,6 +7,39 @@ import os
7
  # Create a Streamlit app
8
  st.title("NIFTY Finance Analysis")
9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
 
11
  # Function to fetch financial data
12
  def get_financial_data(ticker):
 
7
  # Create a Streamlit app
8
  st.title("NIFTY Finance Analysis")
9
 
10
+ st.markdown(
11
+ """
12
+ <style>
13
+ @import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');
14
+ body {
15
+ font-family: 'Quicksand', sans-serif;
16
+ }
17
+ .st-emotion-cache-13ln4jf.ea3mdgi5 {
18
+ position: -webkit-sticky;
19
+ position: sticky;
20
+ top: 10;
21
+ z-index: 100;
22
+ padding-top: 42px;
23
+ padding-bottom: 10px;
24
+ border-bottom: 1px solid #e6e6e6;
25
+ }
26
+ header.st-emotion-cache-12fmjuu.ezrtsby2 {
27
+ background-color: #f0f2f6 !important;
28
+ }
29
+ .st-emotion-cache-12fmjuu.ezrtsby2{
30
+ background:url("https://www.pngplay.com/wp-content/uploads/5/Lloyds-Banking-Group-Logo-Transparent-PNG.png") no-repeat;
31
+ background-size: 250px 50px;
32
+ background-position: center;
33
+ padding-left: 50px;
34
+ padding-top:10px;
35
+ padding-bottom:10px;
36
+ }
37
+ .st-emotion-cache-1vt4y43.ef3psqc13{
38
+ }
39
+ </style>
40
+ """,
41
+ unsafe_allow_html=True,
42
+ )
43
 
44
  # Function to fetch financial data
45
  def get_financial_data(ticker):