This repository has been archived by the owner on Sep 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Steffen Nilsen
committed
Aug 19, 2015
1 parent
8b9ae1c
commit 4425c2a
Showing
7 changed files
with
210 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,20 @@ | ||
(function() { | ||
$(document).ready(activate); | ||
|
||
function activate() { | ||
$(document).ready(function() { | ||
carousel(); | ||
} | ||
menu(); | ||
}); | ||
|
||
function carousel() { | ||
$('.carousel').carousel({ | ||
interval: 2000 | ||
}); | ||
} | ||
|
||
function menu() { | ||
$('#menu').slicknav({ | ||
label: '', | ||
duplicate: false, | ||
prependTo: '#menu-anchor' | ||
}); | ||
} | ||
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
.slicknav_menu { | ||
display:none; | ||
} | ||
|
||
@media screen and (max-width: 40em) { | ||
#menu { | ||
display: none; | ||
} | ||
|
||
#menu-large { | ||
display: none; | ||
} | ||
|
||
.slicknav_menu { | ||
display: block; | ||
} | ||
} | ||
|
||
#menu-anchor { | ||
.slicknav_menu { | ||
background-color: $base-color; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,50 @@ | ||
$line-width: 2px; | ||
|
||
body { | ||
background-color: $base-color; | ||
} | ||
|
||
.header { | ||
background-color: $base-color; | ||
color: $background-color; | ||
border-bottom-color: $accent-color; | ||
border-bottom-width: $line-width; | ||
border-bottom-style: solid; | ||
|
||
.btn-group { | ||
margin-top: 25px; | ||
|
||
.btn { | ||
background-color: $accent-color; | ||
} | ||
|
||
.btn:hover { | ||
background-color: $accent2-color; | ||
} | ||
} | ||
} | ||
|
||
.content { | ||
padding-bottom: 60px; | ||
} | ||
|
||
.carousel-container { | ||
padding-top: 10px; | ||
background-color: $base-color; | ||
} | ||
|
||
.marketing { | ||
background-color: $shadow2-color; | ||
.content-rows { | ||
.content-row { | ||
padding-bottom: 20px; | ||
padding-top: 10px; | ||
} | ||
|
||
.content-row:nth-child(odd) { | ||
background-color: $shadow2-color; | ||
} | ||
|
||
.content-row:nth-child(even) { | ||
background-color: $shadow-color; | ||
} | ||
} | ||
|
||
.footer { | ||
z-index: -1; | ||
background-color: $base-color; | ||
height: 60px; | ||
border-top-color: $accent-color; | ||
border-top-width: $line-width; | ||
border-top-style: solid; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.