commit b9c9134a9e4a296a7a7194251001b537d7ca9da7 Author: Nicolas Vinot Date: Tue Aug 11 21:43:24 2015 +0200 First version diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0eca7b3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +.bundle +/build +/.sass-cache +/.cache +.rakeTasks +Gemfile.lock +*.iml diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..345de78 --- /dev/null +++ b/Gemfile @@ -0,0 +1,12 @@ +source 'https://rubygems.org' + +gem 'rake' +gem 'middleman', '~> 3.3.12' +gem 'middleman-livereload', '~> 3.4.3' + +gem 'therubyracer', require: false +gem 'bootstrap-sass', '~> 3', require: false +gem 'font-awesome-sass', '~> 4', require: false + +gem 'wdm', '~> 0.1.1', platforms: %i(mswin mingw), require: false +gem 'tzinfo-data', platforms: %i(mswin mingw jruby), require: false diff --git a/config.rb b/config.rb new file mode 100644 index 0000000..d5605d8 --- /dev/null +++ b/config.rb @@ -0,0 +1,12 @@ +set :css_dir, 'stylesheets' +set :js_dir, 'javascripts' +set :images_dir, 'images' + +configure :development do + activate :livereload, apply_css_live: true, apply_js_live: true, no_swf: true +end + +configure :build do + activate :minify_css + activate :minify_javascript +end diff --git a/rakefile b/rakefile new file mode 100644 index 0000000..843e59e --- /dev/null +++ b/rakefile @@ -0,0 +1,7 @@ +task :build do + system 'middleman build' +end + +task deploy: :build do + system 'rsync -axPv build/ server:www/' +end diff --git a/source/_conferences.erb b/source/_conferences.erb new file mode 100644 index 0000000..5c99e8c --- /dev/null +++ b/source/_conferences.erb @@ -0,0 +1,170 @@ +
+
+
+
+

Conférences

+
+
+
+
+
+ +
+
+
+
diff --git a/source/_contact.erb b/source/_contact.erb new file mode 100644 index 0000000..58f37a8 --- /dev/null +++ b/source/_contact.erb @@ -0,0 +1,54 @@ +
+
+
+
+

Me contacter

+
+
+
+
Blog
+ +
+
+
Email & Jabber
+
aeris@imirhil.fr
+
+
+
GPG
+
+ 6A68 B761 2629 7666 ECF4
+ 8F03 EFB7 4277 ECE4 E222 +
+
+
+
OTR
+
+ F643 5CE0 300F 3236 62DA
+ 3C0E 5769 616D 2D3D AC72 +
+
+
+
GNU Social
+ +
+
+
Twitter
+
+ @aeris22 +
+
+
+
IRC
+
+ _aeris_ (Freenode, Geeknode, OFTC) +
+
+
+
+
+
+
diff --git a/source/_header.erb b/source/_header.erb new file mode 100644 index 0000000..2440794 --- /dev/null +++ b/source/_header.erb @@ -0,0 +1,23 @@ +
+
+
+
+ Tux Debian +
+

Aeris

+
+

+ Groupe crypto-terroriste individuel auto-radicalisé sur l’Internet digital +

+

+ Exégète numériste amateur de mauvaise foi +

+

+ Paysan du réseau et cultivateur d’oignons +

+
+
+
+
+
+
diff --git a/source/_nav.erb b/source/_nav.erb new file mode 100644 index 0000000..2866ccb --- /dev/null +++ b/source/_nav.erb @@ -0,0 +1,18 @@ + diff --git a/source/_projects.erb b/source/_projects.erb new file mode 100644 index 0000000..3b57b07 --- /dev/null +++ b/source/_projects.erb @@ -0,0 +1,76 @@ +
+
+
+
+

Projets

+
+
+
+
+
+ +
+ + +
+
+
+ + +
+
+
diff --git a/source/images/favicon.png b/source/images/favicon.png new file mode 100644 index 0000000..52c07c3 Binary files /dev/null and b/source/images/favicon.png differ diff --git a/source/images/profile.png b/source/images/profile.png new file mode 100644 index 0000000..2e8b1bc Binary files /dev/null and b/source/images/profile.png differ diff --git a/source/images/projects/chiffrofete.png b/source/images/projects/chiffrofete.png new file mode 100644 index 0000000..edf30f8 Binary files /dev/null and b/source/images/projects/chiffrofete.png differ diff --git a/source/images/projects/enjoy-reading.png b/source/images/projects/enjoy-reading.png new file mode 100644 index 0000000..11e3d25 Binary files /dev/null and b/source/images/projects/enjoy-reading.png differ diff --git a/source/images/projects/nsa-observer.png b/source/images/projects/nsa-observer.png new file mode 100644 index 0000000..1291d85 Binary files /dev/null and b/source/images/projects/nsa-observer.png differ diff --git a/source/images/projects/shaarli.png b/source/images/projects/shaarli.png new file mode 100644 index 0000000..c950971 Binary files /dev/null and b/source/images/projects/shaarli.png differ diff --git a/source/images/projects/sslcheck.png b/source/images/projects/sslcheck.png new file mode 100644 index 0000000..562968f Binary files /dev/null and b/source/images/projects/sslcheck.png differ diff --git a/source/index.erb b/source/index.erb new file mode 100644 index 0000000..57ab52c --- /dev/null +++ b/source/index.erb @@ -0,0 +1,4 @@ +<%= partial 'header' %> +<%= partial 'projects' %> +<%= partial 'conferences' %> +<%= partial 'contact' %> diff --git a/source/javascripts/all.coffee b/source/javascripts/all.coffee new file mode 100644 index 0000000..f7b7907 --- /dev/null +++ b/source/javascripts/all.coffee @@ -0,0 +1 @@ +#= require_tree . diff --git a/source/layouts/layout.erb b/source/layouts/layout.erb new file mode 100644 index 0000000..6c65c00 --- /dev/null +++ b/source/layouts/layout.erb @@ -0,0 +1,15 @@ + + + + + + + + <%= current_page.data.title || 'Extrémiste inside' %> + <%= stylesheet_link_tag 'all', media: :all %> + + + <%= partial 'nav' %> + <%= yield %> + + diff --git a/source/stylesheets/all.scss b/source/stylesheets/all.scss new file mode 100644 index 0000000..5a65380 --- /dev/null +++ b/source/stylesheets/all.scss @@ -0,0 +1,13 @@ +@import 'font-awesome'; +@import 'theme'; + +@import 'bootstrap/variables'; +@import 'bootstrap/mixins'; +@import 'bootstrap/normalize'; +@import 'bootstrap/scaffolding'; +@import 'bootstrap/type'; +@import 'bootstrap/grid'; +@import 'bootstrap/forms'; +@import 'bootstrap/navs'; +@import 'bootstrap/navbar'; + diff --git a/source/stylesheets/mixins.scss b/source/stylesheets/mixins.scss new file mode 100644 index 0000000..e69de29 diff --git a/source/stylesheets/theme.scss b/source/stylesheets/theme.scss new file mode 100644 index 0000000..9e12559 --- /dev/null +++ b/source/stylesheets/theme.scss @@ -0,0 +1,90 @@ +@import 'variables'; +@import 'bootstrap/variables'; + +body { + padding-top: $navbar-height + 20px; +} + +@media (max-width: 768px) { + body { + padding-top: 3*$navbar-height + 20px; + } +} + +header { + .avatar { + background-color: $secondary-bg; + border-radius: 105px; + padding: 10px; + } +} + +@media (min-width: 768px) { + header { + margin-top: 100px; + margin-bottom: 150px; + } +} + +.navbar { + text-transform: uppercase; + font-weight: 700; + .navbar-nav { + letter-spacing: 1px; + } +} + +section { + margin-bottom: 100px; +} + +#projects { + .project-container { + height: 200px; + + .project { + height: 100%; + width: 100%; + border: 1px solid $text-color; + border-radius: 10px; + + img, i.fa-search-plus { + position: absolute; + top: 50%; + left: 50%; + transform: translateX(-50%) translateY(-50%); + } + + i.fa-search-plus { + z-index: 2; + opacity: 0; + transition: all ease 0.5s; + -webkit-transition: all ease 0.5s; + -moz-transition: all ease 0.5s; + + &:hover { + opacity: 1; + } + } + } + + } +} + +#conferences { + ul { + list-style-type: none; + } + + .title { + font-weight: bold; + } + + .location { + font-size: 0.75em; + } + + .links a { + margin-left: 10px; + } +} diff --git a/source/stylesheets/variables.scss b/source/stylesheets/variables.scss new file mode 100644 index 0000000..685a6da --- /dev/null +++ b/source/stylesheets/variables.scss @@ -0,0 +1,12 @@ +$primary-bg: #2c3e50; +$secondary-bg: lighten($primary-bg, 25%); + +$body-bg: $primary-bg; +$text-color: #fff; +$navbar-default-bg: $secondary-bg; +$navbar-default-color: #fff; +$navbar-default-link-color: #fff; +$navbar-default-link-hover-color: darken($navbar-default-link-color, 10%); +$link-color: lighten($secondary-bg, 25%); + +$font-size-base: 20px;