ankanghosh commited on
Commit
42ea552
·
verified ·
1 Parent(s): 96cc2c7

Update Publishers.py

Browse files
Files changed (1) hide show
  1. pages/Publishers.py +8 -21
pages/Publishers.py CHANGED
@@ -1,7 +1,7 @@
1
  import streamlit as st
2
 
3
  # Set page config
4
- st.set_page_config(page_title="Acknowledgments", page_icon="🙏")
5
 
6
  # Custom CSS
7
  st.markdown("""
@@ -19,27 +19,15 @@ st.markdown("""
19
  padding: 20px;
20
  margin: 10px 0;
21
  }
22
- .publisher-grid {
23
- display: grid;
24
- grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
25
- gap: 15px;
26
- }
27
- .publisher-item {
28
- background-color: #fff;
29
- border: 1px solid #e1e4f2;
30
- border-radius: 6px;
31
- padding: 10px;
32
- transition: all 0.3s ease;
33
- }
34
- .publisher-item:hover {
35
- box-shadow: 0 4px 8px rgba(0,0,0,0.05);
36
- transform: translateY(-2px);
37
- }
38
  .section-header {
39
  color: #3f51b5;
40
  margin-top: 20px;
41
  margin-bottom: 15px;
42
  }
 
 
 
 
43
  </style>
44
  <div class="main-title">Publisher Acknowledgments</div>
45
  """, unsafe_allow_html=True)
@@ -122,15 +110,14 @@ publishers = [
122
  "ZEN PUBLICATIONS - A Division of Maoli Media Private Limited"
123
  ]
124
 
125
- # Display publishers in a grid
126
  st.markdown('<div class="publisher-container">', unsafe_allow_html=True)
127
- st.markdown('<div class="publisher-grid">', unsafe_allow_html=True)
128
 
 
129
  for publisher in publishers:
130
- st.markdown(f'<div class="publisher-item">{publisher}</div>', unsafe_allow_html=True)
131
 
132
  st.markdown('</div>', unsafe_allow_html=True)
133
- st.markdown('</div>', unsafe_allow_html=True)
134
 
135
  # Statement at the bottom
136
  st.markdown("""
 
1
  import streamlit as st
2
 
3
  # Set page config
4
+ st.set_page_config(page_title="Publishers", page_icon="📚")
5
 
6
  # Custom CSS
7
  st.markdown("""
 
19
  padding: 20px;
20
  margin: 10px 0;
21
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  .section-header {
23
  color: #3f51b5;
24
  margin-top: 20px;
25
  margin-bottom: 15px;
26
  }
27
+ .publisher-list {
28
+ margin-bottom: 10px;
29
+ line-height: 1.6;
30
+ }
31
  </style>
32
  <div class="main-title">Publisher Acknowledgments</div>
33
  """, unsafe_allow_html=True)
 
110
  "ZEN PUBLICATIONS - A Division of Maoli Media Private Limited"
111
  ]
112
 
113
+ # Display publishers in a simple list format instead of grid
114
  st.markdown('<div class="publisher-container">', unsafe_allow_html=True)
 
115
 
116
+ # Create a bulleted list of publishers
117
  for publisher in publishers:
118
+ st.markdown(f"- {publisher}")
119
 
120
  st.markdown('</div>', unsafe_allow_html=True)
 
121
 
122
  # Statement at the bottom
123
  st.markdown("""