Archived
Changing layout in 'Bestill bord' section, and adjusting background.
This commit is contained in:
1 parent
f4080204ad
commit
a9b0b7f4c3
3 files changed
+16
-9
No files matched your search
@@ -190,8 +190,6 @@
|
||||
<li>Kr. 2990,-</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col">
|
||||
<div class="text-badge">
|
||||
<h3>Pakke B</h3>
|
||||
<ul>
|
||||
@@ -201,8 +199,6 @@
|
||||
<li>Kr. 4990,-</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col">
|
||||
<div class="text-badge">
|
||||
<h3>Pakke C</h3>
|
||||
<ul>
|
||||
@@ -213,8 +209,6 @@
|
||||
<li>Kr. 5990,-</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col">
|
||||
<div class="text-badge">
|
||||
<h3>Pakke D</h3>
|
||||
<ul>
|
||||
|
||||
+10
-1
@@ -8,5 +8,14 @@ function scrollTo(ev, element, highlight) {
|
||||
if (highlight) $(element).animate({ backgroundColor: $.Color('transparent') }, "slow");
|
||||
});
|
||||
ev.preventDefault();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Parallax.
|
||||
*/
|
||||
$(function() {
|
||||
$(document).scroll(function() {
|
||||
$('body').css( 'background-position', '0px -' + $('body').scrollTop()/20 + 'px' );
|
||||
console.log( $('body').scrollTop()/2 + ' 0px');
|
||||
});
|
||||
});
|
||||
+6
-2
@@ -1,7 +1,7 @@
|
||||
body {
|
||||
padding-top: 70px;
|
||||
padding-bottom: 70px;
|
||||
background:url('../img/liten_tile.png');
|
||||
background:url('../img/liten_tile.png') fixed;
|
||||
}
|
||||
|
||||
.navbar-fixed-top {
|
||||
@@ -139,6 +139,10 @@ body {
|
||||
|
||||
.col {
|
||||
@extend .col-sm-12;
|
||||
@extend .col-sm-4;
|
||||
@extend .col-md-8;
|
||||
|
||||
&:first-of-type {
|
||||
@extend .col-sm-4;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user