LakshmiHarika commited on
Commit
b51948e
·
verified ·
1 Parent(s): c4ab4b4

Update pages/3Life Cycle of Machine Learning Project.py

Browse files
pages/3Life Cycle of Machine Learning Project.py CHANGED
@@ -53,8 +53,8 @@ st.markdown(
53
  <style>
54
  .circular-flowchart {
55
  position: relative;
56
- width: 1200px; /* Increased overall size */
57
- height: 1200px; /* Same as width to create a circular flow */
58
  margin: 0 auto;
59
  display: flex;
60
  justify-content: center;
@@ -80,17 +80,17 @@ st.markdown(
80
  transition: transform 0.3s ease, background 0.3s ease;
81
  }
82
 
83
- /* Circular flow positions with natural flow */
84
- .phase-1 { top: 80px; left: 540px; background-color: #4CAF50; } /* Top */
85
- .phase-2 { top: 200px; left: 760px; background-color: #03A9F4; } /* Top-right */
86
- .phase-3 { top: 400px; left: 880px; background-color: #FFC107; } /* Right */
87
- .phase-4 { top: 640px; left: 760px; background-color: #FF7043; } /* Bottom-right */
88
- .phase-5 { top: 840px; left: 540px; background-color: #8BC34A; } /* Bottom */
89
- .phase-6 { top: 640px; left: 300px; background-color: #673AB7; } /* Bottom-left */
90
- .phase-7 { top: 400px; left: 180px; background-color: #E91E63; } /* Left */
91
- .phase-8 { top: 200px; left: 300px; background-color: #607D8B; } /* Top-left */
92
- .phase-9 { top: 120px; left: 430px; background-color: #00BCD4; } /* Between Top-left and Top */
93
- .phase-10 { top: 120px; left: 650px; background-color: #FF9800; } /* Between Top-right and Top */
94
 
95
  .phase:hover {
96
  transform: scale(1.1);
 
53
  <style>
54
  .circular-flowchart {
55
  position: relative;
56
+ width: 1200px; /* Overall size for the layout */
57
+ height: 1200px; /* Height matches width for a circular layout */
58
  margin: 0 auto;
59
  display: flex;
60
  justify-content: center;
 
80
  transition: transform 0.3s ease, background 0.3s ease;
81
  }
82
 
83
+ /* Non-symmetrical circular layout positions */
84
+ .phase-1 { top: 100px; left: 550px; background-color: #4CAF50; } /* Top-center */
85
+ .phase-2 { top: 200px; left: 750px; background-color: #03A9F4; } /* Upper-right */
86
+ .phase-3 { top: 400px; left: 900px; background-color: #FFC107; } /* Mid-right */
87
+ .phase-4 { top: 700px; left: 850px; background-color: #FF7043; } /* Lower-right */
88
+ .phase-5 { top: 900px; left: 600px; background-color: #8BC34A; } /* Bottom-center */
89
+ .phase-6 { top: 800px; left: 350px; background-color: #673AB7; } /* Lower-left */
90
+ .phase-7 { top: 500px; left: 200px; background-color: #E91E63; } /* Mid-left */
91
+ .phase-8 { top: 250px; left: 250px; background-color: #607D8B; } /* Upper-left */
92
+ .phase-9 { top: 150px; left: 400px; background-color: #00BCD4; } /* Between Top-left and Top-center */
93
+ .phase-10 { top: 150px; left: 700px; background-color: #FF9800; } /* Between Top-center and Upper-right */
94
 
95
  .phase:hover {
96
  transform: scale(1.1);