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: Share the alternating section background rule.

Shubham Padia0e9ddf279029
diff --git a/web/styles/portico/marketing_page.css b/web/styles/portico/marketing_page.css
index 4b0bd281261..4973558ff4f 100644
--- a/web/styles/portico/marketing_page.css
+++ b/web/styles/portico/marketing_page.css
@@ -2965,6 +2965,13 @@ button {
}
}
+/* Feature pages with a list of alternating sections shade every
+ other section, so that the eye can tell where one ends. */
+.alternative-features .feature-container:nth-child(even) {
+ background: var(--color-background-box);
+ border-radius: 10px;
+}
+
.discounts-section {
text-align: center;
@@ -3348,11 +3355,6 @@ button {
.alternative-features {
.feature-container {
padding: 30px;
-
- &:nth-child(even) {
- background: var(--color-background-box);
- border-radius: 10px;
- }
}
.feature-icon img {