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.

css: Use SCSS nesting for `.faqs .faq`.

SiddharthVarshneyba36b99cd2dd
diff --git a/static/styles/portico/landing-page.scss b/static/styles/portico/landing-page.scss
index c0a295e2817..f8d14783eb8 100644
--- a/static/styles/portico/landing-page.scss
+++ b/static/styles/portico/landing-page.scss
@@ -1006,6 +1006,17 @@ nav {
max-width: 700px;
font-size: 1.2em;
color: hsl(223, 6%, 25%);
+
+ .question {
+ font-weight: 600;
+ color: hsl(222, 20%, 40%);
+ font-size: 1.1em;
+ }
+
+ .answer {
+ margin: 20px 0px 0px 0px;
+ font-weight: 400;
+ }
}
/* the last faq in the box shouldn't have an extra 50px of margin. */
@@ -1013,17 +1024,6 @@ nav {
margin-bottom: 10px;
}
-.faqs .faq .question {
- font-weight: 600;
- color: hsl(222, 20%, 40%);
- font-size: 1.1em;
-}
-
-.faqs .faq .answer {
- margin: 20px 0px 0px 0px;
- font-weight: 400;
-}
-
.screen .line {
width: 100%;
height: 6px;