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.hero`.

SiddharthVarshney00eb90a55100
diff --git a/static/styles/portico/landing-page.scss b/static/styles/portico/landing-page.scss
index 6de3f0268bf..b0cba459a4e 100644
--- a/static/styles/portico/landing-page.scss
+++ b/static/styles/portico/landing-page.scss
@@ -410,34 +410,35 @@ nav {
color: hsl(0, 0%, 100%);
background-color: hsla(0, 0%, 0%, 0.1);
-}
-.portico-landing.features-app section.hero .copy {
- max-width: 800px;
- margin: 0 auto;
+ .copy {
+ max-width: 800px;
+ margin: 0 auto;
- text-align: center;
-}
+ text-align: center;
+ }
-.portico-landing.features-app section.hero h1 {
- margin: 0;
- font-size: 3.7em;
-}
+ h1 {
+ margin: 0;
+ font-size: 3.7em;
+ }
-.portico-landing.features-app section.hero h2 {
- font-size: 1.8em;
- margin: 30px auto 0 auto;
+ h2 {
+ font-size: 1.8em;
+ margin: 30px auto 0 auto;
- max-width: 600px;
- line-height: 1.3;
-}
+ max-width: 600px;
+ line-height: 1.3;
+ }
-.portico-landing.features-app section.hero .image {
- height: 400px;
- width: 40%;
- background-color: hsla(0, 0%, 0%, 0.05);
+ .image {
+ height: 400px;
+ width: 40%;
+ background-color: hsla(0, 0%, 0%, 0.05);
+ }
}
+
.portico-landing.features-app section.keyboard-shortcuts {
display: flex;
justify-content: center;
@@ -3202,10 +3203,10 @@ nav {
.portico-landing.features-app section.hero {
padding: 50px;
- }
- .portico-landing.features-app section.hero h1 {
- font-size: 3em;
+ h1 {
+ font-size: 3em;
+ }
}
.portico-landing.hello .open-source .flex {