Commit
β’
8a9878b
1
Parent(s):
df34d37
disable hover color
Browse files
app.py
CHANGED
@@ -103,6 +103,6 @@ def main():
|
|
103 |
else:
|
104 |
# show home
|
105 |
render_metadata()
|
106 |
-
st.markdown("**GlotWeb** is an indexing service for low-resource languages. It indexes sites or links written in each language. This list can be used to create raw text or parallel corpora and to study low-resource languages on the web. We also compare the level of support for these languages in the 3
|
107 |
render_home_table()
|
108 |
main()
|
|
|
103 |
else:
|
104 |
# show home
|
105 |
render_metadata()
|
106 |
+
st.markdown("**GlotWeb** is an indexing service for low-resource languages. It indexes sites or links written in each language. This list can be used to create raw text or parallel corpora and to study low-resource languages on the web. We also compare the level of support for these languages in the 3 big datasets of low-resource languages (π₯ 0/3 < π§ 1/3 < π¨ 2/3 < π© 3/3).\n")
|
107 |
render_home_table()
|
108 |
main()
|
utils.py
CHANGED
@@ -21,7 +21,7 @@ def df_to_html(df):
|
|
21 |
styles = [
|
22 |
{'selector': 'tr', 'props': [('border-bottom', '1px solid #ccc')]}, # Add bottom border to rows
|
23 |
{'selector': 'td, th', 'props': [('border', 'none'), ("text-align", "center"), ('font-size', 'smaller')]}, # Remove cell borders, reduce font size
|
24 |
-
{'selector': 'tr:hover', 'props': [('background-color', '#
|
25 |
{'selector': 'a:hover', 'props': [('color', 'darkblue')]},
|
26 |
{'selector': '.responsive-table', 'props': [('width', '100%')]}, # Set table width to 100%
|
27 |
{'selector': 'thead', 'props': [('border', 'none')]}, # Hide header border
|
|
|
21 |
styles = [
|
22 |
{'selector': 'tr', 'props': [('border-bottom', '1px solid #ccc')]}, # Add bottom border to rows
|
23 |
{'selector': 'td, th', 'props': [('border', 'none'), ("text-align", "center"), ('font-size', 'smaller')]}, # Remove cell borders, reduce font size
|
24 |
+
# {'selector': 'tr:hover', 'props': [('background-color', '#b8b8b8')]},
|
25 |
{'selector': 'a:hover', 'props': [('color', 'darkblue')]},
|
26 |
{'selector': '.responsive-table', 'props': [('width', '100%')]}, # Set table width to 100%
|
27 |
{'selector': 'thead', 'props': [('border', 'none')]}, # Hide header border
|