Skip to content

Commit 3f5954b

Browse files
author
Jaz Lalli
committed
2 parents fe7000f + 75ef79e commit 3f5954b

File tree

21 files changed

+5
-16
lines changed

21 files changed

+5
-16
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

_sass/pages/_page-base.scss

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,6 @@
312312
}
313313

314314
.home-photo-container {
315-
316315
&:before {
317316
transform: rotate(1.2deg) scale(1.2);
318317
-ms-transform: rotate(1.2deg) scale(1.2);
@@ -328,11 +327,9 @@
328327
}
329328

330329
.photo-inner {
331-
background-size: scroll;
330+
background-size: cover;
332331
background-repeat: no-repeat;
333332
background-position: center;
334-
// background-attachment: fixed;
335-
background-attachment: scroll;
336333
margin: 0;
337334
height: 450px;
338335
position: absolute;
@@ -344,10 +341,6 @@
344341
display: block;
345342
overflow: hidden;
346343

347-
.touch-device & {
348-
background-attachment: scroll;
349-
}
350-
351344
@media screen and ( max-width: $medium ) {
352345
height: 250px;
353346
}

js/main.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -99,13 +99,6 @@
9999
}
100100
});
101101

102-
// Target touch or click devices
103-
if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {
104-
$( 'body' ).addClass( 'touch-device' );
105-
} else {
106-
$( 'body' ).addClass( 'click-device' );
107-
}
108-
109102
// Google Maps: Pan between different Locations
110103
var marker;
111104
var map;

readme.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ The Jekyll based website for pebblecode.com.
99
`gem install jekyll`
1010

1111

12-
#####2. Build and view the website on locally:
12+
You may need to include sudo at the start if there is a permissions error.
13+
14+
15+
#####2. Build and view the website locally:
1316

1417
`cd [project folder]`
1518

0 commit comments

Comments
 (0)