Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

marketing_page: Switch to text-decoration for links.

Karl Stolleyfe88cd60d361
diff --git a/web/styles/portico/comparison_table.css b/web/styles/portico/comparison_table.css
index 8e56c71f334..9582689df00 100644
--- a/web/styles/portico/comparison_table.css
+++ b/web/styles/portico/comparison_table.css
@@ -93,12 +93,13 @@
a {
color: inherit;
- text-decoration: none;
- border-bottom: 1px solid hsl(0deg 0% 100% / 50%) !important;
- transition: border 0.4s ease-out; /* stylelint-disable-line plugin/no-low-performance-animation-properties */
+ text-decoration: underline;
+ text-decoration-color: hsl(0deg 0% 100% / 50%);
+ transition: text-decoration 0.4s ease-out;
&:hover {
- border-bottom: 2px solid hsl(0deg 0% 100%) !important;
+ text-decoration-color: hsl(0deg 0% 100%);
+ text-decoration-thickness: 2px;
transition: none;
}
}
diff --git a/web/styles/portico/hello.css b/web/styles/portico/hello.css
index 4884609bdf3..2dd54c02c5e 100644
--- a/web/styles/portico/hello.css
+++ b/web/styles/portico/hello.css
@@ -624,13 +624,16 @@ ul {
.screen-2__desc a,
.screen-4__desc a {
font-weight: 550;
- border-bottom: 1px solid hsl(0deg 0% 100% / 50%);
- transition: border-bottom-color 0.4s ease-out;
+ text-decoration: underline;
+ text-decoration-thickness: 1px;
+ text-decoration-color: hsl(0deg 0% 100% / 50%);
+ text-underline-offset: 4px;
+ transition: text-decoration 0.4s ease-out;
}
.screen-2__desc a:hover,
.screen-4__desc a:hover {
- border-bottom-color: hsl(0deg 0% 100%);
+ text-decoration-color: hsl(0deg 0% 100%);
transition: none;
}
diff --git a/web/styles/portico/marketing_page.css b/web/styles/portico/marketing_page.css
index 9afca22480b..2a76d56ff16 100644
--- a/web/styles/portico/marketing_page.css
+++ b/web/styles/portico/marketing_page.css
@@ -1326,14 +1326,14 @@ button {
.hero a:not(.button),
.quote:has(.triangle) a {
color: var(--color-text-hero);
- text-decoration: none;
- border-bottom: 1px solid hsl(0deg 0% 100% / 50%);
- transition: border 0.4s ease-out; /* stylelint-disable-line plugin/no-low-performance-animation-properties */
+ text-decoration: underline;
+ text-decoration-color: hsl(0deg 0% 100% / 50%);
+ transition: text-decoration 0.4s ease-out;
&:hover {
- text-decoration: none;
+ text-decoration-color: hsl(0deg 0% 100%);
+ text-decoration-thickness: 2px;
color: inherit;
- border-bottom: 2px solid hsl(0deg 0% 100%);
transition: none;
}
}
diff --git a/web/styles/portico/pricing_plans.css b/web/styles/portico/pricing_plans.css
index 2981d9d37dc..f94cec4c7a7 100644
--- a/web/styles/portico/pricing_plans.css
+++ b/web/styles/portico/pricing_plans.css
@@ -61,14 +61,16 @@
:not() selector here. */
& a:not(.button) {
color: inherit;
- text-decoration: none;
- border-bottom: 1px solid hsl(0deg 0% 100% / 50%);
- transition: border 0.4s ease-out; /* stylelint-disable-line plugin/no-low-performance-animation-properties */
+ text-decoration: underline;
+ text-decoration-color: hsl(0deg 0% 100% / 50%);
+ text-decoration-thickness: 1px;
+ text-underline-offset: 2px;
+ transition: text-decoration 0.4s ease-out;
&:hover {
- text-decoration: none;
+ text-decoration-color: hsl(0deg 0% 100%);
+ text-decoration-thickness: 2px;
color: inherit;
- border-bottom: 2px solid hsl(0deg 0% 100%);
transition: none;
}
}