Maharshi Gor commited on
Commit
d29aa65
Β·
1 Parent(s): a1c0365

Visited link color

Browse files
Files changed (2) hide show
  1. app.py +4 -3
  2. src/display/custom_css.py +2 -0
app.py CHANGED
@@ -123,12 +123,13 @@ if __name__ == "__main__":
123
  login_btn = gr.LoginButton(scale=1)
124
 
125
  accent_color = "#B00000"
 
126
  gr.Markdown(
127
- f"πŸ‘€ <span style='color:{accent_color};font-weight:bold;'>First time here?</span> Check out the [❓ Help](#help) tab for a quick introduction and "
128
  f"[QANTA25 Documentation]({DOCS_REPO_URL}) "
129
  "for detailed examples and tutorials on how to create and compete with your own QuizBowl agents. "
130
- f"<br>🀨 <span style='color:{accent_color};font-weight:bold;'>Facing any issues?</span> Please contact us at [{CONTACT_EMAIL}](mailto:{CONTACT_EMAIL}), or raise an issue on our [GitHub repository]({GITHUB_ISSUES_URL})."
131
- f" &nbsp; πŸ§‘πŸ»β€πŸ’» <span style='color:{accent_color};font-weight:bold;'>Engagements?</span> Join our [Discord server]({DISCORD_URL}) for discussions and getting help.",
132
  elem_classes="help-text",
133
  )
134
  with gr.Tabs() as gtab:
 
123
  login_btn = gr.LoginButton(scale=1)
124
 
125
  accent_color = "#B00000"
126
+ style_text = f"color:{accent_color};font-weight:bold;"
127
  gr.Markdown(
128
+ f"πŸ‘€ **First time here?** Check out the [❓ Help](#help) tab for a quick introduction and "
129
  f"[QANTA25 Documentation]({DOCS_REPO_URL}) "
130
  "for detailed examples and tutorials on how to create and compete with your own QuizBowl agents. "
131
+ f"<br>🀨 **Facing any issues?** Please contact us at [{CONTACT_EMAIL}](mailto:{CONTACT_EMAIL}), or raise an issue on our [GitHub repository]({GITHUB_ISSUES_URL})."
132
+ f" &nbsp; πŸ§‘πŸ»β€πŸ’» **Engagements?** Join our [Discord server]({DISCORD_URL}) for discussions and getting help.",
133
  elem_classes="help-text",
134
  )
135
  with gr.Tabs() as gtab:
src/display/custom_css.py CHANGED
@@ -13,6 +13,7 @@ css_pipeline = """
13
  --body-text-size: 14px !important;
14
  --input-background-fill-focus: var(--secondary-300) !important;
15
  --link-text-color: blue !important;
 
16
 
17
  // Button Colors
18
  --button-primary-background-fill: var(--primary-800) !important;
@@ -40,6 +41,7 @@ css_pipeline = """
40
  --input-text-size: var(--text-sm) !important;
41
  --body-text-size: 14px !important;
42
  --link-text-color: blue !important;
 
43
 
44
  --button-primary-background-fill: var(--neutral-100) !important;
45
  --button-secondary-background-fill: var(--secondary-300) !important;
 
13
  --body-text-size: 14px !important;
14
  --input-background-fill-focus: var(--secondary-300) !important;
15
  --link-text-color: blue !important;
16
+ --link-text-color-visited: purple !important;
17
 
18
  // Button Colors
19
  --button-primary-background-fill: var(--primary-800) !important;
 
41
  --input-text-size: var(--text-sm) !important;
42
  --body-text-size: 14px !important;
43
  --link-text-color: blue !important;
44
+ --link-text-color-visited: purple !important;
45
 
46
  --button-primary-background-fill: var(--neutral-100) !important;
47
  --button-secondary-background-fill: var(--secondary-300) !important;