Sathwikchowdary commited on
Commit
80ce31a
·
verified ·
1 Parent(s): 934cc52

Update pages/2Decision-Tree.py

Browse files
Files changed (1) hide show
  1. pages/2Decision-Tree.py +7 -7
pages/2Decision-Tree.py CHANGED
@@ -3,19 +3,19 @@ import streamlit as st
3
  # Set page configuration
4
  st.set_page_config(page_title="Decision Tree Theory", layout="wide")
5
 
6
- # Custom CSS for styling
7
  st.markdown("""
8
  <style>
9
  .stApp {
10
- background: linear-gradient(135deg, #1e3c72, #2a5298);
11
  }
12
- h1, h2 {
13
- color: #fdfdfd;
14
  }
15
- p, li {
16
  font-family: 'Arial', sans-serif;
17
  font-size: 18px;
18
- color: #f0f0f0;
19
  line-height: 1.6;
20
  }
21
  </style>
@@ -136,6 +136,6 @@ The higher the score, the more important the feature.
136
  # Implementation Link
137
  st.markdown("<h2>Try It Yourself</h2>", unsafe_allow_html=True)
138
  st.markdown(
139
- "<a href='https://colab.research.google.com/drive/1SqZ5I5h7ivS6SJDwlOZQ-V4IAOg90RE7?usp=sharing' target='_blank' style='font-size: 16px; color: #add8e6;'>Open Jupyter Notebook</a>",
140
  unsafe_allow_html=True
141
  )
 
3
  # Set page configuration
4
  st.set_page_config(page_title="Decision Tree Theory", layout="wide")
5
 
6
+ # Updated CSS styling
7
  st.markdown("""
8
  <style>
9
  .stApp {
10
+ background-color: #f2f6fa;
11
  }
12
+ h1, h2, h3 {
13
+ color: #1a237e;
14
  }
15
+ .custom-font, p, li {
16
  font-family: 'Arial', sans-serif;
17
  font-size: 18px;
18
+ color: #212121;
19
  line-height: 1.6;
20
  }
21
  </style>
 
136
  # Implementation Link
137
  st.markdown("<h2>Try It Yourself</h2>", unsafe_allow_html=True)
138
  st.markdown(
139
+ "<a href='https://colab.research.google.com/drive/1SqZ5I5h7ivS6SJDwlOZQ-V4IAOg90RE7?usp=sharing' target='_blank' style='font-size: 16px; color: #1a237e;'>Open Jupyter Notebook</a>",
140
  unsafe_allow_html=True
141
  )