kaikaidai commited on
Commit
a1b46ea
·
1 Parent(s): ee5f52d

Fix colour of links

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +22 -4
src/streamlit_app.py CHANGED
@@ -110,8 +110,8 @@ def main():
110
  display: inline-block;
111
  padding: 12px 24px;
112
  background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
113
- color: white;
114
- text-decoration: none;
115
  border-radius: 25px;
116
  font-weight: 600;
117
  font-size: 0.95rem;
@@ -123,15 +123,33 @@ def main():
123
  .header-btn:hover {
124
  transform: translateY(-2px);
125
  box-shadow: 0 6px 20px rgba(23, 162, 184, 0.4);
126
- color: white;
127
- text-decoration: none;
 
 
 
 
 
 
 
 
128
  }
129
  .header-btn.secondary {
130
  background: linear-gradient(135deg, #fd7e14 0%, #e55b13 100%);
131
  box-shadow: 0 4px 15px rgba(253, 126, 20, 0.3);
 
132
  }
133
  .header-btn.secondary:hover {
134
  box-shadow: 0 6px 20px rgba(253, 126, 20, 0.4);
 
 
 
 
 
 
 
 
 
135
  }
136
  .header-btn .emoji {
137
  margin-right: 8px;
 
110
  display: inline-block;
111
  padding: 12px 24px;
112
  background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
113
+ color: white !important;
114
+ text-decoration: none !important;
115
  border-radius: 25px;
116
  font-weight: 600;
117
  font-size: 0.95rem;
 
123
  .header-btn:hover {
124
  transform: translateY(-2px);
125
  box-shadow: 0 6px 20px rgba(23, 162, 184, 0.4);
126
+ color: white !important;
127
+ text-decoration: none !important;
128
+ }
129
+ .header-btn:visited {
130
+ color: white !important;
131
+ text-decoration: none !important;
132
+ }
133
+ .header-btn:link {
134
+ color: white !important;
135
+ text-decoration: none !important;
136
  }
137
  .header-btn.secondary {
138
  background: linear-gradient(135deg, #fd7e14 0%, #e55b13 100%);
139
  box-shadow: 0 4px 15px rgba(253, 126, 20, 0.3);
140
+ color: white !important;
141
  }
142
  .header-btn.secondary:hover {
143
  box-shadow: 0 6px 20px rgba(253, 126, 20, 0.4);
144
+ color: white !important;
145
+ }
146
+ .header-btn.secondary:visited {
147
+ color: white !important;
148
+ text-decoration: none !important;
149
+ }
150
+ .header-btn.secondary:link {
151
+ color: white !important;
152
+ text-decoration: none !important;
153
  }
154
  .header-btn .emoji {
155
  margin-right: 8px;