DOMMETI commited on
Commit
4e867cf
·
verified ·
1 Parent(s): 802edea

Update pages/2_Introduction_to_Statistics.py

Browse files
pages/2_Introduction_to_Statistics.py CHANGED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+ import pandas as pd
3
+ st.markdown("""
4
+ <style>
5
+ /* Set a soft background color */
6
+ body {
7
+ background-color: #eef2f7;
8
+ }
9
+ /* Style for main title */
10
+ h1 {
11
+ color: #00FFFF;
12
+ font-family: 'Roboto', sans-serif;
13
+ font-weight: 700;
14
+ text-align: center;
15
+ margin-bottom: 25px;
16
+ }
17
+ /* Style for headers */
18
+ h2 {
19
+ color: #FFFACD;
20
+ font-family: 'Roboto', sans-serif;
21
+ font-weight: 600;
22
+ margin-top: 30px;
23
+ }
24
+
25
+ /* Style for subheaders */
26
+ h3 {
27
+ color: #ba95b0;
28
+ font-family: 'Roboto', sans-serif;
29
+ font-weight: 500;
30
+ margin-top: 20px;
31
+ }
32
+ .custom-subheader {
33
+ color: #00FFFF;
34
+ font-family: 'Roboto', sans-serif;
35
+ font-weight: 600;
36
+ margin-bottom: 15px;
37
+ }
38
+ /* Paragraph styling */
39
+ p {
40
+ font-family: 'Georgia', serif;
41
+ line-height: 1.8;
42
+ color: #F0FFF0; /* Darker text color for better visibility */
43
+ margin-bottom: 20px;
44
+ }
45
+ /* List styling with checkmark bullets */
46
+ .icon-bullet {
47
+ list-style-type: none;
48
+ padding-left: 20px;
49
+ }
50
+ .icon-bullet li {
51
+ font-family: 'Georgia', serif;
52
+ font-size: 1.1em;
53
+ margin-bottom: 10px;
54
+ color: #FFFFF0; /* Darker text color for better visibility */
55
+ }
56
+ .icon-bullet li::before {
57
+ content: "✔️";
58
+ padding-right: 10px;
59
+ color: #17a2b8;
60
+ }
61
+ /* Sidebar styling */
62
+ .sidebar .sidebar-content {
63
+ background-color: #ffffff;
64
+ border-radius: 10px;
65
+ padding: 15px;
66
+ }
67
+ .sidebar h2 {
68
+ color: #495057;
69
+ }
70
+ </style>
71
+ """, unsafe_allow_html=True)
72
+ st.title("INTRODUCTION TO STATISTICS")
73
+ st.markdown("""Statistics is a branch of mathematics focused on collecting, analyzing, interpreting, and presenting data. It can be divided into two main categories
74
+ """, unsafe_allow_html=True)