Update pages/7_Advance_vectorization_techniques.py
Browse files
pages/7_Advance_vectorization_techniques.py
CHANGED
|
@@ -0,0 +1,110 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import streamlit as st
|
| 2 |
+
|
| 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: black;
|
| 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: black;
|
| 20 |
+
font-family: 'Roboto', sans-serif;
|
| 21 |
+
font-weight: 600;
|
| 22 |
+
margin-top: 30px;
|
| 23 |
+
}
|
| 24 |
+
|
| 25 |
+
/* Style for subheaders */
|
| 26 |
+
h3 {
|
| 27 |
+
color: red;
|
| 28 |
+
font-family: 'Roboto', sans-serif;
|
| 29 |
+
font-weight: 500;
|
| 30 |
+
margin-top: 20px;
|
| 31 |
+
}
|
| 32 |
+
.custom-subheader {
|
| 33 |
+
color: black;
|
| 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: black;
|
| 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: black;
|
| 55 |
+
}
|
| 56 |
+
.icon-bullet li::before {
|
| 57 |
+
content: "◆";
|
| 58 |
+
padding-right: 10px;
|
| 59 |
+
color: black;
|
| 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 |
+
.step-box {
|
| 71 |
+
font-size: 18px;
|
| 72 |
+
background-color: #F0F8FF;
|
| 73 |
+
padding: 15px;
|
| 74 |
+
border-radius: 10px;
|
| 75 |
+
box-shadow: 2px 2px 8px #D3D3D3;
|
| 76 |
+
line-height: 1.6;
|
| 77 |
+
}
|
| 78 |
+
.box {
|
| 79 |
+
font-size: 18px;
|
| 80 |
+
background-color: #F0F8FF;
|
| 81 |
+
padding: 15px;
|
| 82 |
+
border-radius: 10px;
|
| 83 |
+
box-shadow: 2px 2px 8px #D3D3D3;
|
| 84 |
+
line-height: 1.6;
|
| 85 |
+
}
|
| 86 |
+
.title {
|
| 87 |
+
font-size: 26px;
|
| 88 |
+
font-weight: bold;
|
| 89 |
+
color: #E63946;
|
| 90 |
+
text-align: center;
|
| 91 |
+
margin-bottom: 15px;
|
| 92 |
+
}
|
| 93 |
+
.formula {
|
| 94 |
+
font-size: 20px;
|
| 95 |
+
font-weight: bold;
|
| 96 |
+
color: #2A9D8F;
|
| 97 |
+
background-color: #F7F7F7;
|
| 98 |
+
padding: 10px;
|
| 99 |
+
border-radius: 5px;
|
| 100 |
+
text-align: center;
|
| 101 |
+
margin-top: 10px;
|
| 102 |
+
}
|
| 103 |
+
/* Custom button style */
|
| 104 |
+
.streamlit-button {
|
| 105 |
+
background-color: #00FFFF;
|
| 106 |
+
color: #000000;
|
| 107 |
+
font-weight: bold;
|
| 108 |
+
}
|
| 109 |
+
</style>
|
| 110 |
+
""", unsafe_allow_html=True)
|