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 `.portico-landing.features-app section a.feature-block`.

SiddharthVarshney544622a43534
diff --git a/static/styles/portico/landing-page.scss b/static/styles/portico/landing-page.scss
index 029bddfc06d..0661635d5f9 100644
--- a/static/styles/portico/landing-page.scss
+++ b/static/styles/portico/landing-page.scss
@@ -635,12 +635,14 @@ nav {
color: inherit;
}
-.portico-landing.features-app section a.feature-block:hover {
- box-shadow: 0px 3px 10px hsl(0, 0%, 75%);
-}
+.portico-landing.features-app section a.feature-block {
+ &:hover {
+ box-shadow: 0px 3px 10px hsl(0, 0%, 75%);
+ }
-.portico-landing.features-app section a.feature-block:active {
- box-shadow: 0px 3px 10px hsl(0, 0%, 50%);
+ &:active {
+ box-shadow: 0px 3px 10px hsl(0, 0%, 50%);
+ }
}
.portico-landing.features-app .feature-block h3 {