Skip to content

Commit d0cc90f

Browse files
committed
Undoing parallax after 1220px
1 parent 6458fb8 commit d0cc90f

1 file changed

Lines changed: 15 additions & 8 deletions

File tree

sass/main.scss

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -925,6 +925,17 @@ footer {
925925
width: 100%;
926926
}
927927

928+
#hero {
929+
#desk-container {
930+
right: -100px;
931+
932+
#desk, #wire {
933+
background-attachment: scroll;
934+
background-position: right bottom;
935+
}
936+
}
937+
}
938+
928939
#leadership #leaders {
929940
grid-template-columns: repeat(4, $leadership-size-mobile);
930941
justify-content: space-between;
@@ -1000,10 +1011,8 @@ footer {
10001011
}
10011012

10021013
#desk-container {
1003-
#desk, #wire {
1004-
background-position: calc(100% + 200px) bottom;
1005-
background-size: 120%
1006-
}
1014+
right: -200px;
1015+
width: 120%;
10071016
}
10081017

10091018
#shelf {
@@ -1178,10 +1187,8 @@ footer {
11781187
}
11791188

11801189
#desk-container {
1181-
#desk, #wire {
1182-
background-position: calc(100% + 160px) bottom;
1183-
background-size: 160%
1184-
}
1190+
right: -160px;
1191+
width: 160%;
11851192
}
11861193

11871194
#register {

0 commit comments

Comments
 (0)