|
@@ -55,15 +55,19 @@
|
|
top: 100%;
|
|
top: 100%;
|
|
}*/
|
|
}*/
|
|
|
|
|
|
-/* Create the parallax scrolling effect */
|
|
|
|
-.parallax {
|
|
|
|
- height: 100%;
|
|
|
|
- background-attachment: fixed;
|
|
|
|
|
|
+/* Default background image properties for home sections. */
|
|
|
|
+.home-section.bg-image {
|
|
background-position: center;
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
background-repeat: no-repeat;
|
|
background-size: cover;
|
|
background-size: cover;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+/* Create a parallax-like scrolling effect. */
|
|
|
|
+.parallax {
|
|
|
|
+ height: 100%;
|
|
|
|
+ background-attachment: fixed;
|
|
|
|
+}
|
|
|
|
+
|
|
.home-section:first-of-type {
|
|
.home-section:first-of-type {
|
|
padding-top: 50px;
|
|
padding-top: 50px;
|
|
}
|
|
}
|