harms-columns-front-page 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +170 -0
- data/_includes/footer.html +38 -0
- data/_includes/header.html +167 -0
- data/_includes/icon-github.html +1 -0
- data/_includes/icon-github.svg +1 -0
- data/_layouts/home.html +83 -0
- data/_layouts/page.html +18 -0
- data/_layouts/post.html +21 -0
- data/_sass/_base.sass +87 -0
- data/_sass/_buttons.sass +22 -0
- data/_sass/_colors.sass +6 -0
- data/_sass/_footer.sass +16 -0
- data/_sass/_header.sass +93 -0
- data/_sass/_headings.sass +24 -0
- data/_sass/_nav.sass +195 -0
- data/_sass/_posts.sass +66 -0
- data/_sass/_reset.sass +39 -0
- data/_sass/_search.sass +83 -0
- data/_sass/_special-format.sass +171 -0
- data/assets/favicon.png +0 -0
- data/assets/jt.jpg +0 -0
- data/assets/main.js +104 -0
- data/assets/main.sass +16 -0
- metadata +110 -0
data/assets/main.js
ADDED
@@ -0,0 +1,104 @@
|
|
1
|
+
$(document).ready(function() {
|
2
|
+
|
3
|
+
$('.menu-button').on('click', function() {
|
4
|
+
|
5
|
+
if ( $('html').hasClass('mobile-menu-open') ) {
|
6
|
+
|
7
|
+
$('.mobile-nav-content li').css('opacity', '0');
|
8
|
+
$('.mobile-nav-content').fadeOut();
|
9
|
+
$('.mobile-nav-content li').css('transform', 'translateX(-10px)');
|
10
|
+
|
11
|
+
} else {
|
12
|
+
|
13
|
+
$('.mobile-nav-content').fadeIn();
|
14
|
+
$('.mobile-nav-content li').each(function(i) {
|
15
|
+
|
16
|
+
setTimeout(function() {
|
17
|
+
$('.mobile-nav-content li').eq(i).css('opacity', '1').css('transform', 'translateX(0)');
|
18
|
+
}, 100 * (i+1));
|
19
|
+
|
20
|
+
});
|
21
|
+
|
22
|
+
}
|
23
|
+
|
24
|
+
$('html').toggleClass('mobile-menu-open');
|
25
|
+
|
26
|
+
});
|
27
|
+
|
28
|
+
$(window).resize(function() {
|
29
|
+
$('html').removeClass('mobile-menu-open');
|
30
|
+
$('.mobile-nav-content li').css('opacity', '0');
|
31
|
+
$('.mobile-nav-content').fadeOut();
|
32
|
+
$('.mobile-nav-content li').css('transform', 'translateX(-10px)');
|
33
|
+
});
|
34
|
+
|
35
|
+
|
36
|
+
$('.search-button').on('click', function(e) {
|
37
|
+
e.preventDefault();
|
38
|
+
|
39
|
+
//close mobile menu
|
40
|
+
$('html').removeClass('mobile-menu-open');
|
41
|
+
$('.mobile-nav-content li').css('opacity', '0');
|
42
|
+
$('.mobile-nav-content').fadeOut();
|
43
|
+
$('.mobile-nav-content li').css('transform', 'translateX(-10px)');
|
44
|
+
|
45
|
+
$('html').addClass('search-open');
|
46
|
+
$('.search-container input').val('');
|
47
|
+
|
48
|
+
|
49
|
+
if( $(window).width() <= 1000 ) {
|
50
|
+
|
51
|
+
$('nav li.mobile').each(function(i) {
|
52
|
+
|
53
|
+
setTimeout(function() {
|
54
|
+
$('nav li.mobile').eq(i).css('opacity', '0').css('transform', 'translateX(10px)');
|
55
|
+
}, 75 * (i+1));
|
56
|
+
|
57
|
+
});
|
58
|
+
|
59
|
+
} else {
|
60
|
+
|
61
|
+
$('nav li').each(function(i) {
|
62
|
+
|
63
|
+
setTimeout(function() {
|
64
|
+
$('nav li').eq(i).css('opacity', '0').css('transform', 'translateX(10px)');
|
65
|
+
}, 75 * (i+1));
|
66
|
+
|
67
|
+
});
|
68
|
+
|
69
|
+
}
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
|
74
|
+
var timeout = $('nav li').length;
|
75
|
+
// alert(timeout);
|
76
|
+
setTimeout(function() {
|
77
|
+
$('.search-container').fadeIn();
|
78
|
+
$('.search-container input').focus();
|
79
|
+
}, 75 * timeout);
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
});
|
84
|
+
|
85
|
+
$('.search-container form').on('submit', function(e) {
|
86
|
+
e.preventDefault();
|
87
|
+
});
|
88
|
+
|
89
|
+
$('.close-search-button').on('click', function() {
|
90
|
+
$('.search-container').fadeOut();
|
91
|
+
|
92
|
+
|
93
|
+
$('nav li').each(function(i) {
|
94
|
+
|
95
|
+
setTimeout(function() {
|
96
|
+
$('nav li').eq(i).css('opacity', '1').css('transform', 'translateX(0)');
|
97
|
+
}, 75 * (i+1));
|
98
|
+
|
99
|
+
});
|
100
|
+
$('#search-results').fadeOut();
|
101
|
+
$('html').removeClass('search-open');
|
102
|
+
});
|
103
|
+
|
104
|
+
});
|
data/assets/main.sass
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
---
|
2
|
+
# Front matter comment to ensure Jekyll properly reads file.
|
3
|
+
---
|
4
|
+
|
5
|
+
// Imports
|
6
|
+
@import reset
|
7
|
+
@import colors
|
8
|
+
@import base
|
9
|
+
@import nav
|
10
|
+
@import header
|
11
|
+
@import headings
|
12
|
+
@import buttons
|
13
|
+
@import posts
|
14
|
+
@import footer
|
15
|
+
@import special-format
|
16
|
+
@import search
|
metadata
ADDED
@@ -0,0 +1,110 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: harms-columns-front-page
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Michael Harms
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-06-27 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: jekyll
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.4'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.4'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: jekyll-lunr-js-search
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '3.3'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '3.3'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: bundler
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.12'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.12'
|
55
|
+
description:
|
56
|
+
email:
|
57
|
+
- mitzcki@yahoo.de
|
58
|
+
executables: []
|
59
|
+
extensions: []
|
60
|
+
extra_rdoc_files: []
|
61
|
+
files:
|
62
|
+
- LICENSE.txt
|
63
|
+
- README.md
|
64
|
+
- _includes/footer.html
|
65
|
+
- _includes/header.html
|
66
|
+
- _includes/icon-github.html
|
67
|
+
- _includes/icon-github.svg
|
68
|
+
- _layouts/home.html
|
69
|
+
- _layouts/page.html
|
70
|
+
- _layouts/post.html
|
71
|
+
- _sass/_base.sass
|
72
|
+
- _sass/_buttons.sass
|
73
|
+
- _sass/_colors.sass
|
74
|
+
- _sass/_footer.sass
|
75
|
+
- _sass/_header.sass
|
76
|
+
- _sass/_headings.sass
|
77
|
+
- _sass/_nav.sass
|
78
|
+
- _sass/_posts.sass
|
79
|
+
- _sass/_reset.sass
|
80
|
+
- _sass/_search.sass
|
81
|
+
- _sass/_special-format.sass
|
82
|
+
- assets/favicon.png
|
83
|
+
- assets/jt.jpg
|
84
|
+
- assets/main.js
|
85
|
+
- assets/main.sass
|
86
|
+
homepage: https://github.com/michael-harms/harms-columns-front-page
|
87
|
+
licenses:
|
88
|
+
- MIT
|
89
|
+
metadata: {}
|
90
|
+
post_install_message:
|
91
|
+
rdoc_options: []
|
92
|
+
require_paths:
|
93
|
+
- lib
|
94
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
95
|
+
requirements:
|
96
|
+
- - ">="
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '0'
|
99
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
requirements: []
|
105
|
+
rubyforge_project:
|
106
|
+
rubygems_version: 2.6.12
|
107
|
+
signing_key:
|
108
|
+
specification_version: 4
|
109
|
+
summary: This theme was developed for a bachelor thesis.
|
110
|
+
test_files: []
|