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: Adjust link styles.

Karl Stolleye90d542bd626
diff --git a/web/styles/portico/footer.css b/web/styles/portico/footer.css
index d2fdf27a44b..196f44b0bee 100644
--- a/web/styles/portico/footer.css
+++ b/web/styles/portico/footer.css
@@ -61,6 +61,7 @@
.footer__section ul {
margin: 20px 0 28px;
+ padding-left: 0;
display: flex;
flex-direction: column;
align-items: flex-start;
@@ -84,6 +85,7 @@
font-weight: 400;
font-size: 16px;
color: var(--color-links);
+ text-decoration: none;
}
& a:hover,
diff --git a/web/styles/portico/marketing_page.css b/web/styles/portico/marketing_page.css
index 9b846ac97ec..4225a80a0dd 100644
--- a/web/styles/portico/marketing_page.css
+++ b/web/styles/portico/marketing_page.css
@@ -1372,40 +1372,6 @@ ul {
font-weight: normal;
}
-a {
- position: relative;
- cursor: pointer;
- color: hsl(170deg 47% 33%);
-
- &:hover,
- &:visited {
- color: hsl(170deg 47% 33%);
- }
-
- &:hover,
- &:focus {
- text-decoration: none;
- }
-
- &.arrow {
- &::after {
- content: " ";
- display: inline-block;
- position: relative;
- height: 17px;
- width: 17px;
- top: 3px;
- background-image: url("../../images/landing-page/arrow.png");
- background-size: 100%;
- margin-left: 5px;
- }
- }
-
- &.silver {
- text-decoration: underline;
- }
-}
-
span a:hover,
p a:hover,
ul a:hover,
@@ -1556,6 +1522,23 @@ button {
floating top menu; coordinate the value here with the menu's height. */
scroll-margin-top: 60px;
}
+
+ a:not(.button) {
+ color: var(--color-link);
+ text-decoration: underline;
+ text-decoration-color: var(--color-link-underline);
+ text-underline-offset: 4px;
+ /* TODO: Adjust this in the portico markdown.css file,
+ and strike this line once all the marketing pages
+ reflect updated brand colors. */
+ font-weight: inherit !important;
+
+ &:hover {
+ color: var(--color-link-hover);
+ text-decoration: underline;
+ text-decoration-color: var(--color-link-underline-hover);
+ }
+ }
}
@keyframes waves {
diff --git a/web/styles/portico/navbar.css b/web/styles/portico/navbar.css
index d5c97b57250..9dbf3ad6c65 100644
--- a/web/styles/portico/navbar.css
+++ b/web/styles/portico/navbar.css
@@ -89,6 +89,7 @@ details summary::-webkit-details-marker {
&,
&:visited {
color: hsl(0deg 0% 100% / 80%);
+ text-decoration: none;
}
}