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
Showing
71 changed files
with
9,476 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,176 @@ | ||
/* global module:false */ | ||
module.exports = function(grunt) { | ||
var port = grunt.option('port') || 8000; | ||
var base = grunt.option('base') || '.'; | ||
|
||
// Project configuration | ||
grunt.initConfig({ | ||
pkg: grunt.file.readJSON('package.json'), | ||
meta: { | ||
banner: | ||
'/*!\n' + | ||
' * reveal.js <%= pkg.version %> (<%= grunt.template.today("yyyy-mm-dd, HH:MM") %>)\n' + | ||
' * http://lab.hakim.se/reveal-js\n' + | ||
' * MIT licensed\n' + | ||
' *\n' + | ||
' * Copyright (C) 2016 Hakim El Hattab, http://hakim.se\n' + | ||
' */' | ||
}, | ||
|
||
qunit: { | ||
files: [ 'test/*.html' ] | ||
}, | ||
|
||
uglify: { | ||
options: { | ||
banner: '<%= meta.banner %>\n' | ||
}, | ||
build: { | ||
src: 'js/reveal.js', | ||
dest: 'js/reveal.min.js' | ||
} | ||
}, | ||
|
||
sass: { | ||
core: { | ||
files: { | ||
'css/reveal.css': 'css/reveal.scss', | ||
} | ||
}, | ||
themes: { | ||
files: [ | ||
{ | ||
expand: true, | ||
cwd: 'css/theme/source', | ||
src: ['*.scss'], | ||
dest: 'css/theme', | ||
ext: '.css' | ||
} | ||
] | ||
} | ||
}, | ||
|
||
autoprefixer: { | ||
dist: { | ||
src: 'css/reveal.css' | ||
} | ||
}, | ||
|
||
cssmin: { | ||
compress: { | ||
files: { | ||
'css/reveal.min.css': [ 'css/reveal.css' ] | ||
} | ||
} | ||
}, | ||
|
||
jshint: { | ||
options: { | ||
curly: false, | ||
eqeqeq: true, | ||
immed: true, | ||
latedef: true, | ||
newcap: true, | ||
noarg: true, | ||
sub: true, | ||
undef: true, | ||
eqnull: true, | ||
browser: true, | ||
expr: true, | ||
globals: { | ||
head: false, | ||
module: false, | ||
console: false, | ||
unescape: false, | ||
define: false, | ||
exports: false | ||
} | ||
}, | ||
files: [ 'Gruntfile.js', 'js/reveal.js' ] | ||
}, | ||
|
||
connect: { | ||
server: { | ||
options: { | ||
port: port, | ||
base: base, | ||
livereload: true, | ||
open: true | ||
} | ||
} | ||
}, | ||
|
||
zip: { | ||
'reveal-js-presentation.zip': [ | ||
'index.html', | ||
'css/**', | ||
'js/**', | ||
'lib/**', | ||
'images/**', | ||
'plugin/**', | ||
'**.md' | ||
] | ||
}, | ||
|
||
watch: { | ||
js: { | ||
files: [ 'Gruntfile.js', 'js/reveal.js' ], | ||
tasks: 'js' | ||
}, | ||
theme: { | ||
files: [ 'css/theme/source/*.scss', 'css/theme/template/*.scss' ], | ||
tasks: 'css-themes' | ||
}, | ||
css: { | ||
files: [ 'css/reveal.scss' ], | ||
tasks: 'css-core' | ||
}, | ||
html: { | ||
files: [ '*.html'] | ||
}, | ||
markdown: { | ||
files: [ '*.md' ] | ||
}, | ||
options: { | ||
livereload: true | ||
} | ||
} | ||
|
||
}); | ||
|
||
// Dependencies | ||
grunt.loadNpmTasks( 'grunt-contrib-qunit' ); | ||
grunt.loadNpmTasks( 'grunt-contrib-jshint' ); | ||
grunt.loadNpmTasks( 'grunt-contrib-cssmin' ); | ||
grunt.loadNpmTasks( 'grunt-contrib-uglify' ); | ||
grunt.loadNpmTasks( 'grunt-contrib-watch' ); | ||
grunt.loadNpmTasks( 'grunt-sass' ); | ||
grunt.loadNpmTasks( 'grunt-contrib-connect' ); | ||
grunt.loadNpmTasks( 'grunt-autoprefixer' ); | ||
grunt.loadNpmTasks( 'grunt-zip' ); | ||
|
||
// Default task | ||
grunt.registerTask( 'default', [ 'css', 'js' ] ); | ||
|
||
// JS task | ||
grunt.registerTask( 'js', [ 'jshint', 'uglify', 'qunit' ] ); | ||
|
||
// Theme CSS | ||
grunt.registerTask( 'css-themes', [ 'sass:themes' ] ); | ||
|
||
// Core framework CSS | ||
grunt.registerTask( 'css-core', [ 'sass:core', 'autoprefixer', 'cssmin' ] ); | ||
|
||
// All CSS | ||
grunt.registerTask( 'css', [ 'sass', 'autoprefixer', 'cssmin' ] ); | ||
|
||
// Package presentation to archive | ||
grunt.registerTask( 'package', [ 'default', 'zip' ] ); | ||
|
||
// Serve presentation locally | ||
grunt.registerTask( 'serve', [ 'connect', 'watch' ] ); | ||
|
||
// Run tests | ||
grunt.registerTask( 'test', [ 'jshint', 'qunit' ] ); | ||
|
||
}; |
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,2 +1,5 @@ | ||
# pilen2016 | ||
# Présentation PILEn 2016 | ||
|
||
Présentation Futurs du livre – PILEn 2016 | ||
|
||
C’est moche de regarder en avance… |
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,35 @@ | ||
@font-face { | ||
font-family: 'fontello'; | ||
src: url('../lib/font/fontello.eot?81272599'); | ||
src: url('../lib/font/fontello.eot?81272599#iefix') format('embedded-opentype'), | ||
url('../lib/font/fontello.woff2?81272599') format('woff2'), | ||
url('../lib/font/fontello.woff?81272599') format('woff'), | ||
url('../lib/font/fontello.ttf?81272599') format('truetype'), | ||
url('../lib/font/fontello.svg?81272599#fontello') format('svg'); | ||
font-weight: normal; | ||
font-style: normal; | ||
} | ||
|
||
[class^="icon-"]:before, [class*=" icon-"]:before { | ||
font-family: "fontello"; | ||
font-style: normal; | ||
font-weight: normal; | ||
speak: none; | ||
display: inline-block; | ||
text-decoration: inherit; | ||
width: 1em; | ||
margin-right: .65em; | ||
text-align: center; | ||
font-variant: normal; | ||
text-transform: none; | ||
line-height: 1em; | ||
opacity: 0.8; | ||
-webkit-font-smoothing: antialiased; | ||
-moz-osx-font-smoothing: grayscale; | ||
} | ||
|
||
.icon-globe:before { content: '\e800'; } | ||
.icon-picture:before { content: '\e801'; } | ||
.icon-twitter:before { content: '\f099'; } | ||
.icon-github-circled:before { content: '\f09b'; } | ||
.icon-doc-text-inv:before { content: '\f15c'; } |
Oops, something went wrong.