Skip to content

Commit 57033ee

Browse files
committed
change style
1 parent 748b98e commit 57033ee

File tree

95 files changed

+22808
-8706
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+22808
-8706
lines changed

.gitignore

+5-31
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,6 @@
11
_site
2-
.sass-cache
3-
.jekyll-metadata
4-
yarn.lock
5-
node_modules/
6-
7-
### macOS ###
8-
*.DS_Store
9-
.AppleDouble
10-
.LSOverride
11-
12-
# Icon must end with two \r
13-
Icon
14-
15-
# Thumbnails
16-
._*
17-
18-
# Files that might appear in the root of a volume
19-
.DocumentRevisions-V100
20-
.fseventsd
21-
.Spotlight-V100
22-
.TemporaryItems
23-
.Trashes
24-
.VolumeIcon.icns
25-
.com.apple.timemachine.donotpresent
26-
27-
# Directories potentially created on remote AFP share
28-
.AppleDB
29-
.AppleDesktop
30-
Network Trash Folder
31-
Temporary Items
32-
.apdisk
2+
node_modules
3+
.DS_Store
4+
*/.DS_Store
5+
*/*/.DS_Store
6+
*.sh

404.html

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
layout: default
3+
description: "你来到了没有知识的荒原 :("
4+
header-img: "img/404-bg.jpg"
5+
permalink: /404.html
6+
---
7+
8+
9+
<!-- Page Header -->
10+
<header class="intro-header" style="background-image: url('{{ site.baseurl }}/{% if page.header-img %}{{ page.header-img }}{% else %}{{ site.header-img }}{% endif %}')">
11+
<div class="container">
12+
<div class="row">
13+
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
14+
<div class="site-heading" id="tag-heading">
15+
<h1>404</h1>
16+
<span class="subheading">{{ page.description }}</span>
17+
</div>
18+
</div>
19+
</div>
20+
</div>
21+
</header>
22+
23+
<script>
24+
document.body.classList.add('page-fullscreen');
25+
</script>

CNAME

Whitespace-only changes.

Gemfile

-5
This file was deleted.

Gemfile.lock

-86
This file was deleted.

Gruntfile.js

+73
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
module.exports = function(grunt) {
2+
3+
// Project configuration.
4+
grunt.initConfig({
5+
pkg: grunt.file.readJSON('package.json'),
6+
uglify: {
7+
main: {
8+
src: 'js/<%= pkg.name %>.js',
9+
dest: 'js/<%= pkg.name %>.min.js'
10+
}
11+
},
12+
less: {
13+
expanded: {
14+
options: {
15+
paths: ["css"]
16+
},
17+
files: {
18+
"css/<%= pkg.name %>.css": "less/<%= pkg.name %>.less"
19+
}
20+
},
21+
minified: {
22+
options: {
23+
paths: ["css"],
24+
cleancss: true
25+
},
26+
files: {
27+
"css/<%= pkg.name %>.min.css": "less/<%= pkg.name %>.less"
28+
}
29+
}
30+
},
31+
banner: '/*!\n' +
32+
' * <%= pkg.title %> v<%= pkg.version %> (<%= pkg.homepage %>)\n' +
33+
' * Copyright <%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' +
34+
' */\n',
35+
usebanner: {
36+
dist: {
37+
options: {
38+
position: 'top',
39+
banner: '<%= banner %>'
40+
},
41+
files: {
42+
src: ['css/<%= pkg.name %>.css', 'css/<%= pkg.name %>.min.css', 'js/<%= pkg.name %>.min.js']
43+
}
44+
}
45+
},
46+
watch: {
47+
scripts: {
48+
files: ['js/<%= pkg.name %>.js'],
49+
tasks: ['uglify'],
50+
options: {
51+
spawn: false,
52+
},
53+
},
54+
less: {
55+
files: ['less/*.less'],
56+
tasks: ['less'],
57+
options: {
58+
spawn: false,
59+
}
60+
},
61+
},
62+
});
63+
64+
// Load the plugins.
65+
grunt.loadNpmTasks('grunt-contrib-uglify');
66+
grunt.loadNpmTasks('grunt-contrib-less');
67+
grunt.loadNpmTasks('grunt-banner');
68+
grunt.loadNpmTasks('grunt-contrib-watch');
69+
70+
// Default task(s).
71+
grunt.registerTask('default', ['uglify', 'less', 'usebanner']);
72+
73+
};

0 commit comments

Comments
 (0)