diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2a50c11 --- /dev/null +++ b/.gitignore @@ -0,0 +1,216 @@ +################# +## Eclipse +################# + +*.pydevproject +.project +.metadata +bin/ +tmp/ +*.tmp +*.bak +*.swp +*~.nib +local.properties +.classpath +.settings/ +.loadpath + +# External tool builders +.externalToolBuilders/ + +# Locally stored "Eclipse launch configurations" +*.launch + +# CDT-specific +.cproject + +# PDT-specific +.buildpath + + +################# +## Visual Studio +################# + +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. + +# User-specific files +*.suo +*.user +*.sln.docstates + +# Build results + +[Dd]ebug/ +[Rr]elease/ +x64/ +build/ +[Bb]in/ +[Oo]bj/ + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +*_i.c +*_p.c +*.ilk +*.meta +*.obj +*.pch +*.pdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.tmp_proj +*.log +*.vspscc +*.vssscc +.builds +*.pidb +*.log +*.scc + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opensdf +*.sdf +*.cachefile + +# Visual Studio profiler +*.psess +*.vsp +*.vspx + +# Guidance Automation Toolkit +*.gpState + +# ReSharper is a .NET coding add-in +_ReSharper*/ +*.[Rr]e[Ss]harper + +# TeamCity is a build add-in +_TeamCity* + +# DotCover is a Code Coverage Tool +*.dotCover + +# NCrunch +*.ncrunch* +.*crunch*.local.xml + +# Installshield output folder +[Ee]xpress/ + +# DocProject is a documentation generator add-in +DocProject/buildhelp/ +DocProject/Help/*.HxT +DocProject/Help/*.HxC +DocProject/Help/*.hhc +DocProject/Help/*.hhk +DocProject/Help/*.hhp +DocProject/Help/Html2 +DocProject/Help/html + +# Click-Once directory +publish/ +.idea + +# Publish Web Output +*.Publish.xml +*.pubxml + +# NuGet Packages Directory +## TODO: If you have NuGet Package Restore enabled, uncomment the next line +#packages/ + +# Windows Azure Build Output +csx +*.build.csdef + +# Windows Store app package directory +AppPackages/ + +# Others +sql/ +*.Cache +ClientBin/ +[Ss]tyle[Cc]op.* +~$* +*~ +*.dbmdl +*.[Pp]ublish.xml +*.pfx +*.publishsettings + +# RIA/Silverlight projects +Generated_Code/ + +# Backup & report files from converting an old project file to a newer +# Visual Studio version. Backup files are not needed, because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML +UpgradeLog*.htm + +# SQL Server files +App_Data/*.mdf +App_Data/*.ldf + +############# +## Windows detritus +############# + +# Windows image file caches +Thumbs.db +ehthumbs.db + +# Folder config file +Desktop.ini + +# Recycle Bin used on file shares +$RECYCLE.BIN/ + +# Mac crap +.DS_Store + + +############# +## Python +############# + +*.py[co] + +# Packages +*.egg +*.egg-info +dist/ +build/ +eggs/ +parts/ +var/ +sdist/ +develop-eggs/ +.installed.cfg + +# Installer logs +pip-log.txt + +# Unit test / coverage reports +.coverage +.tox + +#Translations +*.mo + +#Mr Developer +.mr.developer.cfg diff --git a/CNAME b/CNAME new file mode 100644 index 0000000..161a515 --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +weslleyneri.com.br \ No newline at end of file diff --git a/Gruntfile.js b/Gruntfile.js new file mode 100644 index 0000000..e6ac058 --- /dev/null +++ b/Gruntfile.js @@ -0,0 +1,20 @@ +module.exports = function(grunt) { + grunt.initConfig({ + lintspaces: { + all: { + src: [ + '*', '_includes/*', '_layouts/*', '_plugins/*', '_posts/*', 'blog/*', + 'feed/*', 'projects/*', 'projects-full/*', 'talks/*' + ], + options: { + newline: false, + trailingspaces: true, + indentation: 'spaces', + spaces: 2 + } + } + } + }); + + grunt.loadNpmTasks('grunt-lintspaces'); +}; \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..3d13e0f --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2014 Weslley Neri + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..9e30fd7 --- /dev/null +++ b/README.md @@ -0,0 +1,6 @@ +# [weslleyneri.com.br](http://weslleyneri.com.br) +Meu website pessoal aonde eu falo sobre desevolvimento front/back-end. + +## Como isso funciona cara? + +Calma, eu uso [Jekyll](http://jekyllrb.com/), que é um gerador de pagina estáticas em ruby. \ No newline at end of file diff --git a/_config.yml b/_config.yml new file mode 100644 index 0000000..5c7e33b --- /dev/null +++ b/_config.yml @@ -0,0 +1,49 @@ +safe: false +baseurl: / +url: http://localhost:4000 + +name: Iago Velasco +description: Desenvolvedor Front/Back-End altamente motivado e apaixonado por desenvolvimento e projetos Open Source. +commentlinks: true +twitter-username: weslley_neri +feedburnerurl: +google-analytics-tracking-id: UA-52755728-1 + +source: . +destination: ./_site +plugins: ./_plugins_dir +paginate_path: 'blog/page:num' + +future: true +lsi: false +pygments: false +markdown: kramdown +permalink: /:title/ +paginate: 5 + +maruku: + use_tex: false + use_divs: false + png_engine: blahtex + png_dir: images/latex + png_url: /images/latex + +rdiscount: + extensions: [] + +kramdown: + auto_ids: true, + footnote_nr: 1 + entity_output: as_char + toc_levels: 1..6 + use_coderay: false + + coderay: + coderay_wrap: div + coderay_line_numbers: inline + coderay_line_numbers_start: 1 + coderay_tab_width: 4 + coderay_bold_every: 10 + coderay_css: style + +excerpt_separator: "" diff --git a/_includes/disqus.html b/_includes/disqus.html new file mode 100644 index 0000000..6f8dda5 --- /dev/null +++ b/_includes/disqus.html @@ -0,0 +1,17 @@ +
+ diff --git a/_includes/footer.html b/_includes/footer.html new file mode 100644 index 0000000..b0b1397 --- /dev/null +++ b/_includes/footer.html @@ -0,0 +1,31 @@ + + + + + + + + + + \ No newline at end of file diff --git a/_includes/header.html b/_includes/header.html new file mode 100644 index 0000000..bea6f52 --- /dev/null +++ b/_includes/header.html @@ -0,0 +1,47 @@ + + + + + {% if page.title %}{{ page.title }} —{% endif %} {{ site.name }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + "\ + + + + + + + + + + + + diff --git a/_includes/nav.html b/_includes/nav.html new file mode 100644 index 0000000..0ac0482 --- /dev/null +++ b/_includes/nav.html @@ -0,0 +1,24 @@ +
+ + + + + +

+ {{ site.name }} +

+

Front/Back-End Developer

+ + + + + +
diff --git a/_includes/post_pagination.html b/_includes/post_pagination.html new file mode 100644 index 0000000..8c53d3f --- /dev/null +++ b/_includes/post_pagination.html @@ -0,0 +1,7 @@ +{% if page.next.url %} +

← Post recente

+{% endif %} + +{% if page.previous.url %} +

Post antigo →

+{% endif %} diff --git a/_includes/search.html b/_includes/search.html new file mode 100644 index 0000000..1775e05 --- /dev/null +++ b/_includes/search.html @@ -0,0 +1,6 @@ +
+
+ + +
+
\ No newline at end of file diff --git a/_layouts/archive-articles.html b/_layouts/archive-articles.html new file mode 100644 index 0000000..029d5c2 --- /dev/null +++ b/_layouts/archive-articles.html @@ -0,0 +1,40 @@ +{% include header.html %} + + {% include nav.html %} + +
+ +
+

{{ page.title }}

+ + {{ content }} + + + +

Note: There is an RSS feed that only contains articles.

+ +
+ + {% for post in site.posts %} + {% unless post.draft %} + {% unless post.link %} + {% capture cmonth %}{{ post.date | date: "%B" }}{% endcapture %} + {% unless lmonth == cmonth %} + {% unless forloop.first %}{% endunless %} +

{{ cmonth }} {{ post.date | date: "%Y" }}

+
    + {% assign lmonth = cmonth %} + {% endunless %} +
  • {{ post.title }}
  • + {% endunless %} + {% endunless %} + {% endfor %} +
+ +
+
+ +{% include footer.html %} \ No newline at end of file diff --git a/_layouts/archive.html b/_layouts/archive.html new file mode 100644 index 0000000..9f39706 --- /dev/null +++ b/_layouts/archive.html @@ -0,0 +1,41 @@ +{% include header.html %} + + {% include nav.html %} + +
+ +
+

{{ page.title }}

+ + {{ content }} + + + + +
+ + {% for post in site.posts %} + {% unless post.draft %} + {% capture cmonth %}{{ post.date | date: "%B" }}{% endcapture %} + {% unless lmonth == cmonth %} + {% unless forloop.first %}{% endunless %} +

{{ cmonth }} {{ post.date | date: "%Y" }}

+
    + {% assign lmonth = cmonth %} + {% endunless %} + {% if post.link %} +
  • {{ post.title }}
  • + {% else %} +
  • {{ post.title }}
  • + {% endif %} + {% endunless %} + {% endfor %} +
+ +
+
+ +{% include footer.html %} \ No newline at end of file diff --git a/_layouts/default.html b/_layouts/default.html new file mode 100644 index 0000000..cf8f5ae --- /dev/null +++ b/_layouts/default.html @@ -0,0 +1,65 @@ +{% include header.html %} + + {% include nav.html %} + +
+ +
+ + {{ content }} + + + + +

+ {% if paginator.previous_page %} + + {% if paginator.previous_page == 1 %} + Anterior + + {% else %} + Anterior + {% endif %} + + {% else %} + Anterior + {% endif %} + + Página {{paginator.page}} de {{paginator.total_pages}} + {% if paginator.next_page %} + Próxima + {% else %} + Próxima + {% endif %} +

+ +
+
+ +{% include footer.html %} \ No newline at end of file diff --git a/_layouts/page.html b/_layouts/page.html new file mode 100644 index 0000000..490bc4d --- /dev/null +++ b/_layouts/page.html @@ -0,0 +1,17 @@ +{% include header.html %} + + {% include nav.html %} + +
+ +
+ + {% if page.title %} +

{{ page.title }}

+ {% endif %} + + {{ content }} +
+
+ +{% include footer.html %} \ No newline at end of file diff --git a/_layouts/post.html b/_layouts/post.html new file mode 100644 index 0000000..d0895a5 --- /dev/null +++ b/_layouts/post.html @@ -0,0 +1,26 @@ +{% include header.html %} + + {% include nav.html %} + +
+ +
+ + {% if page.link %} +

{{ page.title }}

+

{{ page.date | date:"%d/%m/%Y" }}

+ {% else %} +

{{ page.title }}

+ + {% endif %} + + {{ content }} + + + + {% include disqus.html %} + +
+
+ +{% include footer.html %} \ No newline at end of file diff --git a/_plugins/excerpt.rb b/_plugins/excerpt.rb new file mode 100644 index 0000000..5e721ec --- /dev/null +++ b/_plugins/excerpt.rb @@ -0,0 +1,20 @@ +# http://blog.darkrefraction.com/2012/jekyll-excerpt-plugin.html + +module JekyllPlugin + + class Excerpt < Liquid::Block + def render(context) + # Get the current post's post object + id = context["page"]["id"] + posts = context.registers[:site].posts + post = posts [posts.index {|post| post.id == id}] + + # Put the block contents into the post's excerpt_tag field, + # and also return those contents + post.data["excerpt_tag"] = super + end + end + +end + +Liquid::Template.register_tag('excerpt', JekyllPlugin::Excerpt) \ No newline at end of file diff --git a/_posts/2014-07-18-Single-Page-Application-com-AngularJs-e-NodeJs.md b/_posts/2014-07-18-Single-Page-Application-com-AngularJs-e-NodeJs.md new file mode 100644 index 0000000..99e0c8e --- /dev/null +++ b/_posts/2014-07-18-Single-Page-Application-com-AngularJs-e-NodeJs.md @@ -0,0 +1,115 @@ +--- +layout: post +title: "Single Page Application com NodeJs e AngularJs" +description: "" +language: "pt-br" +--- + + + +Bom como prometido, estou aqui para fazer o meu primeiro post verdadeiro, pois o outro, era somente um hello world + +Neste post, irei abordar sobre a hiper, mega, blaster, plus advanced linguagem chamada [NodeJs](http://nodejs.org/) em conjunto com [AngularJs](https://angularjs.org/) para construirmos uma Single Page Application (SPA) + + + + +#Vamos do Principio + +##Mas, o que NodeJs ?? + +Node.js é uma plataforma construída sobre o motor JavaScript do Google Chrome para facilmente construir aplicações de rede rápidas e escaláveis. Node.js usa um modelo de I/O direcionada a evento não bloqueante que o torna leve e eficiente, ideal para aplicaões em tempo real com troca intensa de dados através de dispositivos distribuídos. + +##E esse tal de AngularJs ?? + +O Angular é um framework JavaScript mantido pelo Google e que vem ganhando cada vez mais adeptos para o desenvolvimento de aplicações WEB. Ele se enquadra nos modelos MVC(Model-view-controller), MVP(Model-view-presenter) e MVVM(Model View ViewModel), sendo considerado pelos seus desenvolvedores como um framework MVW (Model-View-Whatever), já que o foco do framework não é conceitos de separaão. AngularJS foi contruído para o desenvolvimento de aplicações espetaculares, como você verá adiante nesse artigo. + +Agora que você já sabe do que se trata, mãos a obra: + +##Instalando o NodeJs +Como estou usando ambiente de desenvolvimento Unix, sendo um Linux, descreverei os passos seguintes para a instalação do node no mesmo, até porque o node não roda em seus 100% quando em ambiente RUWINDOWS. + +começaremos abrindo o terminal (CTRL + ALT + T), e logando como administrador +```bash +$ sudo su +``` +depois de digitado o comando e apertado a tecla Enter, o linux irá pedir seu usuario e senha, coloque e aperte enter novamente. Pronto, você esta logado como administrador. + +O Ubuntu oferece um sistema de gerenciamento de pacotes, e com ele podemos instalar pacotes pelo terminal, porem a sua lista de referência, ou seja, onde ele vai buscar esses pacotes, pode estar desatualizada, para atualizar devemos digitar no terminal: +```bash +$ apt-get update +``` + +Depois de atualizadas as referências, com o comando apt-get seguido de install e o nome do pacote, então, digite: + +```bash +$ apt-get install nodejs +``` + +O node necessita de um gerenciador de pacotes, chamado NPM, para instala-lo, digite: +```bash +$ apt-get install npm +``` + +Para ter certeza que o Node esta instalado: + + +```bash +$ nodejs -v +``` + +Caso ele retorne com o numero da versao, então o Node foi instaldo com Sucesso!! + + + +Vamos a estrutura de nosso projeto: + +``` +Anguarl-SPA/ +├── public/ +│ ├── app/ +│ ├── controllers/ +│ └── js/ +├── views/ +│ └── * +│ +``` + +Depois de criar todas as pastas, parte chata, vamos para a parte legal da coisa, vamos criar nosso arquivo de package, para quando precisarmos rodar o projeto em outro lugar, ou mesmo em outra máquina o node já instale todas as referências necessárias. + +```bash + nome do arquivo: package.json + + { + "name": "angular-SPA", //Nome do Projeto + "version": "0.0.1", // Versão do Projeto + "description": "A Single Page Applicatioion build with AngularJs", // Descrição do Projeto + "author": "Weslley Neri", //Nome do autor do Projeto + "engines": { //Motores para a execução do projeto + "node": "0.10.24", + "npm": "1.2.30" + }, + "dependencies": { //Depencias que o projeto tem para funcionar corretamente, como bibliotecas e etc + "body-parser": "^1.4.3", + "express": "^4.6.1" + } +} +``` + +depois de criado o arquivo, o node irá saber o que deve instalar e ter para rodar o projeto sem erros, então, estando dentro da pasta do package.json, digite: + +```bash +$ npm install +``` + +Este processo poderá demorar um pouco, dependendo da sua conexão com a internet. Depois de tudo instalado podemos começar a montar nosso código para rodar o servidor do node. vamos por partes. +Se você já vem de alguma outra linguagem, na maioria delas, antes de começar a realmente fazer o seu código devemos, importar todas as bibliotecas/frameworks que iremos usar, no Node não é diferente, fazemos isto chamando a função require e passando como parâmetro o nome da biblioteca/framework, vamos a prática: + +```javascript + var express = require('express'); + var bodyParser = require('body-parser'); +``` + +No código acima, falamos para o nome que iremos utilizar um framework chamado [ExpressJS](http://expressjs.com/), que nada mais é do que um mínimo e flexivel framework para aplicação web, provendo um robusto conjunto de caracteristicas para a criação de uma única ou múlltiplas páginas, também estamos usando o [Body Parser](https://github.com/expressjs/body-parser) que é um middleware para renderizar HTML. + + diff --git a/_site/CNAME b/_site/CNAME new file mode 100644 index 0000000..161a515 --- /dev/null +++ b/_site/CNAME @@ -0,0 +1 @@ +weslleyneri.com.br \ No newline at end of file diff --git a/_site/Gruntfile.js b/_site/Gruntfile.js new file mode 100644 index 0000000..e6ac058 --- /dev/null +++ b/_site/Gruntfile.js @@ -0,0 +1,20 @@ +module.exports = function(grunt) { + grunt.initConfig({ + lintspaces: { + all: { + src: [ + '*', '_includes/*', '_layouts/*', '_plugins/*', '_posts/*', 'blog/*', + 'feed/*', 'projects/*', 'projects-full/*', 'talks/*' + ], + options: { + newline: false, + trailingspaces: true, + indentation: 'spaces', + spaces: 2 + } + } + } + }); + + grunt.loadNpmTasks('grunt-lintspaces'); +}; \ No newline at end of file diff --git a/_site/LICENSE b/_site/LICENSE new file mode 100644 index 0000000..3d13e0f --- /dev/null +++ b/_site/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2014 Weslley Neri + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/_site/README.md b/_site/README.md new file mode 100644 index 0000000..9e30fd7 --- /dev/null +++ b/_site/README.md @@ -0,0 +1,6 @@ +# [weslleyneri.com.br](http://weslleyneri.com.br) +Meu website pessoal aonde eu falo sobre desevolvimento front/back-end. + +## Como isso funciona cara? + +Calma, eu uso [Jekyll](http://jekyllrb.com/), que é um gerador de pagina estáticas em ruby. \ No newline at end of file diff --git a/_site/Single-Page-Application-com-AngularJs-e-NodeJs/index.html b/_site/Single-Page-Application-com-AngularJs-e-NodeJs/index.html new file mode 100644 index 0000000..b19dfe1 --- /dev/null +++ b/_site/Single-Page-Application-com-AngularJs-e-NodeJs/index.html @@ -0,0 +1,240 @@ + + + + + Single Page Application com NodeJs e AngularJs — Iago Velasco + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + "\ + + + + + + + + + + + + + + +
+ + + + + +

+ Iago Velasco +

+

Front/Back-End Developer

+ + + + + +
+ + +
+ +
+ + +

Single Page Application com NodeJs e AngularJs

+ + + +

Bom como prometido, estou aqui para fazer o meu primeiro post verdadeiro, pois o outro, era somente um hello world

+ +

Neste post, irei abordar sobre a hiper, mega, blaster, plus advanced linguagem chamada NodeJs em conjunto com AngularJs para construirmos uma Single Page Application (SPA)

+ + + +

Vamos do Principio

+ +

Mas, o que NodeJs ??

+ +

Node.js é uma plataforma construída sobre o motor JavaScript do Google Chrome para facilmente construir aplicações de rede rápidas e escaláveis. Node.js usa um modelo de I/O direcionada a evento não bloqueante que o torna leve e eficiente, ideal para aplicaões em tempo real com troca intensa de dados através de dispositivos distribuídos.

+ +

E esse tal de AngularJs ??

+ +

O Angular é um framework JavaScript mantido pelo Google e que vem ganhando cada vez mais adeptos para o desenvolvimento de aplicações WEB. Ele se enquadra nos modelos MVC(Model-view-controller), MVP(Model-view-presenter) e MVVM(Model View ViewModel), sendo considerado pelos seus desenvolvedores como um framework MVW (Model-View-Whatever), já que o foco do framework não é conceitos de separaão. AngularJS foi contruído para o desenvolvimento de aplicações espetaculares, como você verá adiante nesse artigo.

+ +

Agora que você já sabe do que se trata, mãos a obra:

+ +

Instalando o NodeJs

+

Como estou usando ambiente de desenvolvimento Unix, sendo um Linux, descreverei os passos seguintes para a instalação do node no mesmo, até porque o node não roda em seus 100% quando em ambiente RUWINDOWS.

+ +

começaremos abrindo o terminal (CTRL + ALT + T), e logando como administrador +bash +$ sudo su + +depois de digitado o comando e apertado a tecla Enter, o linux irá pedir seu usuario e senha, coloque e aperte enter novamente. Pronto, você esta logado como administrador.

+ +

O Ubuntu oferece um sistema de gerenciamento de pacotes, e com ele podemos instalar pacotes pelo terminal, porem a sua lista de referência, ou seja, onde ele vai buscar esses pacotes, pode estar desatualizada, para atualizar devemos digitar no terminal: +bash +$ apt-get update +

+ +

Depois de atualizadas as referências, com o comando apt-get seguido de install e o nome do pacote, então, digite:

+ +

bash +$ apt-get install nodejs +

+ +

O node necessita de um gerenciador de pacotes, chamado NPM, para instala-lo, digite: +bash +$ apt-get install npm +

+ +

Para ter certeza que o Node esta instalado:

+ +

bash +$ nodejs -v +

+ +

Caso ele retorne com o numero da versao, então o Node foi instaldo com Sucesso!!

+ +

Vamos a estrutura de nosso projeto:

+ +

+Anguarl-SPA/ +├── public/ +│ ├── app/ +│ ├── controllers/ +│ └── js/ +├── views/ +│ └── * +│ +

+ +

Depois de criar todas as pastas, parte chata, vamos para a parte legal da coisa, vamos criar nosso arquivo de package, para quando precisarmos rodar o projeto em outro lugar, ou mesmo em outra máquina o node já instale todas as referências necessárias.

+ +

```bash + nome do arquivo: package.json

+ +

{ + “name”: “angular-SPA”, //Nome do Projeto + “version”: “0.0.1”, // Versão do Projeto + “description”: “A Single Page Applicatioion build with AngularJs”, // Descrição do Projeto + “author”: “Weslley Neri”, //Nome do autor do Projeto + “engines”: { //Motores para a execução do projeto + “node”: “0.10.24”, + “npm”: “1.2.30” + }, + “dependencies”: { //Depencias que o projeto tem para funcionar corretamente, como bibliotecas e etc + “body-parser”: “^1.4.3”, + “express”: “^4.6.1” + } +} +```

+ +

depois de criado o arquivo, o node irá saber o que deve instalar e ter para rodar o projeto sem erros, então, estando dentro da pasta do package.json, digite:

+ +

bash +$ npm install +

+ +

Este processo poderá demorar um pouco, dependendo da sua conexão com a internet. Depois de tudo instalado podemos começar a montar nosso código para rodar o servidor do node. vamos por partes. +Se você já vem de alguma outra linguagem, na maioria delas, antes de começar a realmente fazer o seu código devemos, importar todas as bibliotecas/frameworks que iremos usar, no Node não é diferente, fazemos isto chamando a função require e passando como parâmetro o nome da biblioteca/framework, vamos a prática:

+ +

javascript + var express = require('express'); + var bodyParser = require('body-parser'); +

+ +

No código acima, falamos para o nome que iremos utilizar um framework chamado ExpressJS, que nada mais é do que um mínimo e flexivel framework para aplicação web, provendo um robusto conjunto de caracteristicas para a criação de uma única ou múlltiplas páginas, também estamos usando o Body Parser que é um middleware para renderizar HTML.

+ + + + + +
+ + + +
+
+ + + + + + + + + + + \ No newline at end of file diff --git a/_site/assets/css/main.css b/_site/assets/css/main.css new file mode 100644 index 0000000..4ca5383 --- /dev/null +++ b/_site/assets/css/main.css @@ -0,0 +1,1182 @@ +@-webkit-keyframes dropin { + from { margin-top: -800px; } + 90% { margin-top: 10px; } + to { margin-top: 0; } +} +@-moz-keyframes dropin { + from { margin-top: -800px; } + 90% { margin-top: 10px; } + to { margin-top: 0; } +} +@keyframes dropin { + from { margin-top: -800px; } + 90% { margin-top: 10px; } + to { margin-top: 0; } +} + +@-webkit-keyframes slidein { + from { margin-left: -800px; } + to { margin-left: 0; } +} +@-moz-keyframes slidein { + from { margin-left: -800px; } + to { margin-left: 0; } +} +@keyframes slidein { + from { margin-left: -800px; } + to { margin-left: 0; } +} + +body { + font-family: 'Droid Serif', Georgia, serif; + font-size: 16px; + margin: 0; + padding: 0; + color: #333; + background: #fbfbfb url(../img/texture-white.jpg) fixed; +} + +.container { + padding: 0; + margin: 10px 20px; +} + +ul#posts { + margin: 0; +} + +.clear { + clear: both; +} + +a { + color: #000; + text-decoration: none; + -webkit-transition: all 0.2s ease-in-out; + -moz-transition: all 0.2s ease-in-out; + -o-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; +} + +a:hover { + color: #333; +} + +p a, +.archivelist a, +.home #content a, +ol a, +ul a, +h1 a, +h2 a, +table a +{ + border-bottom: 1px solid #03b4d1; +} + +p a:hover, +.archivelist a:hover, +.archivelist a:visited, +.home #content a:hover, +ol a:hover, +ul a:hover, +h1 a:hover, +h2 a:hover, +table a:hover +{ + border-bottom: 1px solid #dadada; +} + +.linktitle a { + border-bottom: 2px solid #03b4d1; + line-height: 1.6em; +} + +.linktitle a:hover { + border-bottom: 2px solid #dadada; +} + +.posttitle a, .postitle a:hover, .sitetitle a, ul#pagenav li a, .pagination a { + border: none !important; +} + +.pagination a:hover { + color: #999; +} + +a[rev=footnote], sup a { + color: #03b4d1; + border: none; +} + +.infin { + color: #03b4d1; + font-family: sans-serif; + border: none !important; + margin-left: 5px; +} + +img { + max-width: 100%; + height: auto; +} + +code { + white-space: pre-wrap; /* css-3 */ + white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */ + white-space: -pre-wrap; /* Opera 4-6 */ + white-space: -o-pre-wrap; /* Opera 7 */ + word-wrap: break-word; /* Internet Explorer 5.5+ */ + background: #f3f3f3; + border: 1px solid #e0e0e0; + font-size: 0.9em; + padding: 2px 6px; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; + font-family: "source-code-pro", monospace; +} + +pre { + -moz-tab-size: 2; + -o-tab-size: 2; + tab-size: 2; +} + +pre code { + display: block; + padding: 10px 20px; +} + +blockquote { + border-left: 7px solid #03b4d1; + padding-left: 14px; + margin: 0; +} + +.tweet { + text-align: center; +} + +ul.archivenav { + padding-left: 0; + list-style: none; + margin-bottom: 30px; + border-bottom: 1px solid #dadada; + padding-bottom: 5px; +} + +ul.archivenav li { + margin-right: 20px; + display: inline; +} + +ul.archivenav li.selected { + border-bottom: 3px solid #333; + padding-bottom: 5px; +} + +.googlesearch { + display: none; +} + +fieldset { + display: inline; + border: none; + padding: 0; +} + +.post ul li { + list-style-type: disc; + } + +.post img { + padding: 8px; + border: 1px solid #DBDBDB !important; + background: #E9E9E9; + border-radius: 6px; + width: 640px; +} + +.footnotes { + font-size: 16px; + line-height: 1.6em; +} + +.footnotes p { + display: inline; +} + +.footnotes hr { + border: none; + height: 1px; + background: #dadada; +} + +sup a[rel="footnote"] { + padding: 0 1px; +} + +#posts, .archivelist, #pagenav { + list-style: none; + padding-left: 0; +} + +#archive h2, .home #content h2, .projects #content h2 { + font-size: 20px; + margin-bottom: 0; +} + +.home .posttitle { + display: none; +} + +.home #content p:first-of-type { + margin-top: 0; +} + +#archive .archivelist { + margin-top: 5px; +} + +#masthead { + padding: 15px 0; + background: none repeat scroll 0% 0% #222; + color: #fff; +} + +#profile-image{ + +} + + + +.js #masthead { + position: fixed; + width: 100%; + top: 0; + left: 0; + z-index: 1000; + max-height: 100%; + overflow: auto; +} + +.js body { + margin-top: 50px; +} + +#masthead hr { + display: none; +} + +#masthead img { + display: none; + width: 103px; + height: 103px; + background-position: center center; + background-size: cover; + border-radius: 50%; +} + +#content { + padding-top: 30px; +} + +ul#pagenav { + padding: 0 20px; +} + +.js ul#pagenav{ + display: none; + margin-top: 15px; +} + +.menubutton { + position: absolute; + top: 10px; + right: 15px; + background: rgba(255,255,255,0); + padding: 2px; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; + z-index: 1000; + -webkit-animation-name: dropin; + -webkit-animation-duration: 1.8s; + -webkit-animation-iteration-count: 1; + -webkit-animation-timing-function: ease-in-out; + -moz-animation-name: dropin; + -moz-animation-duration: 1.8s; + -moz-animation-iteration-count: 1; + -moz-animation-timing-function: ease-in-out; + animation-name: dropin; + animation-duration: 1.8s; + animation-iteration-count: 1; + animation-timing-function: ease-in-out; +} + +.menubutton span { + width: 30px; + height: 5px; + margin: 4px; + display: block; + background: #fff; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} + +ul#pagenav li a { + display: block; + padding: 8px 0; + border-bottom: 1px solid #fff; + border-bottom: 1px solid rgba(255,255,255,0.2); + background: url('../img/chevron.png') no-repeat right center; + color: #fff; +} + +ul#pagenav li a.rss { + background: url('../img/rss.png') no-repeat right center; +} + +ul#pagenav li a.twitter { + background: url('../img/twitter.png') no-repeat right center; +} + +ul#pagenav li a.adn { + background: url('../img/adn.png') no-repeat right center; +} + +/* Social */ + +.social-links { + width: 210px; + height: 34px; + display: none; + margin: 0 auto 35px; + margin-top: 10px; + list-style: none; +} + +.social-links li { + float: left; + /*-webkit-transition: all 0.5s ease; + -moz-transition: all 0.5s ease; + -o-transition: all 0.5s ease; + transition: all 0.5s ease;*/ +} + +.social-links li a { + display: block; + width: 34px; + height: 34px; + outline: none; + margin: 0 4px; + background: transparent url(../img/social-links-white.png) no-repeat; + text-indent: -9000px; + position: relative; + border: none; + overflow: hidden; +} + +.social-links li:nth-child(2n+2):hover { + -webkit-transform: rotate(5deg); + -moz-transform: rotate(5deg); + -o-transform: rotate(5deg); + transform: rotate(5deg); +} + +.social-links li:nth-child(2n+1):hover { + -webkit-transform: rotate(-5deg); + -moz-transform: rotate(-5deg); + -o-transform: rotate(-5deg); + -ms-transform: rotate(-5deg); + transform: rotate(-5deg); +} + +.social-links li .social-rss { background-position: 0px 0px; } +.social-links li .social-email { background-position: -42px 0px; } +.social-links li .social-twitter { background-position: -84px 0px; } +.social-links li .social-facebook { background-position: -126px 0px; } +.social-links li .social-github { background-position: -168px 0px; } + +ul#pagenav li a.active { + background: none !important; +} + +ul#pagenav li a.active:after { + content: ' Voc\00EA esta aqui'; + float: right; + color: #fff; +} + +ul#pagenav li:last-child a { + border: none; +} + +h1, h2, h3, h4, h5, h6 { + color: #000; +} + +h1.sitetitle, h2.sitetitle { + margin-left: 20px; +} + +.description { + display: none; +} + +.sitetitle { + font-size: 36px; + font-family: 'ChunkFive', Helvetica, sans-serif; + text-transform: lowercase; + font-weight: 100; + display: block; + border: none; + color: #fff; + -webkit-font-smoothing: antialiased; + text-shadow: 0 1px 0 rgba(0,0,0,.1); +} + +a.sitetitle { + padding-top: 0 !important; + line-height: 25px; + top: -4px; + position: relative; +} + +.sitetitle:hover { + color: #a6efe8; +} + +h1.sitetitle a, h2.sitetitle a { + padding-top: 10px; + display: inline; +} + +.linktitle { + font-size: 18px; + line-height: 1.4em; + margin: 0; +} + +.posttitle { + font-size: 26px; + line-height: 1.2em; + margin: 0; +} + +.post .posttitle { + text-transform: uppercase; + text-align: center; + max-width: 80%; + margin: 0 auto; + font-weight: normal; + letter-spacing: 0.1em; + line-height: 1em; +} + +/*.post .posttitle:before { + content: '\00A7'; + display: block; + color: #DADADA; + letter-spacing: 0; + margin-bottom: 10px; +}*/ + +.articledate { + text-align: center; +} + +.archivelist span { + display: block; +} + +.archivelist li { + margin-bottom: 1em; +} + +ul#posts li.post { + padding: 0; + margin: 0 0 40px 0; + padding: 0 0 40px 0; + border-bottom: 4px double #dadada; +} + +p.pagination .newer { + float: left; +} + +p.pagination .older { + float: right; +} + +p.pagination { + line-height: 42px; +} + +p.pagination .newer, p.pagination .older { + padding: 0 14px; + background: #dadada; + color: #fff; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} + +p.pagination a.newer, p.pagination a.older { + border: 1px solid #fff; + background: #03b4d1; +} + +p.pagination a.newer:hover, p.pagination a.older:hover { + background: #000; +} + +p.pagination { + text-align: center; +} + +.date, .description { + color: #555; + margin-bottom: 0; + text-transform: uppercase; + font-size: 12px; + letter-spacing: 2px; +} + +.date span { + text-transform: lowercase; + display: inline !important; +} + +.comments { + text-align: center; + padding-top: 2em; + border-top: 4px double #dadada; + margin-top: 4em; +} + +ul#pagenav, .sitetitle { + margin: 0; +} + +#content { + padding-bottom: 10px; +} + +.footnoteContent { + background: #000; + background: rgba(0, 0, 0, .9); + color: #fff; + display: none; + padding: 0 20px 20px 20px; + -webkit-font-smoothing: antialiased; + width: 100%; + -moz-box-sizing: border-box; + -webkit-box-sizing: border-box; + box-sizing: border-box; + overflow: auto; + margin: 0; + position: fixed; + right: 0; + bottom: 0; + max-height: 100%; + -webkit-overflow-scrolling: touch; + z-index: 1000; +} + +.footnoteContent code { + background: none; + border: none; + padding: 0; +} + +.footnoteContent a { + color: #fff; +} + +.closeFootnote { + text-align: right; + display: block; + border-bottom: 1px solid #333; + font-size: 20px; + font-family: sans-serif; + text-transform: uppercase; + color: #fff; + text-decoration: none; + padding: 10px 0; +} + +.js div.footnotes { + display: none; +} + +figure { + display: block; + margin: 2em 0; + text-align: center; + font-style: italic; +} + +figure img { + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} + +figcaption { + font-size: 0.9em; + line-height: 1.4em; +} + +::-moz-selection { + background: #03b4d1; + color: #fff; +} + +::selection { + background: #03b4d1; + color: #fff; +} + +#infscr-loading { + text-align: center; + margin-bottom: 30px; +} + +/* Mobile */ + +@media only screen and (max-width: 500px) and (-webkit-min-device-pixel-ratio: 2) { + + ul#pagenav li a { + background: url('../img/chevron_2x.png') no-repeat right center; + background-size: 16px 16px; + } + + ul#pagenav li a.rss { + background: url('../img/rss_2x.png') no-repeat right center; + background-size: 16px 16px; + } + + ul#pagenav li a.twitter { + background: url('../img/twitter_2x.png') no-repeat right center; + background-size: 16px 16px; + } + + ul#pagenav li a.adn { + background: url('../img/adn_2x.png') no-repeat right center; + background-size: 16px 16px; + } + + .social-links{ + display: none; + } + +} + +/* Tablets */ + +@media only screen and (min-width:600px) { + + body { + font-size: 18px; + line-height: 1.8em; + } + + .container { + padding: 0; + width: 75%; + margin: 10px auto; + } + + #masthead { + text-align: center; + padding: 30px 0; + position: static !important; + } + + body { + padding: 0; + margin-top: 0 !important; + } + + #masthead hr { + display: block; + height: 1px; + border: none; + width: 75%; + background: #fff; + background: rgba(255,255,255,0.4); + margin: 20px auto; + } + + a.sitetitle { + position: static; + padding-top: 10px !important; + } + + .description { + width: 230px; + display: block; + color: rgba(255, 255, 255, 0.7); + padding: 0 0 10px; + margin: 0 auto !important; + border-bottom: 1px solid rgba(255, 255, 255, 0.2); + } + + h1.sitetitle, h2.sitetitle, .description { + margin-left: 0; + } + + h1.sitetitle a, h2.sitetitle a { + display: block; + } + + #masthead img { + display: inline; + /*width: 100px; + height: 100px; + -webkit-border-radius: 1000px; + -moz-border-radius: 1000px; + border-radius: 1000px;*/ + } + + .social-links{ + display: block; + } + + /*#masthead img:hover { + -webkit-filter: grayscale(100%); + -moz-filter: grayscale(100%); + -ms-filter: grayscale(100%); + -o-filter: grayscale(100%); + filter: grayscale(100%); + }*/ + + .archivelist { + padding-left: 30px; + } + + .googlesearch { + display: inline; + } + + blockquote { + padding-left: 20px; + } + + .home #content p:first-of-type { + font-size: 32px; + line-height: 48px; + margin-top: 0; + } + + .js ul#pagenav { + display: block; + } + + ul#pagenav { + font-size: 16px; + } + + ul#pagenav li { + margin: 0 8px; + display: inline; + } + + ul#pagenav li a { + display: inline; + padding: 0; + border: none; + background: none !important; + } + + ul#pagenav li a:hover { + color: #a6efe8; + } + + ul#pagenav li a.active { + color: #a6efe8; + } + + ul#pagenav li a.active:after { + content: ''; + } + + .menubutton { + display: none; + } + + .linktitle { + font-size: 24px; + } + + .posttitle { + font-size: 32px; + } + + figure { + width: 120%; + margin-left: -10%; + } + + p[data-pullquote] { + display: block; + } + + p[data-pullquote]:before { + content: attr(data-pullquote); + float: right; + width: 200px; + margin: 0 -5% 0.5em 30px; + padding: 0; + position: relative; + top: -3px; + font-size: 22px; + font-style: italic; + text-align: left; + color: #03b4d1; + } + + p.pull-left[data-pullquote]:before { + float: left !important; + margin: 0 30px 0.5em -5%; + text-align: right; + } + + a[title]:hover:before, abbr[title]:hover:before { + content: attr(title); + position: fixed; + top: 10px; + right: 10px; + display: block; + background: #000; + background: rgba(0,0,0,0.8); + color: #fff; + padding: 3px 10px; + font-size: 14px; + font-weight: normal; + z-index: 1000; + text-align: center; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; + } + +} + +/* Standard Desktop */ + +@media only screen and (min-width:900px) { + + #masthead { + position: fixed !important; + top: 0; + padding-top: 70px; + left: 0; + width: 25% !important; + height: 100%; + box-shadow: inset -30px -10px 80px 0 rgba(0,0,0,.2), inset -10px -10px 20px 0 rgba(0,0,0,.15), 1px 0 0 0 white; + } + + .home #masthead { + -webkit-animation-name: slidein; + -webkit-animation-duration: 1s; + -webkit-animation-iteration-count: 1; + -webkit-animation-timing-function: ease-in-out; + -moz-animation-name: slidein; + -moz-animation-duration: 1s; + -moz-animation-iteration-count: 1; + -moz-animation-timing-function: ease-in-out; + animation-name: slidein; + animation-duration: 1s; + animation-iteration-count: 1; + animation-timing-function: ease-in-out; + } + + .container { + width: 75%; + position: absolute; + top: 0; + right: 0; + margin-top: 80px; + } + + #content { + margin: 0 auto; + padding: 0 0 80px 0; + width: 80%; + max-width: 640px; + } + + ul#pagenav li { + margin: 0; + display: block; + } + + .infin { + color: #dadada; + } + + .post:hover .infin { + color: #03b4d1; + } + + figure { + width: 100%; + margin-left: 0; + } + + .social-links { + top: 25px; + right: 20px; + margin-left: auto; + margin-right: auto; + } + +} + +/* Large screens */ + +@media only screen and (min-width:1200px) { + + figure { + width: 130%; + margin-left: -15%; + } + +} + +/* Fucking Large screens */ + +@media only screen and (min-width:2000px) { + + .home #content p:first-of-type { + font-size: 48px; + line-height: 57px; + } + + #content { + font-size: 22px; + line-height: 1.7em; + } + + .posttitle { + font-size: 48px; + } + + .linktitle { + font-size: 27px; + } + + #content { + max-width: 800px; + } + +} + +@media only screen and (-webkit-min-device-pixel-ratio: 2) { + #infscr-loading img { + width: 12px; + height: 12px; + } +} + +.talks h1 { + font-size: 32px; +} + +/*#zeno-illustration { + position: absolute; + bottom: 160px; + left: 80px; +}*/ + +#zeno-illustration { + margin-left: 40px; +} + +a[rev="footnote"], sup a { + border: none !important; +} + +/* --- Font --- */ + +@font-face { + font-family: 'ChunkFive'; + src: url('../font/Chunkfive.eot'); + src: local('ChunkFive Regular'), local('ChunkFive'), url('../font/Chunkfive.woff') format('woff'), url('../font/Chunkfive.svg#ChunkFive') format('svg'), url('../font/Chunkfive.otf') format('opentype'); + font-weight: normal; + font-style: normal; +} + +/* --- Video Border --- */ + +.video-wrap { + position: relative; + padding-bottom: 56.25%; + padding-top: 30px; + height: 0; + overflow: hidden; + margin-bottom: 18px; +} + +.video-wrap iframe { + position: absolute; + top: 0; + left: 0; + width: 96%; + height: 96%; + padding: 1%; + border: 1px solid #DBDBDB !important; + background: #E9E9E9; + border-radius: 6px; +} + +/* Download-Fork Buttons */ + +.demo-download { + width: 320px; + margin: 15px auto; +} + +.demo-download a { + border: none !important; +} + +.demo-download img { + border: none !important; + padding: 0 !important; + background: none !important; + border-radius: 0 !important; + width: auto !important; +} + +.view { + width: 280px; + height: 200px; + margin: 10px; + float: left; + border: 10px solid #fff !important; + overflow: hidden; + position: relative; + text-align: center; + -webkit-box-shadow: 1px 1px 2px #e6e6e6; + -moz-box-shadow: 1px 1px 2px #e6e6e6; + box-shadow: 1px 1px 2px #e6e6e6; + background: #fff no-repeat center center; + display: block; +} +.view .content { + width: 280px; + height: 200px; + position: absolute; + overflow: hidden; + top: 0; + left: 0; +} +.view img { + display: block; + position: relative; + -webkit-filter: hue-rotate(0deg); + +} +.view-first img { + -webkit-transition: all 0.3s linear; + -moz-transition: all 0.3s linear; + -o-transition: all 0.3s linear; + transition: all 0.3s linear; +} + +.view-first:hover img { + -webkit-filter: hue-rotate(90deg); +} + +/* Ordered List */ + +ol { + counter-reset: item; +} + +ol li { + display: block; +} + +ol li p { + display: inline-block; + margin: 5px 0; +} + +ol li:before { + content: counters(item, ".") " "; + counter-increment: item; +} + +/* Table */ + +table { + font-size: 15.988px; +} +table th, +table td { + padding: 8px 25px; + border-top: 2px solid #eef0f0; + text-align: center !important; +} +table th { + color: #526476; + padding-bottom: 14px; +} +table i[class*="fui-"] { + vertical-align: baseline; + font-size: 20px; +} +table .checkbox, +table .radio { + margin-bottom: 0; + margin-left: -9px; +} +table .checkbox.no-label, +table .radio.no-label { + padding-left: 0; +} +table .selected-row > td { + background-color: #f2fbfa; +} +table img { + vertical-align: top; +} + +table tbody > tr:nth-child(even) > td, +table tbody > tr.selected-row > td, +table tbody > tr:nth-child(even) > th, +table tbody > tr.selected-row > th { + background-color: #f9fafb; +} +table tbody > tr:nth-child(odd) > td, +table tbody > tr:nth-child(odd) > th { + background-color: transparent; +} + +table tbody tr.success > td { + background-color: #ecfaf2; + border-color: #d5f5e3; +} +table tbody tr.error > td, +table tbody tr.danger > td { + background-color: #fdefed; + border-color: #fadbd8; +} +table tbody tr.warning > td { + background-color: #fefae9; + border-color: #faecb0; +} +table tbody tr.info > td { + background-color: #edf6fc; + border-color: #d6eaf8; +} + +pre { + font-size: 15px !important; +} \ No newline at end of file diff --git a/_site/assets/css/normalize.css b/_site/assets/css/normalize.css new file mode 100644 index 0000000..e8425de --- /dev/null +++ b/_site/assets/css/normalize.css @@ -0,0 +1,376 @@ +/*! normalize.css v2.0.1 | MIT License | git.io/normalize */ + +/* ========================================================================== + HTML5 display definitions + ========================================================================== */ + +/* + * Corrects `block` display not defined in IE 8/9. + */ + +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +nav, +section, +summary { + display: block; +} + +/* + * Corrects `inline-block` display not defined in IE 8/9. + */ + +audio, +canvas, +video { + display: inline-block; +} + +/* + * Prevents modern browsers from displaying `audio` without controls. + * Remove excess height in iOS 5 devices. + */ + +audio:not([controls]) { + display: none; + height: 0; +} + +/* + * Addresses styling for `hidden` attribute not present in IE 8/9. + */ + +[hidden] { + display: none; +} + +/* ========================================================================== + Base + ========================================================================== */ + +/* + * 1. Sets default font family to sans-serif. + * 2. Prevents iOS text size adjust after orientation change, without disabling + * user zoom. + */ + +html { + font-family: sans-serif; /* 1 */ + -webkit-text-size-adjust: 100%; /* 2 */ + -ms-text-size-adjust: 100%; /* 2 */ +} + +/* + * Removes default margin. + */ + +body { + margin: 0; + line-height: 1.6em; +} + +/* ========================================================================== + Links + ========================================================================== */ + +/* + * Addresses `outline` inconsistency between Chrome and other browsers. + */ + +a:focus { + outline: thin dotted; +} + +/* + * Improves readability when focused and also mouse hovered in all browsers. + */ + +a:active, +a:hover { + outline: 0; +} + +/* ========================================================================== + Typography + ========================================================================== */ + +/* + * Addresses `h1` font sizes within `section` and `article` in Firefox 4+, + * Safari 5, and Chrome. + */ + +h1 { + font-size: 2em; +} + +/* + * Addresses styling not present in IE 8/9, Safari 5, and Chrome. + */ + +abbr[title] { + border-bottom: 1px dotted; +} + +/* + * Addresses style set to `bolder` in Firefox 4+, Safari 5, and Chrome. + */ + +b, +strong { + font-weight: bold; +} + +/* + * Addresses styling not present in Safari 5 and Chrome. + */ + +dfn { + font-style: italic; +} + +/* + * Addresses styling not present in IE 8/9. + */ + +mark { + background: #ff0; + color: #000; +} + + +/* + * Corrects font family set oddly in Safari 5 and Chrome. + */ + +code, +kbd, +pre, +samp { + font-family: monospace, serif; + font-size: 1em; +} + +/* + * Improves readability of pre-formatted text in all browsers. + */ + +pre { + white-space: pre; + white-space: pre-wrap; + word-wrap: break-word; +} + +/* + * Sets consistent quote types. + */ + +q { + quotes: "\2018" "\2019" "\201C" "\201D"; +} + +/* + * Addresses inconsistent and variable font size in all browsers. + */ + +small { + font-size: 80%; +} + +/* + * Prevents `sub` and `sup` affecting `line-height` in all browsers. + */ + +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +sup { + top: -0.5em; +} + +sub { + bottom: -0.25em; +} + +/* ========================================================================== + Embedded content + ========================================================================== */ + +/* + * Removes border when inside `a` element in IE 8/9. + */ + +img { + border: 0; +} + +/* + * Corrects overflow displayed oddly in IE 9. + */ + +svg:not(:root) { + overflow: hidden; +} + +/* ========================================================================== + Figures + ========================================================================== */ + +/* + * Addresses margin not present in IE 8/9 and Safari 5. + */ + +figure { + margin: 0; +} + +/* ========================================================================== + Forms + ========================================================================== */ + +/* + * Define consistent border, margin, and padding. + */ + +fieldset { + border: 1px solid #c0c0c0; + margin: 0 2px; + padding: 0.35em 0.625em 0.75em; +} + +/* + * 1. Corrects color not being inherited in IE 8/9. + * 2. Remove padding so people aren't caught out if they zero out fieldsets. + */ + +legend { + border: 0; /* 1 */ + padding: 0; /* 2 */ +} + +/* + * 1. Corrects font family not being inherited in all browsers. + * 2. Corrects font size not being inherited in all browsers. + * 3. Addresses margins set differently in Firefox 4+, Safari 5, and Chrome + */ + +button, +input, +select, +textarea { + font-family: inherit; /* 1 */ + font-size: 100%; /* 2 */ + margin: 0; /* 3 */ +} + +/* + * Addresses Firefox 4+ setting `line-height` on `input` using `!important` in + * the UA stylesheet. + */ + +button, +input { + line-height: normal; +} + +/* + * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` + * and `video` controls. + * 2. Corrects inability to style clickable `input` types in iOS. + * 3. Improves usability and consistency of cursor style between image-type + * `input` and others. + */ + +button, +html input[type="button"], /* 1 */ +input[type="reset"], +input[type="submit"] { + -webkit-appearance: button; /* 2 */ + cursor: pointer; /* 3 */ +} + +/* + * Re-set default cursor for disabled elements. + */ + +button[disabled], +input[disabled] { + cursor: default; +} + +/* + * 1. Addresses box sizing set to `content-box` in IE 8/9. + * 2. Removes excess padding in IE 8/9. + */ + +input[type="checkbox"], +input[type="radio"] { + box-sizing: border-box; /* 1 */ + padding: 0; /* 2 */ +} + +/* + * 1. Addresses `appearance` set to `searchfield` in Safari 5 and Chrome. + * 2. Addresses `box-sizing` set to `border-box` in Safari 5 and Chrome + * (include `-moz` to future-proof). + */ + +input[type="search"] { +/* -webkit-appearance: textfield; /* 1 */*/ + -moz-box-sizing: content-box; + -webkit-box-sizing: content-box; /* 2 */ + box-sizing: content-box; +} + +/* + * Removes inner padding and search cancel button in Safari 5 and Chrome + * on OS X. + */ + +input[type="search"]::-webkit-search-cancel-button, +input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +/* + * Removes inner padding and border in Firefox 4+. + */ + +button::-moz-focus-inner, +input::-moz-focus-inner { + border: 0; + padding: 0; +} + +/* + * 1. Removes default vertical scrollbar in IE 8/9. + * 2. Improves readability and alignment in all browsers. + */ + +textarea { + overflow: auto; /* 1 */ + vertical-align: top; /* 2 */ +} + +/* ========================================================================== + Tables + ========================================================================== */ + +/* + * Remove most spacing between table cells. + */ + +table { + border-collapse: collapse; + border-spacing: 0; +} diff --git a/_site/assets/css/pretiffy.css b/_site/assets/css/pretiffy.css new file mode 100644 index 0000000..b0634f7 --- /dev/null +++ b/_site/assets/css/pretiffy.css @@ -0,0 +1,28 @@ +pre .str, code .str { color: #FFFF66; } /* string */ +pre .kwd, code .kwd { color: #A6E22E; } /* keyword */ +pre .com, code .com { color: #75715E; font-style: italic; } /* comment */ +pre .typ, code .typ { color: #89bdff; } /* type */ +pre .lit, code .lit { color: #AE81FF; } /* literal */ +pre .pun, code .pun { color: #FFFFFF; } /* punctuation */ +pre .pln, code .pln { color: #00FFFF; } /* plaintext */ +pre .tag, code .tag { color: #70FFE0; } /* html/xml tag */ +pre .atn, code .atn { color: #A6E22E; } /* html/xml attribute name */ +pre .atv, code .atv { color: #FFFF66; } /* html/xml attribute value */ +pre .dec, code .dec { color: #3387CC; } /* decimal */ + +pre.prettyprint, code.prettyprint { + background-color: #232323; + -moz-border-radius: 6px; + -webkit-border-radius: 6px; + -o-border-radius: 6px; + -ms-border-radius: 6px; + -khtml-border-radius: 6px; + border-radius: 6px; +} + +pre.prettyprint { + width: 95%; + margin: 1em auto; + padding: 1em; + white-space: pre-wrap; +} diff --git a/_site/assets/css/projects.css b/_site/assets/css/projects.css new file mode 100644 index 0000000..962c055 --- /dev/null +++ b/_site/assets/css/projects.css @@ -0,0 +1,196 @@ +/* Github Box */ + +.github-box { + font-family: "Helvetica Neue", Arial, sans-serif; + background: #fafafa; + border: 1px solid #ddd; + color: #666; + border-radius: 5px; + float: left; + margin-right: 1.2em; + margin-bottom: 2em; + width: 46%; + line-height: 1em; +} + +.github-box a { + color: #4183C4; + border: none; +} + +/* Github Box Header */ + +.github-box .github-box-header { + position: relative; + border-bottom: 1px solid #ddd; + border-radius: 5px 5px 0 0; + background: #fcfcfc; + background: -moz-linear-gradient(#fcfcfc, #ebebeb); + background: -webkit-linear-gradient(#fcfcfc, #ebebeb); + -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfcfc',endColorstr='#ebebeb')"; +} + +.github-box .github-box-header h3 { + font-family: Helvetica, Arial, sans-serif; + font-weight: normal; + font-size: 16px; + color: gray; + margin: 0; + padding: 10px 10px 10px 10px; +} + +.github-box .github-box-header h3 a { + font-weight: bold +} + +/* Github Box Header - Stats */ + +.github-box .github-box-header .github-stats { + position: absolute; + top: 10px; + right: 10px; + background: white; + border: 1px solid #ddd; + border-radius: 3px; + font-size: 11px; + font-weight: bold; + line-height: 21px; + height: 21px; +} + +.github-box .github-box-header .github-stats a { + display: inline-block; + height: 21px; + color: #666; + padding: 0 5px 0 18px; + background: url('../img/btn-sprite.png') no-repeat; + filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70); + opacity: 0.7; +} + +.github-box .github-box-header .github-stats a:hover { + filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100); + opacity: 1; +} + +.github-box .github-box-header .github-stats .repo-watchers { + border-right: 1px solid #ddd; + background-position: 3px 4px; +} + +.github-box .github-box-header .github-stats .repo-forks { + background-position: 2px -14px; + padding-left: 15px; +} + +/* Github Box Content */ + +.github-box .github-box-content { + padding: 10px; + font-weight: 300; + font-size: 0.7em; +} + +.github-box .github-box-content p { + margin: 0; +} + +.github-box .github-box-content .repo-link { + font-weight: bold; +} + +/* Github Box Download */ + +.github-box .github-box-download { + position: relative; + border-top: 1px solid #ddd; + background: white; + border-radius: 0 0 3px 3px; + padding: 10px; + height: 24px; +} + +.github-box .github-box-download .repo-update { + margin: 0; + font-size: 11px; + color: #666; + line-height: 24px; +} + +.github-box .github-box-download .repo-update strong { + font-size: 12px; + font-weight: bold; + color: #000; +} + +.github-box .github-box-download .repo-download { + position: absolute; + display: block; + top: 10px; + right: 10px; + height: 24px; + line-height: 24px; + font-size: 12px; + color: #666; + font-weight: bold; + text-shadow: 0 1px 0 rgba(255,255,255,0.9); + padding: 0 10px; + border: 1px solid #ddd; + border-bottom-color: #bbb; + border-radius: 3px; + display: block; + text-indent: -9999px; + width: 24px; + padding: 0; + background: url('../img/btn-sprite.png') no-repeat 4px -31px,-webkit-linear-gradient(whiteSmoke, #E5E5E5); + background: url('../img/btn-sprite.png') no-repeat 4px -31px,-moz-linear-gradient(#f1f7fa, #dbeaf1); + filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=70); + opacity: 0.7; +} + +.github-box .github-box-download .repo-download:hover { + color: #527894; + border-color: #cfe3ed; + border-bottom-color: #9fc7db; + filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100); + opacity: 1; +} + +/* PROJECTS */ +.projects { + color: #f0f0f0; +} +.project-box { + width: 96%; + margin-bottom: 30px; + text-decoration: none; + background: #3f3f3f; + display: block; +} +.project-box:hover { + text-decoration: none; + color: #fff; + background: #4b4b4b; +} +.project-image { + width: 100%; + height: 140px; + background-repeat: no-repeat; + background-size: cover; + -webkit-background-size: cover; + -moz-background-size: cover; + -o-background-size: cover; + background-position: center center; +} +.project-title { + color: white; + width: 100%; + text-overflow: ellipsis; + display: block; + white-space: nowrap; + overflow: hidden; + padding: 6px 9px; + font-size: 14px; + text-decoration: none; + text-transform: uppercase; +} \ No newline at end of file diff --git a/_site/assets/favicon.ico b/_site/assets/favicon.ico new file mode 100644 index 0000000..c2cbeda Binary files /dev/null and b/_site/assets/favicon.ico differ diff --git a/_site/assets/favicon.png b/_site/assets/favicon.png new file mode 100644 index 0000000..fd08edb Binary files /dev/null and b/_site/assets/favicon.png differ diff --git a/_site/assets/font/Chunkfive.eot b/_site/assets/font/Chunkfive.eot new file mode 100644 index 0000000..c853fef Binary files /dev/null and b/_site/assets/font/Chunkfive.eot differ diff --git a/_site/assets/font/Chunkfive.svg b/_site/assets/font/Chunkfive.svg new file mode 100644 index 0000000..5c7ba3d --- /dev/null +++ b/_site/assets/font/Chunkfive.svg @@ -0,0 +1,214 @@ + + + + +This is a custom SVG webfont generated by Font Squirrel. +Copyright : copyright missing + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/_site/assets/font/Chunkfive.ttf b/_site/assets/font/Chunkfive.ttf new file mode 100644 index 0000000..523b62e Binary files /dev/null and b/_site/assets/font/Chunkfive.ttf differ diff --git a/_site/assets/font/Chunkfive.woff b/_site/assets/font/Chunkfive.woff new file mode 100644 index 0000000..7a1b180 Binary files /dev/null and b/_site/assets/font/Chunkfive.woff differ diff --git a/_site/assets/img/adn.png b/_site/assets/img/adn.png new file mode 100644 index 0000000..e120323 Binary files /dev/null and b/_site/assets/img/adn.png differ diff --git a/_site/assets/img/adn_2x.png b/_site/assets/img/adn_2x.png new file mode 100644 index 0000000..4504594 Binary files /dev/null and b/_site/assets/img/adn_2x.png differ diff --git a/_site/assets/img/btn-sprite.png b/_site/assets/img/btn-sprite.png new file mode 100644 index 0000000..b9e22c0 Binary files /dev/null and b/_site/assets/img/btn-sprite.png differ diff --git a/_site/assets/img/chevron.png b/_site/assets/img/chevron.png new file mode 100644 index 0000000..5983f7e Binary files /dev/null and b/_site/assets/img/chevron.png differ diff --git a/_site/assets/img/chevron_2x.png b/_site/assets/img/chevron_2x.png new file mode 100644 index 0000000..6bbbfd8 Binary files /dev/null and b/_site/assets/img/chevron_2x.png differ diff --git a/_site/assets/img/fb-share.jpg b/_site/assets/img/fb-share.jpg new file mode 100644 index 0000000..201bc1f Binary files /dev/null and b/_site/assets/img/fb-share.jpg differ diff --git a/_site/assets/img/insta-insta.png b/_site/assets/img/insta-insta.png new file mode 100644 index 0000000..03116ac Binary files /dev/null and b/_site/assets/img/insta-insta.png differ diff --git a/_site/assets/img/rss.png b/_site/assets/img/rss.png new file mode 100644 index 0000000..1d0f8a1 Binary files /dev/null and b/_site/assets/img/rss.png differ diff --git a/_site/assets/img/rss_2x.png b/_site/assets/img/rss_2x.png new file mode 100644 index 0000000..b93682e Binary files /dev/null and b/_site/assets/img/rss_2x.png differ diff --git a/_site/assets/img/social-links-white.png b/_site/assets/img/social-links-white.png new file mode 100644 index 0000000..457a855 Binary files /dev/null and b/_site/assets/img/social-links-white.png differ diff --git a/_site/assets/img/texture-white.jpg b/_site/assets/img/texture-white.jpg new file mode 100644 index 0000000..2aed73f Binary files /dev/null and b/_site/assets/img/texture-white.jpg differ diff --git a/_site/assets/img/time-control.png b/_site/assets/img/time-control.png new file mode 100644 index 0000000..dbd182c Binary files /dev/null and b/_site/assets/img/time-control.png differ diff --git a/_site/assets/img/twitter.png b/_site/assets/img/twitter.png new file mode 100644 index 0000000..c83932d Binary files /dev/null and b/_site/assets/img/twitter.png differ diff --git a/_site/assets/img/twitter_2x.png b/_site/assets/img/twitter_2x.png new file mode 100644 index 0000000..d2b44ec Binary files /dev/null and b/_site/assets/img/twitter_2x.png differ diff --git a/_site/assets/img/xmovie.png b/_site/assets/img/xmovie.png new file mode 100644 index 0000000..6ac6a30 Binary files /dev/null and b/_site/assets/img/xmovie.png differ diff --git a/_site/assets/js/fokus.min.js b/_site/assets/js/fokus.min.js new file mode 100644 index 0000000..f008325 --- /dev/null +++ b/_site/assets/js/fokus.min.js @@ -0,0 +1,28 @@ +/*! + * Fokus 0.5 + * http://lab.hakim.se/fokus + * MIT licensed + * + * Copyright (C) 2012 Hakim El Hattab, http://hakim.se + */ +(function(){var f=5;var r=0.75; +var w,v,t=0,o,b={left:0,top:0,right:0,bottom:0},h={left:0,top:0,right:0,bottom:0};function c(){if(k()&&!window.__fokused){window.__fokused=true;w=document.createElement("canvas"); +v=w.getContext("2d");w.style.position="fixed";w.style.left=0;w.style.top=0;w.style.zIndex=2147483647;w.style.pointerEvents="none";document.addEventListener("mousedown",m,false); +document.addEventListener("keyup",d,false);document.addEventListener("scroll",l,false);document.addEventListener("DOMMouseScroll",l,false);window.addEventListener("resize",e,false); +e();}}function k(){return !!("addEventListener" in document&&"pointerEvents" in document.body.style);}function s(){var x=u();v.clearRect(0,0,w.width,w.height); +v.fillStyle="rgba( 0, 0, 0, "+t+" )";v.fillRect(0,0,w.width,w.height);if(x){if(t<0.1){h=b;}else{h.left+=(b.left-h.left)*0.18;h.top+=(b.top-h.top)*0.18; +h.right+=(b.right-h.right)*0.18;h.bottom+=(b.bottom-h.bottom)*0.18;}}v.clearRect(h.left-window.scrollX-f,h.top-window.scrollY-f,(h.right-h.left)+(f*2),(h.bottom-h.top)+(f*2)); +if(x){t+=(r-t)*0.08;}else{t=Math.max((t*0.85)-0.02,0);}cancelAnimationFrame(o);if(x||t>0){if(!w.parentNode){document.body.appendChild(w);}o=requestAnimationFrame(s); +}else{document.body.removeChild(w);}}function q(A){b={left:Number.MAX_VALUE,top:Number.MAX_VALUE,right:0,bottom:0};var z=n();for(var C=0,F=z.length;C0||D>0)&&!B.nodeName.match(/^br$/gi)){b.left=Math.min(b.left,H); +b.top=Math.min(b.top,G);b.right=Math.max(b.right,H+I);b.bottom=Math.max(b.bottom,G+D);}}if(A){h=b;}if(u()){s();}}function u(){return b.left= 400 && results.data.message){ + console.warn(results.data.message); + return; + } + else { + + self.applyTemplate(results.data); + + // Cache data + if (window.sessionStorage) { + sessionStorage.setItem('gh-repos:' + self.repo, JSON.stringify(results.data)); + } + + } + } + }); + + } + + }; + + Plugin.prototype.applyTemplate = function (repo) { + + var self = this; + var date = new Date(repo.pushed_at); + var pushed_at = date.getDate() + '/' + (date.getMonth() + 1) + '/' + date.getFullYear(); + + var $widget = $(' \ +
\ + \ +
\ +

' + repo.description + ' — Read More

\ +
\ +
\ +

Latest commit to master on ' + pushed_at + '

\ + Download as zip \ +
\ +
\ + '); + + self.appendTemplate($widget); + + }; + + Plugin.prototype.appendTemplate = function ($widget) { + var self = this; + $widget.appendTo(self.$container); + }; + + // A really lightweight plugin wrapper around the constructor, + // preventing against multiple instantiations + $.fn[pluginName] = function ( options ) { + return this.each(function () { + if (!$.data(this, 'plugin_' + pluginName)) { + $.data(this, 'plugin_' + pluginName, new Plugin( this, options )); + } + }); + }; + +}(jQuery, window)); \ No newline at end of file diff --git a/_site/assets/js/jquery.github.repos.min.js b/_site/assets/js/jquery.github.repos.min.js new file mode 100644 index 0000000..04bf8e2 --- /dev/null +++ b/_site/assets/js/jquery.github.repos.min.js @@ -0,0 +1,10 @@ +/* + * jQuery Github Repos v0.2.2 + * A jQuery plugin to display your Github Repositories. + * http://git.io/3A1RMg + * + * Zeno Rocha + * MIT License + */ + +(function(a,b){function g(b,c){this.element=b,this.$container=a(b),this.repo=this.$container.attr("data-repo"),this.cached,this.options=a.extend({},f,c),this._defaults=f,this._name=d,this.init()}var d="githubRepos",f=(b.document,{propertyName:"value"});g.prototype.init=function(){var e,d=this;b.sessionStorage&&(e=sessionStorage.getItem("gh-repos:"+this.repo)),null!=e?d.applyTemplate(JSON.parse(e)):a.ajax({url:"https://api.github.com/repos/"+this.repo,dataType:"jsonp",success:function(a){return a.meta.status>=400&&a.data.message?(console.warn(a.data.message),c):(d.applyTemplate(a.data),b.sessionStorage&&sessionStorage.setItem("gh-repos:"+d.repo,JSON.stringify(a.data)),c)}})},g.prototype.applyTemplate=function(b){var c=this,d=new Date(b.pushed_at),e=d.getDate()+"/"+(d.getMonth()+1)+"/"+d.getFullYear(),f=a('

'+b.description+' — Read More

Latest commit to master on '+e+'

Download as zip
');c.appendTemplate(f)},g.prototype.appendTemplate=function(a){var b=this;a.appendTo(b.$container)},a.fn[d]=function(b){return this.each(function(){a.data(this,"plugin_"+d)||a.data(this,"plugin_"+d,new g(this,b))})}})(jQuery,window); \ No newline at end of file diff --git a/_site/assets/js/jquery.infinitescroll.min.js b/_site/assets/js/jquery.infinitescroll.min.js new file mode 100644 index 0000000..80eab89 --- /dev/null +++ b/_site/assets/js/jquery.infinitescroll.min.js @@ -0,0 +1 @@ +(function(o,i,k){i.infinitescroll=function z(D,F,E){this.element=i(E);if(!this._create(D,F)){this.failed=true}};i.infinitescroll.defaults={loading:{finished:k,finishedMsg:"Parabéns, você chegou no fim da internet :P",img:"data:image/gif;base64,R0lGODlhGAAYAPYAAP///wDSvvL7+qjv6FDf0irZyBLVwqTu5/z9/Yrp4BTVwwDSvub59zjbzDbby+r6+CDXxh7XxeT59/j8/Ibp3/D7+pjs5Jbr407f0TLaygbTvwzUwSzZydj39Lzy7RrWxGjk2Oz6+Ure0CTYx1Tg06rv6AjTwJzt5eD49tL28g7UwXLl2oTo37Tx64Do3pDq4mLi1vb8+zDaysz18a7w6aLu5m7l2UTdz0LdzibYxz7czcb070je0H7n3Vrh1Gbj17Dw6hjWxN749XTm27bx6wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJBQAAACwAAAAAGAAYAAAHmoAAgoOEhYaHgxUWBA4aCxwkJwKIhBMJBguZmpkqLBOUDw2bo5kKEogMEKSkLYgIoqubK5QJsZsNCIgCCraZBiiUA72ZJZQABMMgxgAFvRyfxpixGx3LANKxHtbNth8hy8i9IssHwwsXxgLYsSYpxrXDz5QIDubKlAwR5q2UErC2poxNoLBukwoX0IxVuIAhQ6YRBC5MskaxUCAAIfkECQUAAAAsAAAAABgAGAAAB6GAAIKDhIWGh4MVFgQOGhsOGAcxiIQTCQYLmZqZGwkIlA8Nm6OaMgyHDBCkqwsjEoUIoqykNxWFCbOkNoYCCrmaJjWHA7+ZHzOIBMUND5QFvzATlACYsy/TgtWsIpPTz7kyr5TKv8eUB8ULGzSIAtq/CYi46Qswn7AO9As4toUMEfRcHZIgC9wpRBMovNvU6d60ChcwZFigwYGIAwKwaUQUCAAh+QQJBQAAACwAAAAAGAAYAAAHooAAgoOEhYaHgxUWBA4aCzkkJwKIhBMJBguZmpkqLAiUDw2bo5oyEocMEKSrCxCnhAiirKs3hQmzsy+DAgq4pBogKIMDvpvAwoQExQvHhwW+zYiYrNGU06wNHpSCz746O5TKyzwzhwfLmgQphQLX6D4dhLfomgmwDvQLOoYMEegRyApJkIWLQ0BDEyi426Six4RtgipcwJAhUwQCFypA3IgoEAAh+QQJBQAAACwAAAAAGAAYAAAHrYAAgoOEhYaHgxUWBA4aCxwkJzGIhBMJBguZmpkGLAiUDw2bo5oZEocMEKSrCxCnhAiirKsZn4MJs7MJgwIKuawqFYIDv7MnggTFozlDLZMABcpBPjUMhpisJiIJKZQA2KwfP0DPh9HFGjwJQobJypoQK0S2B++kF4IC4PbBt/aaPWA5+CdjQiEGEd5FQHFIgqxcHF4dmkBh3yYVLmx5q3ABQ4ZMBUhYEOCtpLdAACH5BAkFAAAALAAAAAAYABgAAAeegACCg4SFhoeDFRYEDhoaDgQWFYiEEwkGC5mamQYJE5QPDZujmg0PhwwQpKsLEAyFCKKsqw0IhAmzswmDAgq5rAoCggO/sxaCBMWsBIIFyqsRgpjPoybS1KMqzdibBcjcmswAB+CZxwAC09gGwoK43LuDCA7YDp+EDBHPEa+GErK5GkigNIGCulEGKNyjBKDCBQwZMmXAcGESw4uUAgEAIfkECQUAAAAsAAAAABgAGAAAB62AAIKDhIWGh4MVFgQOGgscJCcxiIQTCQYLmZqZBiwIlA8Nm6OaGRKHDBCkqwsQp4QIoqyrGZ+DCbOzCYMCCrmsKhWCA7+zJ4IExaM5Qy2TAAXKQT41DIaYrCYiCSmUANisHz9Az4fRxRo8CUKGycqaECtEtgfvpBeCAuD2wbf2mj1gOfgnY0IhBhHeRUBxSIKsXBxeHZpAYd8mFS5seatwAUOGTAVIWBDgraS3QAAh+QQJBQAAACwAAAAAGAAYAAAHooAAgoOEhYaHgxUWBA4aCzkkJwKIhBMJBguZmpkqLAiUDw2bo5oyEocMEKSrCxCnhAiirKs3hQmzsy+DAgq4pBogKIMDvpvAwoQExQvHhwW+zYiYrNGU06wNHpSCz746O5TKyzwzhwfLmgQphQLX6D4dhLfomgmwDvQLOoYMEegRyApJkIWLQ0BDEyi426Six4RtgipcwJAhUwQCFypA3IgoEAAh+QQJBQAAACwAAAAAGAAYAAAHoYAAgoOEhYaHgxUWBA4aGw4YBzGIhBMJBguZmpkbCQiUDw2bo5oyDIcMEKSrCyMShQiirKQ3FYUJs6Q2hgIKuZomNYcDv5kfM4gExQ0PlAW/MBOUAJizL9OC1awik9PPuTKvlMq/x5QHxQsbNIgC2r8JiLjpCzCfsA70Czi2hQwR9FwdkiAL3ClEEyi829Tp3rQKFzBkWKDBgYgDArBpRBQIADsAAAAAAAAAAAA=",msg:null,msgText:"Carregando os próximos posts...",selector:null,speed:"fast",start:k},state:{isDuringAjax:false,isInvalidPage:false,isDestroyed:false,isDone:false,isPaused:false,currPage:1},debug:false,behavior:k,binder:i(o),nextSelector:"div.navigation a:first",navSelector:"div.navigation",contentSelector:null,extraScrollPx:150,itemSelector:"div.post",animate:true,pathParse:k,dataType:"html",appendCallback:true,bufferPx:40,errorCallback:function(){},infid:0,pixelsFromNavToBottom:k,path:k,prefill:false};i.infinitescroll.prototype={_binding:function g(F){var D=this,E=D.options;E.v="2.0b2.120520";if(!!E.behavior&&this["_binding_"+E.behavior]!==k){this["_binding_"+E.behavior].call(this);return}if(F!=="bind"&&F!=="unbind"){this._debug("Binding value "+F+" not valid");return false}if(F==="unbind"){(this.options.binder).unbind("smartscroll.infscr."+D.options.infid)}else{(this.options.binder)[F]("smartscroll.infscr."+D.options.infid,function(){D.scroll()})}this._debug("Binding",F)},_create:function t(F,J){var G=i.extend(true,{},i.infinitescroll.defaults,F);this.options=G;var I=i(o);var D=this;if(!D._validate(F)){return false}var H=i(G.nextSelector).attr("href");if(!H){this._debug("Navigation selector not found");return false}G.path=G.path||this._determinepath(H);G.contentSelector=G.contentSelector||this.element;G.loading.selector=G.loading.selector||G.contentSelector;G.loading.msg=G.loading.msg||i('
Loading...
'+G.loading.msgText+"
");(new Image()).src=G.loading.img;if(G.pixelsFromNavToBottom===k){G.pixelsFromNavToBottom=i(document).height()-i(G.navSelector).offset().top}var E=this;G.loading.start=G.loading.start||function(){i(G.navSelector).hide();G.loading.msg.appendTo(G.loading.selector).show(G.loading.speed,i.proxy(function(){this.beginAjax(G)},E))};G.loading.finished=G.loading.finished||function(){G.loading.msg.fadeOut(G.loading.speed)};G.callback=function(K,L){if(!!G.behavior&&K["_callback_"+G.behavior]!==k){K["_callback_"+G.behavior].call(i(G.contentSelector)[0],L)}if(J){J.call(i(G.contentSelector)[0],L,G)}if(G.prefill){I.bind("resize.infinite-scroll",K._prefill)}};if(F.debug){if(Function.prototype.bind&&(typeof console==="object"||typeof console==="function")&&typeof console.log==="object"){["log","info","warn","error","assert","dir","clear","profile","profileEnd"].forEach(function(K){console[K]=this.call(console[K],console)},Function.prototype.bind)}}this._setup();if(G.prefill){this._prefill()}return true},_prefill:function n(){var D=this;var G=i(document);var F=i(o);function E(){return(G.height()<=F.height())}this._prefill=function(){if(E()){D.scroll()}F.bind("resize.infinite-scroll",function(){if(E()){F.unbind("resize.infinite-scroll");D.scroll()}})};this._prefill()},_debug:function q(){if(true!==this.options.debug){return}if(typeof console!=="undefined"&&typeof console.log==="function"){if((Array.prototype.slice.call(arguments)).length===1&&typeof Array.prototype.slice.call(arguments)[0]==="string"){console.log((Array.prototype.slice.call(arguments)).toString())}else{console.log(Array.prototype.slice.call(arguments))}}else{if(!Function.prototype.bind&&typeof console!=="undefined"&&typeof console.log==="object"){Function.prototype.call.call(console.log,console,Array.prototype.slice.call(arguments))}}},_determinepath:function A(E){var D=this.options;if(!!D.behavior&&this["_determinepath_"+D.behavior]!==k){return this["_determinepath_"+D.behavior].call(this,E)}if(!!D.pathParse){this._debug("pathParse manual");return D.pathParse(E,this.options.state.currPage+1)}else{if(E.match(/^(.*?)\b2\b(.*?$)/)){E=E.match(/^(.*?)\b2\b(.*?$)/).slice(1)}else{if(E.match(/^(.*?)2(.*?$)/)){if(E.match(/^(.*?page=)2(\/.*|$)/)){E=E.match(/^(.*?page=)2(\/.*|$)/).slice(1);return E}E=E.match(/^(.*?)2(.*?$)/).slice(1)}else{if(E.match(/^(.*?page=)1(\/.*|$)/)){E=E.match(/^(.*?page=)1(\/.*|$)/).slice(1);return E}else{this._debug("Sorry, we couldn't parse your Next (Previous Posts) URL. Verify your the css selector points to the correct A tag. If you still get this error: yell, scream, and kindly ask for help at infinite-scroll.com.");D.state.isInvalidPage=true}}}}this._debug("determinePath",E);return E},_error:function v(E){var D=this.options;if(!!D.behavior&&this["_error_"+D.behavior]!==k){this["_error_"+D.behavior].call(this,E);return}if(E!=="destroy"&&E!=="end"){E="unknown"}this._debug("Error",E);if(E==="end"){this._showdonemsg()}D.state.isDone=true;D.state.currPage=1;D.state.isPaused=false;this._binding("unbind")},_loadcallback:function c(H,I){var G=this.options,K=this.options.callback,D=(G.state.isDone)?"done":(!G.appendCallback)?"no-append":"append",J;if(!!G.behavior&&this["_loadcallback_"+G.behavior]!==k){this["_loadcallback_"+G.behavior].call(this,H,I);return}switch(D){case"done":this._showdonemsg();return false;case"no-append":if(G.dataType==="html"){I="
"+I+"
";I=i(I).find(G.itemSelector)}break;case"append":var F=H.children();if(F.length===0){return this._error("end")}J=document.createDocumentFragment();while(H[0].firstChild){J.appendChild(H[0].firstChild)}this._debug("contentSelector",i(G.contentSelector)[0]);i(G.contentSelector)[0].appendChild(J);I=F.get();break}G.loading.finished.call(i(G.contentSelector)[0],G);if(G.animate){var E=i(o).scrollTop()+i("#infscr-loading").height()+G.extraScrollPx+"px";i("html,body").animate({scrollTop:E},800,function(){G.state.isDuringAjax=false})}if(!G.animate){G.state.isDuringAjax=false}K(this,I);if(G.prefill){this._prefill()}},_nearbottom:function u(){var E=this.options,D=0+i(document).height()-(E.binder.scrollTop())-i(o).height();if(!!E.behavior&&this["_nearbottom_"+E.behavior]!==k){return this["_nearbottom_"+E.behavior].call(this)}this._debug("math:",D,E.pixelsFromNavToBottom);return(D-E.bufferPx-1&&i(E[D]).length===0){this._debug("Your "+D+" found no elements.");return false}}return true},bind:function p(){this._binding("bind")},destroy:function C(){this.options.state.isDestroyed=true;return this._error("destroy")},pause:function e(){this._pausing("pause")},resume:function h(){this._pausing("resume")},beginAjax:function B(G){var E=this,I=G.path,F,D,K,J;G.state.currPage++;F=i(G.contentSelector).is("table")?i(""):i("
");D=(typeof I==="function")?I(G.state.currPage):I.join(G.state.currPage);E._debug("heading into ajax",D);K=(G.dataType==="html"||G.dataType==="json")?G.dataType:"html+callback";if(G.appendCallback&&G.dataType==="html"){K+="+callback"}switch(K){case"html+callback":E._debug("Using HTML via .load() method");F.load(D+" "+G.itemSelector,k,function H(L){E._loadcallback(F,L)});break;case"html":E._debug("Using "+(K.toUpperCase())+" via $.ajax() method");i.ajax({url:D,dataType:G.dataType,complete:function H(L,M){J=(typeof(L.isResolved)!=="undefined")?(L.isResolved()):(M==="success"||M==="notmodified");if(J){E._loadcallback(F,L.responseText)}else{E._error("end")}}});break;case"json":E._debug("Using "+(K.toUpperCase())+" via $.ajax() method");i.ajax({dataType:"json",type:"GET",url:D,success:function(N,O,M){J=(typeof(M.isResolved)!=="undefined")?(M.isResolved()):(O==="success"||O==="notmodified");if(G.appendCallback){if(G.template!==k){var L=G.template(N);F.append(L);if(J){E._loadcallback(F,L)}else{E._error("end")}}else{E._debug("template must be defined.");E._error("end")}}else{if(J){E._loadcallback(F,N)}else{E._error("end")}}},error:function(){E._debug("JSON ajax request failed.");E._error("end")}});break}},retrieve:function b(F){F=F||null;var D=this,E=D.options;if(!!E.behavior&&this["retrieve_"+E.behavior]!==k){this["retrieve_"+E.behavior].call(this,F);return}if(E.state.isDestroyed){this._debug("Instance is destroyed");return false}E.state.isDuringAjax=true;E.loading.start.call(i(E.contentSelector)[0],E)},scroll:function f(){var D=this.options,E=D.state;if(!!D.behavior&&this["scroll_"+D.behavior]!==k){this["scroll_"+D.behavior].call(this);return}if(E.isDuringAjax||E.isInvalidPage||E.isDone||E.isDestroyed||E.isPaused){return}if(!this._nearbottom()){return}this.retrieve()},toggle:function y(){this._pausing()},unbind:function m(){this._binding("unbind")},update:function j(D){if(i.isPlainObject(D)){this.options=i.extend(true,this.options,D)}}};i.fn.infinitescroll=function d(F,G){var E=typeof F;switch(E){case"string":var D=Array.prototype.slice.call(arguments,1);this.each(function(){var H=i.data(this,"infinitescroll");if(!H){return false}if(!i.isFunction(H[F])||F.charAt(0)==="_"){return false}H[F].apply(H,D)});break;case"object":this.each(function(){var H=i.data(this,"infinitescroll");if(H){H.update(F)}else{H=new i.infinitescroll(F,G,this);if(!H.failed){i.data(this,"infinitescroll",H)}}});break}return this};var x=i.event,s;x.special.smartscroll={setup:function(){i(this).bind("scroll",x.special.smartscroll.handler)},teardown:function(){i(this).unbind("scroll",x.special.smartscroll.handler)},handler:function(G,D){var F=this,E=arguments;G.type="smartscroll";if(s){clearTimeout(s)}s=setTimeout(function(){i.event.handle.apply(F,E)},D==="execAsap"?0:100)}};i.fn.smartscroll=function(D){return D?this.bind("smartscroll",D):this.trigger("smartscroll",["execAsap"])}})(window,jQuery); \ No newline at end of file diff --git a/_site/assets/js/main.js b/_site/assets/js/main.js new file mode 100644 index 0000000..24008e4 --- /dev/null +++ b/_site/assets/js/main.js @@ -0,0 +1,74 @@ +$(function(){ + + // --- Active Nav --- // + + var url = window.location.pathname, + urlRegExp = new RegExp(url == '/' ? window.location.origin + '/?$' : url.replace(/\/$/,'')); + + $('#pagenav a').each(function(){ + if(urlRegExp.test(this.href.replace(/\/$/,''))){ + $(this).addClass('active'); + } + }); + + // --- Markdown Footnotes --- // + + $("a[rel=footnote]").each(function(){ + var link = $(this); + var token = link.attr('href').substr(1); + var footnoteContent = $(document.getElementById(token)).html(); + + // There is an issue with the line below that stops the clock-tap-scroll-to-top on iOS + $('body').append('
' + footnoteContent + '
'); + + link.click(function(){ + var $currentFootnote = $(document.getElementById('overlay-' + token)); + + // If the footnote is already displayed, hide it instead + if ($currentFootnote.is(':visible')) { + $currentFootnote.slideUp('fast'); + + } else { + $('.footnoteContent').hide(); + $currentFootnote.slideDown('fast'); + } + + return false; + }); + }); + + $('.footnoteContent a[rev=footnote]').remove(); + $('.footnoteContent').prepend('×'); + $('.closeFootnote').click(function(){ + $(this).closest('.footnoteContent').slideUp('fast'); + return false; + }); + + // --- Responsive Menu --- // + + var header = $("#masthead"), + menu = $("ul#pagenav"), + social = $('.social-links'), + menuButton = $(""); + + menuButton.click(showMenu); + header.append(menuButton); + + function showMenu (event) { + if (menu.is(":visible")){ + menu.slideUp({complete:function(){$(this).css('display','')}}); + social.slideUp({complete:function(){$(this).css('display','')}}); + } + else{ + social.show(); + menu.slideDown(); + social.slideDown(); + } + } + + // Prevents # being appended to URL. Also Prevents jumping to the top of the page because of the # anchor. + $(".menubutton").click(function(event) { + event.preventDefault(); + }); + +}); \ No newline at end of file diff --git a/_site/assets/js/modernizr_css_classes.js b/_site/assets/js/modernizr_css_classes.js new file mode 100644 index 0000000..d2762c4 --- /dev/null +++ b/_site/assets/js/modernizr_css_classes.js @@ -0,0 +1,4 @@ +/* Modernizr 2.6.2 (Custom Build) | MIT & BSD + * Build: http://modernizr.com/download/#-cssclasses + */ +;window.Modernizr=function(a,b,c){function u(a){j.cssText=a}function v(a,b){return u(prefixes.join(a+";")+(b||""))}function w(a,b){return typeof a===b}function x(a,b){return!!~(""+a).indexOf(b)}function y(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:w(f,"function")?f.bind(d||b):f}return!1}var d="2.6.2",e={},f=!0,g=b.documentElement,h="modernizr",i=b.createElement(h),j=i.style,k,l={}.toString,m={},n={},o={},p=[],q=p.slice,r,s={}.hasOwnProperty,t;!w(s,"undefined")&&!w(s.call,"undefined")?t=function(a,b){return s.call(a,b)}:t=function(a,b){return b in a&&w(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=q.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(q.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(q.call(arguments)))};return e});for(var z in m)t(m,z)&&(r=z.toLowerCase(),e[r]=m[z](),p.push((e[r]?"":"no-")+r));return e.addTest=function(a,b){if(typeof a=="object")for(var d in a)t(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,typeof f!="undefined"&&f&&(g.className+=" "+(b?"":"no-")+a),e[a]=b}return e},u(""),i=k=null,e._version=d,g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+p.join(" "):""),e}(this,this.document); \ No newline at end of file diff --git a/_site/assets/js/pretiffy-lang-css.js b/_site/assets/js/pretiffy-lang-css.js new file mode 100644 index 0000000..7986ed5 --- /dev/null +++ b/_site/assets/js/pretiffy-lang-css.js @@ -0,0 +1,2 @@ +PR.registerLangHandler(PR.createSimpleLexer([[PR.PR_PLAIN,/^[ \t\r\n\f]+/,null," \t\r\n\u000c"]],[[PR.PR_STRING,/^\"(?:[^\n\r\f\\\"]|\\(?:\r\n?|\n|\f)|\\[\s\S])*\"/,null],[PR.PR_STRING,/^\'(?:[^\n\r\f\\\']|\\(?:\r\n?|\n|\f)|\\[\s\S])*\'/,null],["lang-css-str",/^url\(([^\)\"\']*)\)/i],[PR.PR_KEYWORD,/^(?:url|rgb|\!important|@import|@page|@media|@charset|inherit)(?=[^\-\w]|$)/i,null],["lang-css-kw",/^(-?(?:[_a-z]|(?:\\[0-9a-f]+ ?))(?:[_a-z0-9\-]|\\(?:\\[0-9a-f]+ ?))*)\s*:/i],[PR.PR_COMMENT,/^\/\*[^*]*\*+(?:[^\/*][^*]*\*+)*\//], +[PR.PR_COMMENT,/^(?:<\!--|--\>)/],[PR.PR_LITERAL,/^(?:\d+|\d*\.\d+)(?:%|[a-z]+)?/i],[PR.PR_LITERAL,/^#(?:[0-9a-f]{3}){1,2}/i],[PR.PR_PLAIN,/^-?(?:[_a-z]|(?:\\[\da-f]+ ?))(?:[_a-z\d\-]|\\(?:\\[\da-f]+ ?))*/i],[PR.PR_PUNCTUATION,/^[^\s\w\'\"]+/]]),["css"]);PR.registerLangHandler(PR.createSimpleLexer([],[[PR.PR_KEYWORD,/^-?(?:[_a-z]|(?:\\[\da-f]+ ?))(?:[_a-z\d\-]|\\(?:\\[\da-f]+ ?))*/i]]),["css-kw"]);PR.registerLangHandler(PR.createSimpleLexer([],[[PR.PR_STRING,/^[^\)\"\']+/]]),["css-str"]); diff --git a/_site/assets/js/pretiffy.js b/_site/assets/js/pretiffy.js new file mode 100644 index 0000000..eef5ad7 --- /dev/null +++ b/_site/assets/js/pretiffy.js @@ -0,0 +1,28 @@ +var q=null;window.PR_SHOULD_USE_CONTINUATION=!0; +(function(){function L(a){function m(a){var f=a.charCodeAt(0);if(f!==92)return f;var b=a.charAt(1);return(f=r[b])?f:"0"<=b&&b<="7"?parseInt(a.substring(1),8):b==="u"||b==="x"?parseInt(a.substring(2),16):a.charCodeAt(1)}function e(a){if(a<32)return(a<16?"\\x0":"\\x")+a.toString(16);a=String.fromCharCode(a);if(a==="\\"||a==="-"||a==="["||a==="]")a="\\"+a;return a}function h(a){for(var f=a.substring(1,a.length-1).match(/\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\S\s]|[^\\]/g),a= +[],b=[],o=f[0]==="^",c=o?1:0,i=f.length;c122||(d<65||j>90||b.push([Math.max(65,j)|32,Math.min(d,90)|32]),d<97||j>122||b.push([Math.max(97,j)&-33,Math.min(d,122)&-33]))}}b.sort(function(a,f){return a[0]-f[0]||f[1]-a[1]});f=[];j=[NaN,NaN];for(c=0;ci[0]&&(i[1]+1>i[0]&&b.push("-"),b.push(e(i[1])));b.push("]");return b.join("")}function y(a){for(var f=a.source.match(/\[(?:[^\\\]]|\\[\S\s])*]|\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\\d+|\\[^\dux]|\(\?[!:=]|[()^]|[^()[\\^]+/g),b=f.length,d=[],c=0,i=0;c=2&&a==="["?f[c]=h(j):a!=="\\"&&(f[c]=j.replace(/[A-Za-z]/g,function(a){a=a.charCodeAt(0);return"["+String.fromCharCode(a&-33,a|32)+"]"}));return f.join("")}for(var t=0,s=!1,l=!1,p=0,d=a.length;p=5&&"lang-"===b.substring(0,5))&&!(o&&typeof o[1]==="string"))c=!1,b="src";c||(r[f]=b)}i=d;d+=f.length;if(c){c=o[1];var j=f.indexOf(c),k=j+c.length;o[2]&&(k=f.length-o[2].length,j=k-c.length);b=b.substring(5);B(l+i,f.substring(0,j),e,p);B(l+i+j,c,C(b,c),p);B(l+i+k,f.substring(k),e,p)}else p.push(l+i,b)}a.e=p}var h={},y;(function(){for(var e=a.concat(m), +l=[],p={},d=0,g=e.length;d=0;)h[n.charAt(k)]=r;r=r[1];n=""+r;p.hasOwnProperty(n)||(l.push(r),p[n]=q)}l.push(/[\S\s]/);y=L(l)})();var t=m.length;return e}function u(a){var m=[],e=[];a.tripleQuotedStrings?m.push(["str",/^(?:'''(?:[^'\\]|\\[\S\s]|''?(?=[^']))*(?:'''|$)|"""(?:[^"\\]|\\[\S\s]|""?(?=[^"]))*(?:"""|$)|'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$))/,q,"'\""]):a.multiLineStrings?m.push(["str",/^(?:'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$)|`(?:[^\\`]|\\[\S\s])*(?:`|$))/, +q,"'\"`"]):m.push(["str",/^(?:'(?:[^\n\r'\\]|\\.)*(?:'|$)|"(?:[^\n\r"\\]|\\.)*(?:"|$))/,q,"\"'"]);a.verbatimStrings&&e.push(["str",/^@"(?:[^"]|"")*(?:"|$)/,q]);var h=a.hashComments;h&&(a.cStyleComments?(h>1?m.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,q,"#"]):m.push(["com",/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\n\r]*)/,q,"#"]),e.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/,q])):m.push(["com",/^#[^\n\r]*/, +q,"#"]));a.cStyleComments&&(e.push(["com",/^\/\/[^\n\r]*/,q]),e.push(["com",/^\/\*[\S\s]*?(?:\*\/|$)/,q]));a.regexLiterals&&e.push(["lang-regex",/^(?:^^\.?|[!+-]|!=|!==|#|%|%=|&|&&|&&=|&=|\(|\*|\*=|\+=|,|-=|->|\/|\/=|:|::|;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|[?@[^]|\^=|\^\^|\^\^=|{|\||\|=|\|\||\|\|=|~|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\s*(\/(?=[^*/])(?:[^/[\\]|\\[\S\s]|\[(?:[^\\\]]|\\[\S\s])*(?:]|$))+\/)/]);(h=a.types)&&e.push(["typ",h]);a=(""+a.keywords).replace(/^ | $/g, +"");a.length&&e.push(["kwd",RegExp("^(?:"+a.replace(/[\s,]+/g,"|")+")\\b"),q]);m.push(["pln",/^\s+/,q," \r\n\t\xa0"]);e.push(["lit",/^@[$_a-z][\w$@]*/i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[\da-f]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+-]?\d+)?)[a-z]*/i,q,"0123456789"],["pln",/^\\[\S\s]?/,q],["pun",/^.[^\s\w"-$'./@\\`]*/,q]);return x(m,e)}function D(a,m){function e(a){switch(a.nodeType){case 1:if(k.test(a.className))break;if("BR"===a.nodeName)h(a), +a.parentNode&&a.parentNode.removeChild(a);else for(a=a.firstChild;a;a=a.nextSibling)e(a);break;case 3:case 4:if(p){var b=a.nodeValue,d=b.match(t);if(d){var c=b.substring(0,d.index);a.nodeValue=c;(b=b.substring(d.index+d[0].length))&&a.parentNode.insertBefore(s.createTextNode(b),a.nextSibling);h(a);c||a.parentNode.removeChild(a)}}}}function h(a){function b(a,d){var e=d?a.cloneNode(!1):a,f=a.parentNode;if(f){var f=b(f,1),g=a.nextSibling;f.appendChild(e);for(var h=g;h;h=g)g=h.nextSibling,f.appendChild(h)}return e} +for(;!a.nextSibling;)if(a=a.parentNode,!a)return;for(var a=b(a.nextSibling,0),e;(e=a.parentNode)&&e.nodeType===1;)a=e;d.push(a)}var k=/(?:^|\s)nocode(?:\s|$)/,t=/\r\n?|\n/,s=a.ownerDocument,l;a.currentStyle?l=a.currentStyle.whiteSpace:window.getComputedStyle&&(l=s.defaultView.getComputedStyle(a,q).getPropertyValue("white-space"));var p=l&&"pre"===l.substring(0,3);for(l=s.createElement("LI");a.firstChild;)l.appendChild(a.firstChild);for(var d=[l],g=0;g=0;){var h=m[e];A.hasOwnProperty(h)?window.console&&console.warn("cannot override language handler %s",h):A[h]=a}}function C(a,m){if(!a||!A.hasOwnProperty(a))a=/^\s*=o&&(h+=2);e>=c&&(a+=2)}}catch(w){"console"in window&&console.log(w&&w.stack?w.stack:w)}}var v=["break,continue,do,else,for,if,return,while"],w=[[v,"auto,case,char,const,default,double,enum,extern,float,goto,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"], +"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],F=[w,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,dynamic_cast,explicit,export,friend,inline,late_check,mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],G=[w,"abstract,boolean,byte,extends,final,finally,implements,import,instanceof,null,native,package,strictfp,super,synchronized,throws,transient"], +H=[G,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var"],w=[w,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"],I=[v,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"], +J=[v,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],v=[v,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],K=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)/,N=/\S/,O=u({keywords:[F,H,w,"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END"+ +I,J,v],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0}),A={};k(O,["default-code"]);k(x([],[["pln",/^[^]*(?:>|$)/],["com",/^<\!--[\S\s]*?(?:--\>|$)/],["lang-",/^<\?([\S\s]+?)(?:\?>|$)/],["lang-",/^<%([\S\s]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^]*>([\S\s]+?)<\/xmp\b[^>]*>/i],["lang-js",/^]*>([\S\s]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\S\s]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]), +["default-markup","htm","html","mxml","xhtml","xml","xsl"]);k(x([["pln",/^\s+/,q," \t\r\n"],["atv",/^(?:"[^"]*"?|'[^']*'?)/,q,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w-.:]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^\s"'>]*(?:[^\s"'/>]|\/(?=\s)))/],["pun",/^[/<->]+/],["lang-js",/^on\w+\s*=\s*"([^"]+)"/i],["lang-js",/^on\w+\s*=\s*'([^']+)'/i],["lang-js",/^on\w+\s*=\s*([^\s"'>]+)/i],["lang-css",/^style\s*=\s*"([^"]+)"/i],["lang-css",/^style\s*=\s*'([^']+)'/i],["lang-css", +/^style\s*=\s*([^\s"'>]+)/i]]),["in.tag"]);k(x([],[["atv",/^[\S\s]+/]]),["uq.val"]);k(u({keywords:F,hashComments:!0,cStyleComments:!0,types:K}),["c","cc","cpp","cxx","cyc","m"]);k(u({keywords:"null,true,false"}),["json"]);k(u({keywords:H,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:K}),["cs"]);k(u({keywords:G,cStyleComments:!0}),["java"]);k(u({keywords:v,hashComments:!0,multiLineStrings:!0}),["bsh","csh","sh"]);k(u({keywords:I,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}), +["cv","py"]);k(u({keywords:"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["perl","pl","pm"]);k(u({keywords:J,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb"]);k(u({keywords:w,cStyleComments:!0,regexLiterals:!0}),["js"]);k(u({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,true,try,unless,until,when,while,yes", +hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]);k(x([],[["str",/^[\S\s]+/]]),["regex"]);window.prettyPrintOne=function(a,m,e){var h=document.createElement("PRE");h.innerHTML=a;e&&D(h,e);E({g:m,i:e,h:h});return h.innerHTML};window.prettyPrint=function(a){function m(){for(var e=window.PR_SHOULD_USE_CONTINUATION?l.now()+250:Infinity;p=0){var k=k.match(g),f,b;if(b= +!k){b=n;for(var o=void 0,c=b.firstChild;c;c=c.nextSibling)var i=c.nodeType,o=i===1?o?b:c:i===3?N.test(c.nodeValue)?b:o:o;b=(f=o===b?void 0:o)&&"CODE"===f.tagName}b&&(k=f.className.match(g));k&&(k=k[1]);b=!1;for(o=n.parentNode;o;o=o.parentNode)if((o.tagName==="pre"||o.tagName==="code"||o.tagName==="xmp")&&o.className&&o.className.indexOf("prettyprint")>=0){b=!0;break}b||((b=(b=n.className.match(/\blinenums\b(?::(\d+))?/))?b[1]&&b[1].length?+b[1]:!0:!1)&&D(n,b),d={g:k,h:n,i:b},E(d))}}p + + + + Weslley Neri | Desenvolvedor + + + +

Weslley Neri

+
+
+

Endereço

+ R. Brasilia Castanho de Oliveira Nº: 149
+ Guarulhos - SP
+ CEP: 07115 - 010 +
+
+

Dados Adicionais

+ Brasileiro
+ Solteiro
+ 20 Anos
+
+
+

Contato

+ weslley39@me.com
+ weslley39@gmail.com
+ (11) 98025 - 4814 +
+
+ +

Formação Acadêmica

+
    +
  • Conselheiro Crispiniano - 2011
  • +
  • Faculdade ENIAC - Cursando
  • +
+ + +

Experiência Profissional

+ 2010 » 2011 +

Speed Cursos

+
Sguarulhos - SP
+
    +
  • Instrutor de informática básica e avançada.
  • +
+ + 2011 » 2013 +

Prepara Cursos Profissionalizantes

+
Guarulhos - SP
+
    +
  • Instrutor de informática básica e avançada.
  • +
  • Coordenador andragógico e Gestor Quality
  • +
  • Manutenção da rede e servidores
  • +
+ + 2013 » Atual +

ArcNet Automação Comercial

+
Tatuapé - SP
+
    +
  • Desenvolvedor Front/Back End
  • +
+ +

Cursos / Idiomas

+ +

Especialização Tecnologica e Administrativa

+
Guarulhos - SP
+
    +
  • + Euro Data +
  • +
  • + Módulos: Windows, Word, Excel, Outlook, Access, Power Point e Front Page +
  • +
+ +

Web Designer

+
Guarulhos - SP
+
    +
  • + Speed Byte +
  • +
  • + Módulos: HTML, Flash, Fireworks, Dreamweaver, PHP e SQL +
  • +
+ +

Designer Gráfico

+
Guarulhos - SP
+
    +
  • + Speed Cursos +
  • +
  • + Módulos: CorelDRAW, Photoshop e InDesign +
  • +
+ +

Montagem e Manutenção de Computadores

+
Guarulhos - SP
+ +
    +
  • + Speed Cursos +
  • +
  • + Módulos: +
      +
    • Montagem e Manutenção de Micros
    • +
    • Analise e Estruturação de Topologia
    • +
    • Estruturação de rede
    • +
    • Cabeamento Estruturado
    • +
    +
  • +
+ + + +

Programador

+
Guarulhos - SP
+
    +
  • + Prepara Cursos +
  • +
  • + Módulos: Lógica de Programação, Delphi, Visual Basic, Java, C# Banco de Dados +
  • +
+ +

Personal CAD

+
Guarulhos - SP
+
    +
  • + Prepara Cursos +
  • +
  • + Módulos: AutoCAD 2007 Mod I – 2D, AutoCAD 2007 Mod II – 3D +
  • +
+ +

Excel Avançado

+
Guarulhos - SP
+
    +
  • + Prepara Cursos +
  • +
  • + Módulos: Excel Básico e Avançado +
  • +
+ +

Linux

+
Guarulhos - SP
+
    +
  • + Prepara Cursos +
  • +
  • + Módulos: Kurumin com BrOffice +
  • +
+ +

Inglês

+
Guarulhos - SP
+
    +
  • + CNA +
  • +
  • + Módulos: Inglês Avançado - Cursando +
  • +
+ + +

Microsoft ASP.NET MVC 5 - Enterprise Applications

+
    +
  • Eduardo Pires - Treinamentos e Consultoria
  • +
  • Certificado
  • +
+ +

An Introduction to Interactive Programming in Python

+ + +

M101JS: MongoDB for Node.js Developers

+ + +

M101P: MongoDB for Developers

+ + +

Python para Zumbis

+ + + + \ No newline at end of file diff --git a/_site/blog/index.html b/_site/blog/index.html new file mode 100644 index 0000000..858fb48 --- /dev/null +++ b/_site/blog/index.html @@ -0,0 +1,131 @@ + + + + + Blog — Iago Velasco + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + "\ + + + + + + + + + + + + + + +
+ + + + + +

+ Iago Velasco +

+

Front/Back-End Developer

+ + + + + +
+ + +
+ +
+ + + +
    + +
+ + +

+ + Anterior + + + Página de + + Próxima + +

+ +
+
+ + + + + + + + + + + \ No newline at end of file diff --git a/_site/index.html b/_site/index.html new file mode 100644 index 0000000..1df0ed9 --- /dev/null +++ b/_site/index.html @@ -0,0 +1,117 @@ + + + + + Iago Velasco + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + "\ + + + + + + + + + + + + + + +
+ + + + + +

+ Iago Velasco +

+

Front/Back-End Developer

+ + + + + +
+ + +
+ +
+ + + + + +
+
+ + + + + + + + + + + diff --git a/_site/package.json b/_site/package.json new file mode 100644 index 0000000..ab7c509 --- /dev/null +++ b/_site/package.json @@ -0,0 +1,7 @@ +{ + "private": true, + "devDependencies": { + "grunt": "0.4.1", + "grunt-lintspaces": "0.2.203" + } +} \ No newline at end of file diff --git a/assets/css/main.css b/assets/css/main.css new file mode 100644 index 0000000..4ca5383 --- /dev/null +++ b/assets/css/main.css @@ -0,0 +1,1182 @@ +@-webkit-keyframes dropin { + from { margin-top: -800px; } + 90% { margin-top: 10px; } + to { margin-top: 0; } +} +@-moz-keyframes dropin { + from { margin-top: -800px; } + 90% { margin-top: 10px; } + to { margin-top: 0; } +} +@keyframes dropin { + from { margin-top: -800px; } + 90% { margin-top: 10px; } + to { margin-top: 0; } +} + +@-webkit-keyframes slidein { + from { margin-left: -800px; } + to { margin-left: 0; } +} +@-moz-keyframes slidein { + from { margin-left: -800px; } + to { margin-left: 0; } +} +@keyframes slidein { + from { margin-left: -800px; } + to { margin-left: 0; } +} + +body { + font-family: 'Droid Serif', Georgia, serif; + font-size: 16px; + margin: 0; + padding: 0; + color: #333; + background: #fbfbfb url(../img/texture-white.jpg) fixed; +} + +.container { + padding: 0; + margin: 10px 20px; +} + +ul#posts { + margin: 0; +} + +.clear { + clear: both; +} + +a { + color: #000; + text-decoration: none; + -webkit-transition: all 0.2s ease-in-out; + -moz-transition: all 0.2s ease-in-out; + -o-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; +} + +a:hover { + color: #333; +} + +p a, +.archivelist a, +.home #content a, +ol a, +ul a, +h1 a, +h2 a, +table a +{ + border-bottom: 1px solid #03b4d1; +} + +p a:hover, +.archivelist a:hover, +.archivelist a:visited, +.home #content a:hover, +ol a:hover, +ul a:hover, +h1 a:hover, +h2 a:hover, +table a:hover +{ + border-bottom: 1px solid #dadada; +} + +.linktitle a { + border-bottom: 2px solid #03b4d1; + line-height: 1.6em; +} + +.linktitle a:hover { + border-bottom: 2px solid #dadada; +} + +.posttitle a, .postitle a:hover, .sitetitle a, ul#pagenav li a, .pagination a { + border: none !important; +} + +.pagination a:hover { + color: #999; +} + +a[rev=footnote], sup a { + color: #03b4d1; + border: none; +} + +.infin { + color: #03b4d1; + font-family: sans-serif; + border: none !important; + margin-left: 5px; +} + +img { + max-width: 100%; + height: auto; +} + +code { + white-space: pre-wrap; /* css-3 */ + white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */ + white-space: -pre-wrap; /* Opera 4-6 */ + white-space: -o-pre-wrap; /* Opera 7 */ + word-wrap: break-word; /* Internet Explorer 5.5+ */ + background: #f3f3f3; + border: 1px solid #e0e0e0; + font-size: 0.9em; + padding: 2px 6px; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; + font-family: "source-code-pro", monospace; +} + +pre { + -moz-tab-size: 2; + -o-tab-size: 2; + tab-size: 2; +} + +pre code { + display: block; + padding: 10px 20px; +} + +blockquote { + border-left: 7px solid #03b4d1; + padding-left: 14px; + margin: 0; +} + +.tweet { + text-align: center; +} + +ul.archivenav { + padding-left: 0; + list-style: none; + margin-bottom: 30px; + border-bottom: 1px solid #dadada; + padding-bottom: 5px; +} + +ul.archivenav li { + margin-right: 20px; + display: inline; +} + +ul.archivenav li.selected { + border-bottom: 3px solid #333; + padding-bottom: 5px; +} + +.googlesearch { + display: none; +} + +fieldset { + display: inline; + border: none; + padding: 0; +} + +.post ul li { + list-style-type: disc; + } + +.post img { + padding: 8px; + border: 1px solid #DBDBDB !important; + background: #E9E9E9; + border-radius: 6px; + width: 640px; +} + +.footnotes { + font-size: 16px; + line-height: 1.6em; +} + +.footnotes p { + display: inline; +} + +.footnotes hr { + border: none; + height: 1px; + background: #dadada; +} + +sup a[rel="footnote"] { + padding: 0 1px; +} + +#posts, .archivelist, #pagenav { + list-style: none; + padding-left: 0; +} + +#archive h2, .home #content h2, .projects #content h2 { + font-size: 20px; + margin-bottom: 0; +} + +.home .posttitle { + display: none; +} + +.home #content p:first-of-type { + margin-top: 0; +} + +#archive .archivelist { + margin-top: 5px; +} + +#masthead { + padding: 15px 0; + background: none repeat scroll 0% 0% #222; + color: #fff; +} + +#profile-image{ + +} + + + +.js #masthead { + position: fixed; + width: 100%; + top: 0; + left: 0; + z-index: 1000; + max-height: 100%; + overflow: auto; +} + +.js body { + margin-top: 50px; +} + +#masthead hr { + display: none; +} + +#masthead img { + display: none; + width: 103px; + height: 103px; + background-position: center center; + background-size: cover; + border-radius: 50%; +} + +#content { + padding-top: 30px; +} + +ul#pagenav { + padding: 0 20px; +} + +.js ul#pagenav{ + display: none; + margin-top: 15px; +} + +.menubutton { + position: absolute; + top: 10px; + right: 15px; + background: rgba(255,255,255,0); + padding: 2px; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; + z-index: 1000; + -webkit-animation-name: dropin; + -webkit-animation-duration: 1.8s; + -webkit-animation-iteration-count: 1; + -webkit-animation-timing-function: ease-in-out; + -moz-animation-name: dropin; + -moz-animation-duration: 1.8s; + -moz-animation-iteration-count: 1; + -moz-animation-timing-function: ease-in-out; + animation-name: dropin; + animation-duration: 1.8s; + animation-iteration-count: 1; + animation-timing-function: ease-in-out; +} + +.menubutton span { + width: 30px; + height: 5px; + margin: 4px; + display: block; + background: #fff; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} + +ul#pagenav li a { + display: block; + padding: 8px 0; + border-bottom: 1px solid #fff; + border-bottom: 1px solid rgba(255,255,255,0.2); + background: url('../img/chevron.png') no-repeat right center; + color: #fff; +} + +ul#pagenav li a.rss { + background: url('../img/rss.png') no-repeat right center; +} + +ul#pagenav li a.twitter { + background: url('../img/twitter.png') no-repeat right center; +} + +ul#pagenav li a.adn { + background: url('../img/adn.png') no-repeat right center; +} + +/* Social */ + +.social-links { + width: 210px; + height: 34px; + display: none; + margin: 0 auto 35px; + margin-top: 10px; + list-style: none; +} + +.social-links li { + float: left; + /*-webkit-transition: all 0.5s ease; + -moz-transition: all 0.5s ease; + -o-transition: all 0.5s ease; + transition: all 0.5s ease;*/ +} + +.social-links li a { + display: block; + width: 34px; + height: 34px; + outline: none; + margin: 0 4px; + background: transparent url(../img/social-links-white.png) no-repeat; + text-indent: -9000px; + position: relative; + border: none; + overflow: hidden; +} + +.social-links li:nth-child(2n+2):hover { + -webkit-transform: rotate(5deg); + -moz-transform: rotate(5deg); + -o-transform: rotate(5deg); + transform: rotate(5deg); +} + +.social-links li:nth-child(2n+1):hover { + -webkit-transform: rotate(-5deg); + -moz-transform: rotate(-5deg); + -o-transform: rotate(-5deg); + -ms-transform: rotate(-5deg); + transform: rotate(-5deg); +} + +.social-links li .social-rss { background-position: 0px 0px; } +.social-links li .social-email { background-position: -42px 0px; } +.social-links li .social-twitter { background-position: -84px 0px; } +.social-links li .social-facebook { background-position: -126px 0px; } +.social-links li .social-github { background-position: -168px 0px; } + +ul#pagenav li a.active { + background: none !important; +} + +ul#pagenav li a.active:after { + content: ' Voc\00EA esta aqui'; + float: right; + color: #fff; +} + +ul#pagenav li:last-child a { + border: none; +} + +h1, h2, h3, h4, h5, h6 { + color: #000; +} + +h1.sitetitle, h2.sitetitle { + margin-left: 20px; +} + +.description { + display: none; +} + +.sitetitle { + font-size: 36px; + font-family: 'ChunkFive', Helvetica, sans-serif; + text-transform: lowercase; + font-weight: 100; + display: block; + border: none; + color: #fff; + -webkit-font-smoothing: antialiased; + text-shadow: 0 1px 0 rgba(0,0,0,.1); +} + +a.sitetitle { + padding-top: 0 !important; + line-height: 25px; + top: -4px; + position: relative; +} + +.sitetitle:hover { + color: #a6efe8; +} + +h1.sitetitle a, h2.sitetitle a { + padding-top: 10px; + display: inline; +} + +.linktitle { + font-size: 18px; + line-height: 1.4em; + margin: 0; +} + +.posttitle { + font-size: 26px; + line-height: 1.2em; + margin: 0; +} + +.post .posttitle { + text-transform: uppercase; + text-align: center; + max-width: 80%; + margin: 0 auto; + font-weight: normal; + letter-spacing: 0.1em; + line-height: 1em; +} + +/*.post .posttitle:before { + content: '\00A7'; + display: block; + color: #DADADA; + letter-spacing: 0; + margin-bottom: 10px; +}*/ + +.articledate { + text-align: center; +} + +.archivelist span { + display: block; +} + +.archivelist li { + margin-bottom: 1em; +} + +ul#posts li.post { + padding: 0; + margin: 0 0 40px 0; + padding: 0 0 40px 0; + border-bottom: 4px double #dadada; +} + +p.pagination .newer { + float: left; +} + +p.pagination .older { + float: right; +} + +p.pagination { + line-height: 42px; +} + +p.pagination .newer, p.pagination .older { + padding: 0 14px; + background: #dadada; + color: #fff; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} + +p.pagination a.newer, p.pagination a.older { + border: 1px solid #fff; + background: #03b4d1; +} + +p.pagination a.newer:hover, p.pagination a.older:hover { + background: #000; +} + +p.pagination { + text-align: center; +} + +.date, .description { + color: #555; + margin-bottom: 0; + text-transform: uppercase; + font-size: 12px; + letter-spacing: 2px; +} + +.date span { + text-transform: lowercase; + display: inline !important; +} + +.comments { + text-align: center; + padding-top: 2em; + border-top: 4px double #dadada; + margin-top: 4em; +} + +ul#pagenav, .sitetitle { + margin: 0; +} + +#content { + padding-bottom: 10px; +} + +.footnoteContent { + background: #000; + background: rgba(0, 0, 0, .9); + color: #fff; + display: none; + padding: 0 20px 20px 20px; + -webkit-font-smoothing: antialiased; + width: 100%; + -moz-box-sizing: border-box; + -webkit-box-sizing: border-box; + box-sizing: border-box; + overflow: auto; + margin: 0; + position: fixed; + right: 0; + bottom: 0; + max-height: 100%; + -webkit-overflow-scrolling: touch; + z-index: 1000; +} + +.footnoteContent code { + background: none; + border: none; + padding: 0; +} + +.footnoteContent a { + color: #fff; +} + +.closeFootnote { + text-align: right; + display: block; + border-bottom: 1px solid #333; + font-size: 20px; + font-family: sans-serif; + text-transform: uppercase; + color: #fff; + text-decoration: none; + padding: 10px 0; +} + +.js div.footnotes { + display: none; +} + +figure { + display: block; + margin: 2em 0; + text-align: center; + font-style: italic; +} + +figure img { + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} + +figcaption { + font-size: 0.9em; + line-height: 1.4em; +} + +::-moz-selection { + background: #03b4d1; + color: #fff; +} + +::selection { + background: #03b4d1; + color: #fff; +} + +#infscr-loading { + text-align: center; + margin-bottom: 30px; +} + +/* Mobile */ + +@media only screen and (max-width: 500px) and (-webkit-min-device-pixel-ratio: 2) { + + ul#pagenav li a { + background: url('../img/chevron_2x.png') no-repeat right center; + background-size: 16px 16px; + } + + ul#pagenav li a.rss { + background: url('../img/rss_2x.png') no-repeat right center; + background-size: 16px 16px; + } + + ul#pagenav li a.twitter { + background: url('../img/twitter_2x.png') no-repeat right center; + background-size: 16px 16px; + } + + ul#pagenav li a.adn { + background: url('../img/adn_2x.png') no-repeat right center; + background-size: 16px 16px; + } + + .social-links{ + display: none; + } + +} + +/* Tablets */ + +@media only screen and (min-width:600px) { + + body { + font-size: 18px; + line-height: 1.8em; + } + + .container { + padding: 0; + width: 75%; + margin: 10px auto; + } + + #masthead { + text-align: center; + padding: 30px 0; + position: static !important; + } + + body { + padding: 0; + margin-top: 0 !important; + } + + #masthead hr { + display: block; + height: 1px; + border: none; + width: 75%; + background: #fff; + background: rgba(255,255,255,0.4); + margin: 20px auto; + } + + a.sitetitle { + position: static; + padding-top: 10px !important; + } + + .description { + width: 230px; + display: block; + color: rgba(255, 255, 255, 0.7); + padding: 0 0 10px; + margin: 0 auto !important; + border-bottom: 1px solid rgba(255, 255, 255, 0.2); + } + + h1.sitetitle, h2.sitetitle, .description { + margin-left: 0; + } + + h1.sitetitle a, h2.sitetitle a { + display: block; + } + + #masthead img { + display: inline; + /*width: 100px; + height: 100px; + -webkit-border-radius: 1000px; + -moz-border-radius: 1000px; + border-radius: 1000px;*/ + } + + .social-links{ + display: block; + } + + /*#masthead img:hover { + -webkit-filter: grayscale(100%); + -moz-filter: grayscale(100%); + -ms-filter: grayscale(100%); + -o-filter: grayscale(100%); + filter: grayscale(100%); + }*/ + + .archivelist { + padding-left: 30px; + } + + .googlesearch { + display: inline; + } + + blockquote { + padding-left: 20px; + } + + .home #content p:first-of-type { + font-size: 32px; + line-height: 48px; + margin-top: 0; + } + + .js ul#pagenav { + display: block; + } + + ul#pagenav { + font-size: 16px; + } + + ul#pagenav li { + margin: 0 8px; + display: inline; + } + + ul#pagenav li a { + display: inline; + padding: 0; + border: none; + background: none !important; + } + + ul#pagenav li a:hover { + color: #a6efe8; + } + + ul#pagenav li a.active { + color: #a6efe8; + } + + ul#pagenav li a.active:after { + content: ''; + } + + .menubutton { + display: none; + } + + .linktitle { + font-size: 24px; + } + + .posttitle { + font-size: 32px; + } + + figure { + width: 120%; + margin-left: -10%; + } + + p[data-pullquote] { + display: block; + } + + p[data-pullquote]:before { + content: attr(data-pullquote); + float: right; + width: 200px; + margin: 0 -5% 0.5em 30px; + padding: 0; + position: relative; + top: -3px; + font-size: 22px; + font-style: italic; + text-align: left; + color: #03b4d1; + } + + p.pull-left[data-pullquote]:before { + float: left !important; + margin: 0 30px 0.5em -5%; + text-align: right; + } + + a[title]:hover:before, abbr[title]:hover:before { + content: attr(title); + position: fixed; + top: 10px; + right: 10px; + display: block; + background: #000; + background: rgba(0,0,0,0.8); + color: #fff; + padding: 3px 10px; + font-size: 14px; + font-weight: normal; + z-index: 1000; + text-align: center; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; + } + +} + +/* Standard Desktop */ + +@media only screen and (min-width:900px) { + + #masthead { + position: fixed !important; + top: 0; + padding-top: 70px; + left: 0; + width: 25% !important; + height: 100%; + box-shadow: inset -30px -10px 80px 0 rgba(0,0,0,.2), inset -10px -10px 20px 0 rgba(0,0,0,.15), 1px 0 0 0 white; + } + + .home #masthead { + -webkit-animation-name: slidein; + -webkit-animation-duration: 1s; + -webkit-animation-iteration-count: 1; + -webkit-animation-timing-function: ease-in-out; + -moz-animation-name: slidein; + -moz-animation-duration: 1s; + -moz-animation-iteration-count: 1; + -moz-animation-timing-function: ease-in-out; + animation-name: slidein; + animation-duration: 1s; + animation-iteration-count: 1; + animation-timing-function: ease-in-out; + } + + .container { + width: 75%; + position: absolute; + top: 0; + right: 0; + margin-top: 80px; + } + + #content { + margin: 0 auto; + padding: 0 0 80px 0; + width: 80%; + max-width: 640px; + } + + ul#pagenav li { + margin: 0; + display: block; + } + + .infin { + color: #dadada; + } + + .post:hover .infin { + color: #03b4d1; + } + + figure { + width: 100%; + margin-left: 0; + } + + .social-links { + top: 25px; + right: 20px; + margin-left: auto; + margin-right: auto; + } + +} + +/* Large screens */ + +@media only screen and (min-width:1200px) { + + figure { + width: 130%; + margin-left: -15%; + } + +} + +/* Fucking Large screens */ + +@media only screen and (min-width:2000px) { + + .home #content p:first-of-type { + font-size: 48px; + line-height: 57px; + } + + #content { + font-size: 22px; + line-height: 1.7em; + } + + .posttitle { + font-size: 48px; + } + + .linktitle { + font-size: 27px; + } + + #content { + max-width: 800px; + } + +} + +@media only screen and (-webkit-min-device-pixel-ratio: 2) { + #infscr-loading img { + width: 12px; + height: 12px; + } +} + +.talks h1 { + font-size: 32px; +} + +/*#zeno-illustration { + position: absolute; + bottom: 160px; + left: 80px; +}*/ + +#zeno-illustration { + margin-left: 40px; +} + +a[rev="footnote"], sup a { + border: none !important; +} + +/* --- Font --- */ + +@font-face { + font-family: 'ChunkFive'; + src: url('../font/Chunkfive.eot'); + src: local('ChunkFive Regular'), local('ChunkFive'), url('../font/Chunkfive.woff') format('woff'), url('../font/Chunkfive.svg#ChunkFive') format('svg'), url('../font/Chunkfive.otf') format('opentype'); + font-weight: normal; + font-style: normal; +} + +/* --- Video Border --- */ + +.video-wrap { + position: relative; + padding-bottom: 56.25%; + padding-top: 30px; + height: 0; + overflow: hidden; + margin-bottom: 18px; +} + +.video-wrap iframe { + position: absolute; + top: 0; + left: 0; + width: 96%; + height: 96%; + padding: 1%; + border: 1px solid #DBDBDB !important; + background: #E9E9E9; + border-radius: 6px; +} + +/* Download-Fork Buttons */ + +.demo-download { + width: 320px; + margin: 15px auto; +} + +.demo-download a { + border: none !important; +} + +.demo-download img { + border: none !important; + padding: 0 !important; + background: none !important; + border-radius: 0 !important; + width: auto !important; +} + +.view { + width: 280px; + height: 200px; + margin: 10px; + float: left; + border: 10px solid #fff !important; + overflow: hidden; + position: relative; + text-align: center; + -webkit-box-shadow: 1px 1px 2px #e6e6e6; + -moz-box-shadow: 1px 1px 2px #e6e6e6; + box-shadow: 1px 1px 2px #e6e6e6; + background: #fff no-repeat center center; + display: block; +} +.view .content { + width: 280px; + height: 200px; + position: absolute; + overflow: hidden; + top: 0; + left: 0; +} +.view img { + display: block; + position: relative; + -webkit-filter: hue-rotate(0deg); + +} +.view-first img { + -webkit-transition: all 0.3s linear; + -moz-transition: all 0.3s linear; + -o-transition: all 0.3s linear; + transition: all 0.3s linear; +} + +.view-first:hover img { + -webkit-filter: hue-rotate(90deg); +} + +/* Ordered List */ + +ol { + counter-reset: item; +} + +ol li { + display: block; +} + +ol li p { + display: inline-block; + margin: 5px 0; +} + +ol li:before { + content: counters(item, ".") " "; + counter-increment: item; +} + +/* Table */ + +table { + font-size: 15.988px; +} +table th, +table td { + padding: 8px 25px; + border-top: 2px solid #eef0f0; + text-align: center !important; +} +table th { + color: #526476; + padding-bottom: 14px; +} +table i[class*="fui-"] { + vertical-align: baseline; + font-size: 20px; +} +table .checkbox, +table .radio { + margin-bottom: 0; + margin-left: -9px; +} +table .checkbox.no-label, +table .radio.no-label { + padding-left: 0; +} +table .selected-row > td { + background-color: #f2fbfa; +} +table img { + vertical-align: top; +} + +table tbody > tr:nth-child(even) > td, +table tbody > tr.selected-row > td, +table tbody > tr:nth-child(even) > th, +table tbody > tr.selected-row > th { + background-color: #f9fafb; +} +table tbody > tr:nth-child(odd) > td, +table tbody > tr:nth-child(odd) > th { + background-color: transparent; +} + +table tbody tr.success > td { + background-color: #ecfaf2; + border-color: #d5f5e3; +} +table tbody tr.error > td, +table tbody tr.danger > td { + background-color: #fdefed; + border-color: #fadbd8; +} +table tbody tr.warning > td { + background-color: #fefae9; + border-color: #faecb0; +} +table tbody tr.info > td { + background-color: #edf6fc; + border-color: #d6eaf8; +} + +pre { + font-size: 15px !important; +} \ No newline at end of file diff --git a/assets/css/normalize.css b/assets/css/normalize.css new file mode 100644 index 0000000..e8425de --- /dev/null +++ b/assets/css/normalize.css @@ -0,0 +1,376 @@ +/*! normalize.css v2.0.1 | MIT License | git.io/normalize */ + +/* ========================================================================== + HTML5 display definitions + ========================================================================== */ + +/* + * Corrects `block` display not defined in IE 8/9. + */ + +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +nav, +section, +summary { + display: block; +} + +/* + * Corrects `inline-block` display not defined in IE 8/9. + */ + +audio, +canvas, +video { + display: inline-block; +} + +/* + * Prevents modern browsers from displaying `audio` without controls. + * Remove excess height in iOS 5 devices. + */ + +audio:not([controls]) { + display: none; + height: 0; +} + +/* + * Addresses styling for `hidden` attribute not present in IE 8/9. + */ + +[hidden] { + display: none; +} + +/* ========================================================================== + Base + ========================================================================== */ + +/* + * 1. Sets default font family to sans-serif. + * 2. Prevents iOS text size adjust after orientation change, without disabling + * user zoom. + */ + +html { + font-family: sans-serif; /* 1 */ + -webkit-text-size-adjust: 100%; /* 2 */ + -ms-text-size-adjust: 100%; /* 2 */ +} + +/* + * Removes default margin. + */ + +body { + margin: 0; + line-height: 1.6em; +} + +/* ========================================================================== + Links + ========================================================================== */ + +/* + * Addresses `outline` inconsistency between Chrome and other browsers. + */ + +a:focus { + outline: thin dotted; +} + +/* + * Improves readability when focused and also mouse hovered in all browsers. + */ + +a:active, +a:hover { + outline: 0; +} + +/* ========================================================================== + Typography + ========================================================================== */ + +/* + * Addresses `h1` font sizes within `section` and `article` in Firefox 4+, + * Safari 5, and Chrome. + */ + +h1 { + font-size: 2em; +} + +/* + * Addresses styling not present in IE 8/9, Safari 5, and Chrome. + */ + +abbr[title] { + border-bottom: 1px dotted; +} + +/* + * Addresses style set to `bolder` in Firefox 4+, Safari 5, and Chrome. + */ + +b, +strong { + font-weight: bold; +} + +/* + * Addresses styling not present in Safari 5 and Chrome. + */ + +dfn { + font-style: italic; +} + +/* + * Addresses styling not present in IE 8/9. + */ + +mark { + background: #ff0; + color: #000; +} + + +/* + * Corrects font family set oddly in Safari 5 and Chrome. + */ + +code, +kbd, +pre, +samp { + font-family: monospace, serif; + font-size: 1em; +} + +/* + * Improves readability of pre-formatted text in all browsers. + */ + +pre { + white-space: pre; + white-space: pre-wrap; + word-wrap: break-word; +} + +/* + * Sets consistent quote types. + */ + +q { + quotes: "\2018" "\2019" "\201C" "\201D"; +} + +/* + * Addresses inconsistent and variable font size in all browsers. + */ + +small { + font-size: 80%; +} + +/* + * Prevents `sub` and `sup` affecting `line-height` in all browsers. + */ + +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +sup { + top: -0.5em; +} + +sub { + bottom: -0.25em; +} + +/* ========================================================================== + Embedded content + ========================================================================== */ + +/* + * Removes border when inside `a` element in IE 8/9. + */ + +img { + border: 0; +} + +/* + * Corrects overflow displayed oddly in IE 9. + */ + +svg:not(:root) { + overflow: hidden; +} + +/* ========================================================================== + Figures + ========================================================================== */ + +/* + * Addresses margin not present in IE 8/9 and Safari 5. + */ + +figure { + margin: 0; +} + +/* ========================================================================== + Forms + ========================================================================== */ + +/* + * Define consistent border, margin, and padding. + */ + +fieldset { + border: 1px solid #c0c0c0; + margin: 0 2px; + padding: 0.35em 0.625em 0.75em; +} + +/* + * 1. Corrects color not being inherited in IE 8/9. + * 2. Remove padding so people aren't caught out if they zero out fieldsets. + */ + +legend { + border: 0; /* 1 */ + padding: 0; /* 2 */ +} + +/* + * 1. Corrects font family not being inherited in all browsers. + * 2. Corrects font size not being inherited in all browsers. + * 3. Addresses margins set differently in Firefox 4+, Safari 5, and Chrome + */ + +button, +input, +select, +textarea { + font-family: inherit; /* 1 */ + font-size: 100%; /* 2 */ + margin: 0; /* 3 */ +} + +/* + * Addresses Firefox 4+ setting `line-height` on `input` using `!important` in + * the UA stylesheet. + */ + +button, +input { + line-height: normal; +} + +/* + * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` + * and `video` controls. + * 2. Corrects inability to style clickable `input` types in iOS. + * 3. Improves usability and consistency of cursor style between image-type + * `input` and others. + */ + +button, +html input[type="button"], /* 1 */ +input[type="reset"], +input[type="submit"] { + -webkit-appearance: button; /* 2 */ + cursor: pointer; /* 3 */ +} + +/* + * Re-set default cursor for disabled elements. + */ + +button[disabled], +input[disabled] { + cursor: default; +} + +/* + * 1. Addresses box sizing set to `content-box` in IE 8/9. + * 2. Removes excess padding in IE 8/9. + */ + +input[type="checkbox"], +input[type="radio"] { + box-sizing: border-box; /* 1 */ + padding: 0; /* 2 */ +} + +/* + * 1. Addresses `appearance` set to `searchfield` in Safari 5 and Chrome. + * 2. Addresses `box-sizing` set to `border-box` in Safari 5 and Chrome + * (include `-moz` to future-proof). + */ + +input[type="search"] { +/* -webkit-appearance: textfield; /* 1 */*/ + -moz-box-sizing: content-box; + -webkit-box-sizing: content-box; /* 2 */ + box-sizing: content-box; +} + +/* + * Removes inner padding and search cancel button in Safari 5 and Chrome + * on OS X. + */ + +input[type="search"]::-webkit-search-cancel-button, +input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +/* + * Removes inner padding and border in Firefox 4+. + */ + +button::-moz-focus-inner, +input::-moz-focus-inner { + border: 0; + padding: 0; +} + +/* + * 1. Removes default vertical scrollbar in IE 8/9. + * 2. Improves readability and alignment in all browsers. + */ + +textarea { + overflow: auto; /* 1 */ + vertical-align: top; /* 2 */ +} + +/* ========================================================================== + Tables + ========================================================================== */ + +/* + * Remove most spacing between table cells. + */ + +table { + border-collapse: collapse; + border-spacing: 0; +} diff --git a/assets/css/pretiffy.css b/assets/css/pretiffy.css new file mode 100644 index 0000000..b0634f7 --- /dev/null +++ b/assets/css/pretiffy.css @@ -0,0 +1,28 @@ +pre .str, code .str { color: #FFFF66; } /* string */ +pre .kwd, code .kwd { color: #A6E22E; } /* keyword */ +pre .com, code .com { color: #75715E; font-style: italic; } /* comment */ +pre .typ, code .typ { color: #89bdff; } /* type */ +pre .lit, code .lit { color: #AE81FF; } /* literal */ +pre .pun, code .pun { color: #FFFFFF; } /* punctuation */ +pre .pln, code .pln { color: #00FFFF; } /* plaintext */ +pre .tag, code .tag { color: #70FFE0; } /* html/xml tag */ +pre .atn, code .atn { color: #A6E22E; } /* html/xml attribute name */ +pre .atv, code .atv { color: #FFFF66; } /* html/xml attribute value */ +pre .dec, code .dec { color: #3387CC; } /* decimal */ + +pre.prettyprint, code.prettyprint { + background-color: #232323; + -moz-border-radius: 6px; + -webkit-border-radius: 6px; + -o-border-radius: 6px; + -ms-border-radius: 6px; + -khtml-border-radius: 6px; + border-radius: 6px; +} + +pre.prettyprint { + width: 95%; + margin: 1em auto; + padding: 1em; + white-space: pre-wrap; +} diff --git a/assets/css/projects.css b/assets/css/projects.css new file mode 100644 index 0000000..962c055 --- /dev/null +++ b/assets/css/projects.css @@ -0,0 +1,196 @@ +/* Github Box */ + +.github-box { + font-family: "Helvetica Neue", Arial, sans-serif; + background: #fafafa; + border: 1px solid #ddd; + color: #666; + border-radius: 5px; + float: left; + margin-right: 1.2em; + margin-bottom: 2em; + width: 46%; + line-height: 1em; +} + +.github-box a { + color: #4183C4; + border: none; +} + +/* Github Box Header */ + +.github-box .github-box-header { + position: relative; + border-bottom: 1px solid #ddd; + border-radius: 5px 5px 0 0; + background: #fcfcfc; + background: -moz-linear-gradient(#fcfcfc, #ebebeb); + background: -webkit-linear-gradient(#fcfcfc, #ebebeb); + -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfcfc',endColorstr='#ebebeb')"; +} + +.github-box .github-box-header h3 { + font-family: Helvetica, Arial, sans-serif; + font-weight: normal; + font-size: 16px; + color: gray; + margin: 0; + padding: 10px 10px 10px 10px; +} + +.github-box .github-box-header h3 a { + font-weight: bold +} + +/* Github Box Header - Stats */ + +.github-box .github-box-header .github-stats { + position: absolute; + top: 10px; + right: 10px; + background: white; + border: 1px solid #ddd; + border-radius: 3px; + font-size: 11px; + font-weight: bold; + line-height: 21px; + height: 21px; +} + +.github-box .github-box-header .github-stats a { + display: inline-block; + height: 21px; + color: #666; + padding: 0 5px 0 18px; + background: url('../img/btn-sprite.png') no-repeat; + filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70); + opacity: 0.7; +} + +.github-box .github-box-header .github-stats a:hover { + filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100); + opacity: 1; +} + +.github-box .github-box-header .github-stats .repo-watchers { + border-right: 1px solid #ddd; + background-position: 3px 4px; +} + +.github-box .github-box-header .github-stats .repo-forks { + background-position: 2px -14px; + padding-left: 15px; +} + +/* Github Box Content */ + +.github-box .github-box-content { + padding: 10px; + font-weight: 300; + font-size: 0.7em; +} + +.github-box .github-box-content p { + margin: 0; +} + +.github-box .github-box-content .repo-link { + font-weight: bold; +} + +/* Github Box Download */ + +.github-box .github-box-download { + position: relative; + border-top: 1px solid #ddd; + background: white; + border-radius: 0 0 3px 3px; + padding: 10px; + height: 24px; +} + +.github-box .github-box-download .repo-update { + margin: 0; + font-size: 11px; + color: #666; + line-height: 24px; +} + +.github-box .github-box-download .repo-update strong { + font-size: 12px; + font-weight: bold; + color: #000; +} + +.github-box .github-box-download .repo-download { + position: absolute; + display: block; + top: 10px; + right: 10px; + height: 24px; + line-height: 24px; + font-size: 12px; + color: #666; + font-weight: bold; + text-shadow: 0 1px 0 rgba(255,255,255,0.9); + padding: 0 10px; + border: 1px solid #ddd; + border-bottom-color: #bbb; + border-radius: 3px; + display: block; + text-indent: -9999px; + width: 24px; + padding: 0; + background: url('../img/btn-sprite.png') no-repeat 4px -31px,-webkit-linear-gradient(whiteSmoke, #E5E5E5); + background: url('../img/btn-sprite.png') no-repeat 4px -31px,-moz-linear-gradient(#f1f7fa, #dbeaf1); + filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=70); + opacity: 0.7; +} + +.github-box .github-box-download .repo-download:hover { + color: #527894; + border-color: #cfe3ed; + border-bottom-color: #9fc7db; + filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100); + opacity: 1; +} + +/* PROJECTS */ +.projects { + color: #f0f0f0; +} +.project-box { + width: 96%; + margin-bottom: 30px; + text-decoration: none; + background: #3f3f3f; + display: block; +} +.project-box:hover { + text-decoration: none; + color: #fff; + background: #4b4b4b; +} +.project-image { + width: 100%; + height: 140px; + background-repeat: no-repeat; + background-size: cover; + -webkit-background-size: cover; + -moz-background-size: cover; + -o-background-size: cover; + background-position: center center; +} +.project-title { + color: white; + width: 100%; + text-overflow: ellipsis; + display: block; + white-space: nowrap; + overflow: hidden; + padding: 6px 9px; + font-size: 14px; + text-decoration: none; + text-transform: uppercase; +} \ No newline at end of file diff --git a/assets/favicon.ico b/assets/favicon.ico new file mode 100644 index 0000000..c2cbeda Binary files /dev/null and b/assets/favicon.ico differ diff --git a/assets/favicon.png b/assets/favicon.png new file mode 100644 index 0000000..fd08edb Binary files /dev/null and b/assets/favicon.png differ diff --git a/assets/font/Chunkfive.eot b/assets/font/Chunkfive.eot new file mode 100644 index 0000000..c853fef Binary files /dev/null and b/assets/font/Chunkfive.eot differ diff --git a/assets/font/Chunkfive.svg b/assets/font/Chunkfive.svg new file mode 100644 index 0000000..5c7ba3d --- /dev/null +++ b/assets/font/Chunkfive.svg @@ -0,0 +1,214 @@ + + + + +This is a custom SVG webfont generated by Font Squirrel. +Copyright : copyright missing + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/assets/font/Chunkfive.ttf b/assets/font/Chunkfive.ttf new file mode 100644 index 0000000..523b62e Binary files /dev/null and b/assets/font/Chunkfive.ttf differ diff --git a/assets/font/Chunkfive.woff b/assets/font/Chunkfive.woff new file mode 100644 index 0000000..7a1b180 Binary files /dev/null and b/assets/font/Chunkfive.woff differ diff --git a/assets/img/adn.png b/assets/img/adn.png new file mode 100644 index 0000000..e120323 Binary files /dev/null and b/assets/img/adn.png differ diff --git a/assets/img/adn_2x.png b/assets/img/adn_2x.png new file mode 100644 index 0000000..4504594 Binary files /dev/null and b/assets/img/adn_2x.png differ diff --git a/assets/img/btn-sprite.png b/assets/img/btn-sprite.png new file mode 100644 index 0000000..b9e22c0 Binary files /dev/null and b/assets/img/btn-sprite.png differ diff --git a/assets/img/chevron.png b/assets/img/chevron.png new file mode 100644 index 0000000..5983f7e Binary files /dev/null and b/assets/img/chevron.png differ diff --git a/assets/img/chevron_2x.png b/assets/img/chevron_2x.png new file mode 100644 index 0000000..6bbbfd8 Binary files /dev/null and b/assets/img/chevron_2x.png differ diff --git a/assets/img/fb-share.jpg b/assets/img/fb-share.jpg new file mode 100644 index 0000000..201bc1f Binary files /dev/null and b/assets/img/fb-share.jpg differ diff --git a/assets/img/insta-insta.png b/assets/img/insta-insta.png new file mode 100644 index 0000000..03116ac Binary files /dev/null and b/assets/img/insta-insta.png differ diff --git a/assets/img/rss.png b/assets/img/rss.png new file mode 100644 index 0000000..1d0f8a1 Binary files /dev/null and b/assets/img/rss.png differ diff --git a/assets/img/rss_2x.png b/assets/img/rss_2x.png new file mode 100644 index 0000000..b93682e Binary files /dev/null and b/assets/img/rss_2x.png differ diff --git a/assets/img/social-links-white.png b/assets/img/social-links-white.png new file mode 100644 index 0000000..457a855 Binary files /dev/null and b/assets/img/social-links-white.png differ diff --git a/assets/img/texture-white.jpg b/assets/img/texture-white.jpg new file mode 100644 index 0000000..2aed73f Binary files /dev/null and b/assets/img/texture-white.jpg differ diff --git a/assets/img/time-control.png b/assets/img/time-control.png new file mode 100644 index 0000000..dbd182c Binary files /dev/null and b/assets/img/time-control.png differ diff --git a/assets/img/twitter.png b/assets/img/twitter.png new file mode 100644 index 0000000..c83932d Binary files /dev/null and b/assets/img/twitter.png differ diff --git a/assets/img/twitter_2x.png b/assets/img/twitter_2x.png new file mode 100644 index 0000000..d2b44ec Binary files /dev/null and b/assets/img/twitter_2x.png differ diff --git a/assets/img/xmovie.png b/assets/img/xmovie.png new file mode 100644 index 0000000..6ac6a30 Binary files /dev/null and b/assets/img/xmovie.png differ diff --git a/assets/js/fokus.min.js b/assets/js/fokus.min.js new file mode 100644 index 0000000..f008325 --- /dev/null +++ b/assets/js/fokus.min.js @@ -0,0 +1,28 @@ +/*! + * Fokus 0.5 + * http://lab.hakim.se/fokus + * MIT licensed + * + * Copyright (C) 2012 Hakim El Hattab, http://hakim.se + */ +(function(){var f=5;var r=0.75; +var w,v,t=0,o,b={left:0,top:0,right:0,bottom:0},h={left:0,top:0,right:0,bottom:0};function c(){if(k()&&!window.__fokused){window.__fokused=true;w=document.createElement("canvas"); +v=w.getContext("2d");w.style.position="fixed";w.style.left=0;w.style.top=0;w.style.zIndex=2147483647;w.style.pointerEvents="none";document.addEventListener("mousedown",m,false); +document.addEventListener("keyup",d,false);document.addEventListener("scroll",l,false);document.addEventListener("DOMMouseScroll",l,false);window.addEventListener("resize",e,false); +e();}}function k(){return !!("addEventListener" in document&&"pointerEvents" in document.body.style);}function s(){var x=u();v.clearRect(0,0,w.width,w.height); +v.fillStyle="rgba( 0, 0, 0, "+t+" )";v.fillRect(0,0,w.width,w.height);if(x){if(t<0.1){h=b;}else{h.left+=(b.left-h.left)*0.18;h.top+=(b.top-h.top)*0.18; +h.right+=(b.right-h.right)*0.18;h.bottom+=(b.bottom-h.bottom)*0.18;}}v.clearRect(h.left-window.scrollX-f,h.top-window.scrollY-f,(h.right-h.left)+(f*2),(h.bottom-h.top)+(f*2)); +if(x){t+=(r-t)*0.08;}else{t=Math.max((t*0.85)-0.02,0);}cancelAnimationFrame(o);if(x||t>0){if(!w.parentNode){document.body.appendChild(w);}o=requestAnimationFrame(s); +}else{document.body.removeChild(w);}}function q(A){b={left:Number.MAX_VALUE,top:Number.MAX_VALUE,right:0,bottom:0};var z=n();for(var C=0,F=z.length;C0||D>0)&&!B.nodeName.match(/^br$/gi)){b.left=Math.min(b.left,H); +b.top=Math.min(b.top,G);b.right=Math.max(b.right,H+I);b.bottom=Math.max(b.bottom,G+D);}}if(A){h=b;}if(u()){s();}}function u(){return b.left= 400 && results.data.message){ + console.warn(results.data.message); + return; + } + else { + + self.applyTemplate(results.data); + + // Cache data + if (window.sessionStorage) { + sessionStorage.setItem('gh-repos:' + self.repo, JSON.stringify(results.data)); + } + + } + } + }); + + } + + }; + + Plugin.prototype.applyTemplate = function (repo) { + + var self = this; + var date = new Date(repo.pushed_at); + var pushed_at = date.getDate() + '/' + (date.getMonth() + 1) + '/' + date.getFullYear(); + + var $widget = $(' \ +
\ + \ +
\ +

' + repo.description + ' — Read More

\ +
\ +
\ +

Latest commit to master on ' + pushed_at + '

\ + Download as zip \ +
\ +
\ + '); + + self.appendTemplate($widget); + + }; + + Plugin.prototype.appendTemplate = function ($widget) { + var self = this; + $widget.appendTo(self.$container); + }; + + // A really lightweight plugin wrapper around the constructor, + // preventing against multiple instantiations + $.fn[pluginName] = function ( options ) { + return this.each(function () { + if (!$.data(this, 'plugin_' + pluginName)) { + $.data(this, 'plugin_' + pluginName, new Plugin( this, options )); + } + }); + }; + +}(jQuery, window)); \ No newline at end of file diff --git a/assets/js/jquery.github.repos.min.js b/assets/js/jquery.github.repos.min.js new file mode 100644 index 0000000..04bf8e2 --- /dev/null +++ b/assets/js/jquery.github.repos.min.js @@ -0,0 +1,10 @@ +/* + * jQuery Github Repos v0.2.2 + * A jQuery plugin to display your Github Repositories. + * http://git.io/3A1RMg + * + * Zeno Rocha + * MIT License + */ + +(function(a,b){function g(b,c){this.element=b,this.$container=a(b),this.repo=this.$container.attr("data-repo"),this.cached,this.options=a.extend({},f,c),this._defaults=f,this._name=d,this.init()}var d="githubRepos",f=(b.document,{propertyName:"value"});g.prototype.init=function(){var e,d=this;b.sessionStorage&&(e=sessionStorage.getItem("gh-repos:"+this.repo)),null!=e?d.applyTemplate(JSON.parse(e)):a.ajax({url:"https://api.github.com/repos/"+this.repo,dataType:"jsonp",success:function(a){return a.meta.status>=400&&a.data.message?(console.warn(a.data.message),c):(d.applyTemplate(a.data),b.sessionStorage&&sessionStorage.setItem("gh-repos:"+d.repo,JSON.stringify(a.data)),c)}})},g.prototype.applyTemplate=function(b){var c=this,d=new Date(b.pushed_at),e=d.getDate()+"/"+(d.getMonth()+1)+"/"+d.getFullYear(),f=a('

'+b.description+' — Read More

Latest commit to master on '+e+'

Download as zip
');c.appendTemplate(f)},g.prototype.appendTemplate=function(a){var b=this;a.appendTo(b.$container)},a.fn[d]=function(b){return this.each(function(){a.data(this,"plugin_"+d)||a.data(this,"plugin_"+d,new g(this,b))})}})(jQuery,window); \ No newline at end of file diff --git a/assets/js/jquery.infinitescroll.min.js b/assets/js/jquery.infinitescroll.min.js new file mode 100644 index 0000000..80eab89 --- /dev/null +++ b/assets/js/jquery.infinitescroll.min.js @@ -0,0 +1 @@ +(function(o,i,k){i.infinitescroll=function z(D,F,E){this.element=i(E);if(!this._create(D,F)){this.failed=true}};i.infinitescroll.defaults={loading:{finished:k,finishedMsg:"Parabéns, você chegou no fim da internet :P",img:"data:image/gif;base64,R0lGODlhGAAYAPYAAP///wDSvvL7+qjv6FDf0irZyBLVwqTu5/z9/Yrp4BTVwwDSvub59zjbzDbby+r6+CDXxh7XxeT59/j8/Ibp3/D7+pjs5Jbr407f0TLaygbTvwzUwSzZydj39Lzy7RrWxGjk2Oz6+Ure0CTYx1Tg06rv6AjTwJzt5eD49tL28g7UwXLl2oTo37Tx64Do3pDq4mLi1vb8+zDaysz18a7w6aLu5m7l2UTdz0LdzibYxz7czcb070je0H7n3Vrh1Gbj17Dw6hjWxN749XTm27bx6wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJBQAAACwAAAAAGAAYAAAHmoAAgoOEhYaHgxUWBA4aCxwkJwKIhBMJBguZmpkqLBOUDw2bo5kKEogMEKSkLYgIoqubK5QJsZsNCIgCCraZBiiUA72ZJZQABMMgxgAFvRyfxpixGx3LANKxHtbNth8hy8i9IssHwwsXxgLYsSYpxrXDz5QIDubKlAwR5q2UErC2poxNoLBukwoX0IxVuIAhQ6YRBC5MskaxUCAAIfkECQUAAAAsAAAAABgAGAAAB6GAAIKDhIWGh4MVFgQOGhsOGAcxiIQTCQYLmZqZGwkIlA8Nm6OaMgyHDBCkqwsjEoUIoqykNxWFCbOkNoYCCrmaJjWHA7+ZHzOIBMUND5QFvzATlACYsy/TgtWsIpPTz7kyr5TKv8eUB8ULGzSIAtq/CYi46Qswn7AO9As4toUMEfRcHZIgC9wpRBMovNvU6d60ChcwZFigwYGIAwKwaUQUCAAh+QQJBQAAACwAAAAAGAAYAAAHooAAgoOEhYaHgxUWBA4aCzkkJwKIhBMJBguZmpkqLAiUDw2bo5oyEocMEKSrCxCnhAiirKs3hQmzsy+DAgq4pBogKIMDvpvAwoQExQvHhwW+zYiYrNGU06wNHpSCz746O5TKyzwzhwfLmgQphQLX6D4dhLfomgmwDvQLOoYMEegRyApJkIWLQ0BDEyi426Six4RtgipcwJAhUwQCFypA3IgoEAAh+QQJBQAAACwAAAAAGAAYAAAHrYAAgoOEhYaHgxUWBA4aCxwkJzGIhBMJBguZmpkGLAiUDw2bo5oZEocMEKSrCxCnhAiirKsZn4MJs7MJgwIKuawqFYIDv7MnggTFozlDLZMABcpBPjUMhpisJiIJKZQA2KwfP0DPh9HFGjwJQobJypoQK0S2B++kF4IC4PbBt/aaPWA5+CdjQiEGEd5FQHFIgqxcHF4dmkBh3yYVLmx5q3ABQ4ZMBUhYEOCtpLdAACH5BAkFAAAALAAAAAAYABgAAAeegACCg4SFhoeDFRYEDhoaDgQWFYiEEwkGC5mamQYJE5QPDZujmg0PhwwQpKsLEAyFCKKsqw0IhAmzswmDAgq5rAoCggO/sxaCBMWsBIIFyqsRgpjPoybS1KMqzdibBcjcmswAB+CZxwAC09gGwoK43LuDCA7YDp+EDBHPEa+GErK5GkigNIGCulEGKNyjBKDCBQwZMmXAcGESw4uUAgEAIfkECQUAAAAsAAAAABgAGAAAB62AAIKDhIWGh4MVFgQOGgscJCcxiIQTCQYLmZqZBiwIlA8Nm6OaGRKHDBCkqwsQp4QIoqyrGZ+DCbOzCYMCCrmsKhWCA7+zJ4IExaM5Qy2TAAXKQT41DIaYrCYiCSmUANisHz9Az4fRxRo8CUKGycqaECtEtgfvpBeCAuD2wbf2mj1gOfgnY0IhBhHeRUBxSIKsXBxeHZpAYd8mFS5seatwAUOGTAVIWBDgraS3QAAh+QQJBQAAACwAAAAAGAAYAAAHooAAgoOEhYaHgxUWBA4aCzkkJwKIhBMJBguZmpkqLAiUDw2bo5oyEocMEKSrCxCnhAiirKs3hQmzsy+DAgq4pBogKIMDvpvAwoQExQvHhwW+zYiYrNGU06wNHpSCz746O5TKyzwzhwfLmgQphQLX6D4dhLfomgmwDvQLOoYMEegRyApJkIWLQ0BDEyi426Six4RtgipcwJAhUwQCFypA3IgoEAAh+QQJBQAAACwAAAAAGAAYAAAHoYAAgoOEhYaHgxUWBA4aGw4YBzGIhBMJBguZmpkbCQiUDw2bo5oyDIcMEKSrCyMShQiirKQ3FYUJs6Q2hgIKuZomNYcDv5kfM4gExQ0PlAW/MBOUAJizL9OC1awik9PPuTKvlMq/x5QHxQsbNIgC2r8JiLjpCzCfsA70Czi2hQwR9FwdkiAL3ClEEyi829Tp3rQKFzBkWKDBgYgDArBpRBQIADsAAAAAAAAAAAA=",msg:null,msgText:"Carregando os próximos posts...",selector:null,speed:"fast",start:k},state:{isDuringAjax:false,isInvalidPage:false,isDestroyed:false,isDone:false,isPaused:false,currPage:1},debug:false,behavior:k,binder:i(o),nextSelector:"div.navigation a:first",navSelector:"div.navigation",contentSelector:null,extraScrollPx:150,itemSelector:"div.post",animate:true,pathParse:k,dataType:"html",appendCallback:true,bufferPx:40,errorCallback:function(){},infid:0,pixelsFromNavToBottom:k,path:k,prefill:false};i.infinitescroll.prototype={_binding:function g(F){var D=this,E=D.options;E.v="2.0b2.120520";if(!!E.behavior&&this["_binding_"+E.behavior]!==k){this["_binding_"+E.behavior].call(this);return}if(F!=="bind"&&F!=="unbind"){this._debug("Binding value "+F+" not valid");return false}if(F==="unbind"){(this.options.binder).unbind("smartscroll.infscr."+D.options.infid)}else{(this.options.binder)[F]("smartscroll.infscr."+D.options.infid,function(){D.scroll()})}this._debug("Binding",F)},_create:function t(F,J){var G=i.extend(true,{},i.infinitescroll.defaults,F);this.options=G;var I=i(o);var D=this;if(!D._validate(F)){return false}var H=i(G.nextSelector).attr("href");if(!H){this._debug("Navigation selector not found");return false}G.path=G.path||this._determinepath(H);G.contentSelector=G.contentSelector||this.element;G.loading.selector=G.loading.selector||G.contentSelector;G.loading.msg=G.loading.msg||i('
Loading...
'+G.loading.msgText+"
");(new Image()).src=G.loading.img;if(G.pixelsFromNavToBottom===k){G.pixelsFromNavToBottom=i(document).height()-i(G.navSelector).offset().top}var E=this;G.loading.start=G.loading.start||function(){i(G.navSelector).hide();G.loading.msg.appendTo(G.loading.selector).show(G.loading.speed,i.proxy(function(){this.beginAjax(G)},E))};G.loading.finished=G.loading.finished||function(){G.loading.msg.fadeOut(G.loading.speed)};G.callback=function(K,L){if(!!G.behavior&&K["_callback_"+G.behavior]!==k){K["_callback_"+G.behavior].call(i(G.contentSelector)[0],L)}if(J){J.call(i(G.contentSelector)[0],L,G)}if(G.prefill){I.bind("resize.infinite-scroll",K._prefill)}};if(F.debug){if(Function.prototype.bind&&(typeof console==="object"||typeof console==="function")&&typeof console.log==="object"){["log","info","warn","error","assert","dir","clear","profile","profileEnd"].forEach(function(K){console[K]=this.call(console[K],console)},Function.prototype.bind)}}this._setup();if(G.prefill){this._prefill()}return true},_prefill:function n(){var D=this;var G=i(document);var F=i(o);function E(){return(G.height()<=F.height())}this._prefill=function(){if(E()){D.scroll()}F.bind("resize.infinite-scroll",function(){if(E()){F.unbind("resize.infinite-scroll");D.scroll()}})};this._prefill()},_debug:function q(){if(true!==this.options.debug){return}if(typeof console!=="undefined"&&typeof console.log==="function"){if((Array.prototype.slice.call(arguments)).length===1&&typeof Array.prototype.slice.call(arguments)[0]==="string"){console.log((Array.prototype.slice.call(arguments)).toString())}else{console.log(Array.prototype.slice.call(arguments))}}else{if(!Function.prototype.bind&&typeof console!=="undefined"&&typeof console.log==="object"){Function.prototype.call.call(console.log,console,Array.prototype.slice.call(arguments))}}},_determinepath:function A(E){var D=this.options;if(!!D.behavior&&this["_determinepath_"+D.behavior]!==k){return this["_determinepath_"+D.behavior].call(this,E)}if(!!D.pathParse){this._debug("pathParse manual");return D.pathParse(E,this.options.state.currPage+1)}else{if(E.match(/^(.*?)\b2\b(.*?$)/)){E=E.match(/^(.*?)\b2\b(.*?$)/).slice(1)}else{if(E.match(/^(.*?)2(.*?$)/)){if(E.match(/^(.*?page=)2(\/.*|$)/)){E=E.match(/^(.*?page=)2(\/.*|$)/).slice(1);return E}E=E.match(/^(.*?)2(.*?$)/).slice(1)}else{if(E.match(/^(.*?page=)1(\/.*|$)/)){E=E.match(/^(.*?page=)1(\/.*|$)/).slice(1);return E}else{this._debug("Sorry, we couldn't parse your Next (Previous Posts) URL. Verify your the css selector points to the correct A tag. If you still get this error: yell, scream, and kindly ask for help at infinite-scroll.com.");D.state.isInvalidPage=true}}}}this._debug("determinePath",E);return E},_error:function v(E){var D=this.options;if(!!D.behavior&&this["_error_"+D.behavior]!==k){this["_error_"+D.behavior].call(this,E);return}if(E!=="destroy"&&E!=="end"){E="unknown"}this._debug("Error",E);if(E==="end"){this._showdonemsg()}D.state.isDone=true;D.state.currPage=1;D.state.isPaused=false;this._binding("unbind")},_loadcallback:function c(H,I){var G=this.options,K=this.options.callback,D=(G.state.isDone)?"done":(!G.appendCallback)?"no-append":"append",J;if(!!G.behavior&&this["_loadcallback_"+G.behavior]!==k){this["_loadcallback_"+G.behavior].call(this,H,I);return}switch(D){case"done":this._showdonemsg();return false;case"no-append":if(G.dataType==="html"){I="
"+I+"
";I=i(I).find(G.itemSelector)}break;case"append":var F=H.children();if(F.length===0){return this._error("end")}J=document.createDocumentFragment();while(H[0].firstChild){J.appendChild(H[0].firstChild)}this._debug("contentSelector",i(G.contentSelector)[0]);i(G.contentSelector)[0].appendChild(J);I=F.get();break}G.loading.finished.call(i(G.contentSelector)[0],G);if(G.animate){var E=i(o).scrollTop()+i("#infscr-loading").height()+G.extraScrollPx+"px";i("html,body").animate({scrollTop:E},800,function(){G.state.isDuringAjax=false})}if(!G.animate){G.state.isDuringAjax=false}K(this,I);if(G.prefill){this._prefill()}},_nearbottom:function u(){var E=this.options,D=0+i(document).height()-(E.binder.scrollTop())-i(o).height();if(!!E.behavior&&this["_nearbottom_"+E.behavior]!==k){return this["_nearbottom_"+E.behavior].call(this)}this._debug("math:",D,E.pixelsFromNavToBottom);return(D-E.bufferPx-1&&i(E[D]).length===0){this._debug("Your "+D+" found no elements.");return false}}return true},bind:function p(){this._binding("bind")},destroy:function C(){this.options.state.isDestroyed=true;return this._error("destroy")},pause:function e(){this._pausing("pause")},resume:function h(){this._pausing("resume")},beginAjax:function B(G){var E=this,I=G.path,F,D,K,J;G.state.currPage++;F=i(G.contentSelector).is("table")?i(""):i("
");D=(typeof I==="function")?I(G.state.currPage):I.join(G.state.currPage);E._debug("heading into ajax",D);K=(G.dataType==="html"||G.dataType==="json")?G.dataType:"html+callback";if(G.appendCallback&&G.dataType==="html"){K+="+callback"}switch(K){case"html+callback":E._debug("Using HTML via .load() method");F.load(D+" "+G.itemSelector,k,function H(L){E._loadcallback(F,L)});break;case"html":E._debug("Using "+(K.toUpperCase())+" via $.ajax() method");i.ajax({url:D,dataType:G.dataType,complete:function H(L,M){J=(typeof(L.isResolved)!=="undefined")?(L.isResolved()):(M==="success"||M==="notmodified");if(J){E._loadcallback(F,L.responseText)}else{E._error("end")}}});break;case"json":E._debug("Using "+(K.toUpperCase())+" via $.ajax() method");i.ajax({dataType:"json",type:"GET",url:D,success:function(N,O,M){J=(typeof(M.isResolved)!=="undefined")?(M.isResolved()):(O==="success"||O==="notmodified");if(G.appendCallback){if(G.template!==k){var L=G.template(N);F.append(L);if(J){E._loadcallback(F,L)}else{E._error("end")}}else{E._debug("template must be defined.");E._error("end")}}else{if(J){E._loadcallback(F,N)}else{E._error("end")}}},error:function(){E._debug("JSON ajax request failed.");E._error("end")}});break}},retrieve:function b(F){F=F||null;var D=this,E=D.options;if(!!E.behavior&&this["retrieve_"+E.behavior]!==k){this["retrieve_"+E.behavior].call(this,F);return}if(E.state.isDestroyed){this._debug("Instance is destroyed");return false}E.state.isDuringAjax=true;E.loading.start.call(i(E.contentSelector)[0],E)},scroll:function f(){var D=this.options,E=D.state;if(!!D.behavior&&this["scroll_"+D.behavior]!==k){this["scroll_"+D.behavior].call(this);return}if(E.isDuringAjax||E.isInvalidPage||E.isDone||E.isDestroyed||E.isPaused){return}if(!this._nearbottom()){return}this.retrieve()},toggle:function y(){this._pausing()},unbind:function m(){this._binding("unbind")},update:function j(D){if(i.isPlainObject(D)){this.options=i.extend(true,this.options,D)}}};i.fn.infinitescroll=function d(F,G){var E=typeof F;switch(E){case"string":var D=Array.prototype.slice.call(arguments,1);this.each(function(){var H=i.data(this,"infinitescroll");if(!H){return false}if(!i.isFunction(H[F])||F.charAt(0)==="_"){return false}H[F].apply(H,D)});break;case"object":this.each(function(){var H=i.data(this,"infinitescroll");if(H){H.update(F)}else{H=new i.infinitescroll(F,G,this);if(!H.failed){i.data(this,"infinitescroll",H)}}});break}return this};var x=i.event,s;x.special.smartscroll={setup:function(){i(this).bind("scroll",x.special.smartscroll.handler)},teardown:function(){i(this).unbind("scroll",x.special.smartscroll.handler)},handler:function(G,D){var F=this,E=arguments;G.type="smartscroll";if(s){clearTimeout(s)}s=setTimeout(function(){i.event.handle.apply(F,E)},D==="execAsap"?0:100)}};i.fn.smartscroll=function(D){return D?this.bind("smartscroll",D):this.trigger("smartscroll",["execAsap"])}})(window,jQuery); \ No newline at end of file diff --git a/assets/js/main.js b/assets/js/main.js new file mode 100644 index 0000000..24008e4 --- /dev/null +++ b/assets/js/main.js @@ -0,0 +1,74 @@ +$(function(){ + + // --- Active Nav --- // + + var url = window.location.pathname, + urlRegExp = new RegExp(url == '/' ? window.location.origin + '/?$' : url.replace(/\/$/,'')); + + $('#pagenav a').each(function(){ + if(urlRegExp.test(this.href.replace(/\/$/,''))){ + $(this).addClass('active'); + } + }); + + // --- Markdown Footnotes --- // + + $("a[rel=footnote]").each(function(){ + var link = $(this); + var token = link.attr('href').substr(1); + var footnoteContent = $(document.getElementById(token)).html(); + + // There is an issue with the line below that stops the clock-tap-scroll-to-top on iOS + $('body').append('
' + footnoteContent + '
'); + + link.click(function(){ + var $currentFootnote = $(document.getElementById('overlay-' + token)); + + // If the footnote is already displayed, hide it instead + if ($currentFootnote.is(':visible')) { + $currentFootnote.slideUp('fast'); + + } else { + $('.footnoteContent').hide(); + $currentFootnote.slideDown('fast'); + } + + return false; + }); + }); + + $('.footnoteContent a[rev=footnote]').remove(); + $('.footnoteContent').prepend('×'); + $('.closeFootnote').click(function(){ + $(this).closest('.footnoteContent').slideUp('fast'); + return false; + }); + + // --- Responsive Menu --- // + + var header = $("#masthead"), + menu = $("ul#pagenav"), + social = $('.social-links'), + menuButton = $(""); + + menuButton.click(showMenu); + header.append(menuButton); + + function showMenu (event) { + if (menu.is(":visible")){ + menu.slideUp({complete:function(){$(this).css('display','')}}); + social.slideUp({complete:function(){$(this).css('display','')}}); + } + else{ + social.show(); + menu.slideDown(); + social.slideDown(); + } + } + + // Prevents # being appended to URL. Also Prevents jumping to the top of the page because of the # anchor. + $(".menubutton").click(function(event) { + event.preventDefault(); + }); + +}); \ No newline at end of file diff --git a/assets/js/modernizr_css_classes.js b/assets/js/modernizr_css_classes.js new file mode 100644 index 0000000..d2762c4 --- /dev/null +++ b/assets/js/modernizr_css_classes.js @@ -0,0 +1,4 @@ +/* Modernizr 2.6.2 (Custom Build) | MIT & BSD + * Build: http://modernizr.com/download/#-cssclasses + */ +;window.Modernizr=function(a,b,c){function u(a){j.cssText=a}function v(a,b){return u(prefixes.join(a+";")+(b||""))}function w(a,b){return typeof a===b}function x(a,b){return!!~(""+a).indexOf(b)}function y(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:w(f,"function")?f.bind(d||b):f}return!1}var d="2.6.2",e={},f=!0,g=b.documentElement,h="modernizr",i=b.createElement(h),j=i.style,k,l={}.toString,m={},n={},o={},p=[],q=p.slice,r,s={}.hasOwnProperty,t;!w(s,"undefined")&&!w(s.call,"undefined")?t=function(a,b){return s.call(a,b)}:t=function(a,b){return b in a&&w(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=q.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(q.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(q.call(arguments)))};return e});for(var z in m)t(m,z)&&(r=z.toLowerCase(),e[r]=m[z](),p.push((e[r]?"":"no-")+r));return e.addTest=function(a,b){if(typeof a=="object")for(var d in a)t(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,typeof f!="undefined"&&f&&(g.className+=" "+(b?"":"no-")+a),e[a]=b}return e},u(""),i=k=null,e._version=d,g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+p.join(" "):""),e}(this,this.document); \ No newline at end of file diff --git a/assets/js/pretiffy-lang-css.js b/assets/js/pretiffy-lang-css.js new file mode 100644 index 0000000..7986ed5 --- /dev/null +++ b/assets/js/pretiffy-lang-css.js @@ -0,0 +1,2 @@ +PR.registerLangHandler(PR.createSimpleLexer([[PR.PR_PLAIN,/^[ \t\r\n\f]+/,null," \t\r\n\u000c"]],[[PR.PR_STRING,/^\"(?:[^\n\r\f\\\"]|\\(?:\r\n?|\n|\f)|\\[\s\S])*\"/,null],[PR.PR_STRING,/^\'(?:[^\n\r\f\\\']|\\(?:\r\n?|\n|\f)|\\[\s\S])*\'/,null],["lang-css-str",/^url\(([^\)\"\']*)\)/i],[PR.PR_KEYWORD,/^(?:url|rgb|\!important|@import|@page|@media|@charset|inherit)(?=[^\-\w]|$)/i,null],["lang-css-kw",/^(-?(?:[_a-z]|(?:\\[0-9a-f]+ ?))(?:[_a-z0-9\-]|\\(?:\\[0-9a-f]+ ?))*)\s*:/i],[PR.PR_COMMENT,/^\/\*[^*]*\*+(?:[^\/*][^*]*\*+)*\//], +[PR.PR_COMMENT,/^(?:<\!--|--\>)/],[PR.PR_LITERAL,/^(?:\d+|\d*\.\d+)(?:%|[a-z]+)?/i],[PR.PR_LITERAL,/^#(?:[0-9a-f]{3}){1,2}/i],[PR.PR_PLAIN,/^-?(?:[_a-z]|(?:\\[\da-f]+ ?))(?:[_a-z\d\-]|\\(?:\\[\da-f]+ ?))*/i],[PR.PR_PUNCTUATION,/^[^\s\w\'\"]+/]]),["css"]);PR.registerLangHandler(PR.createSimpleLexer([],[[PR.PR_KEYWORD,/^-?(?:[_a-z]|(?:\\[\da-f]+ ?))(?:[_a-z\d\-]|\\(?:\\[\da-f]+ ?))*/i]]),["css-kw"]);PR.registerLangHandler(PR.createSimpleLexer([],[[PR.PR_STRING,/^[^\)\"\']+/]]),["css-str"]); diff --git a/assets/js/pretiffy.js b/assets/js/pretiffy.js new file mode 100644 index 0000000..eef5ad7 --- /dev/null +++ b/assets/js/pretiffy.js @@ -0,0 +1,28 @@ +var q=null;window.PR_SHOULD_USE_CONTINUATION=!0; +(function(){function L(a){function m(a){var f=a.charCodeAt(0);if(f!==92)return f;var b=a.charAt(1);return(f=r[b])?f:"0"<=b&&b<="7"?parseInt(a.substring(1),8):b==="u"||b==="x"?parseInt(a.substring(2),16):a.charCodeAt(1)}function e(a){if(a<32)return(a<16?"\\x0":"\\x")+a.toString(16);a=String.fromCharCode(a);if(a==="\\"||a==="-"||a==="["||a==="]")a="\\"+a;return a}function h(a){for(var f=a.substring(1,a.length-1).match(/\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\S\s]|[^\\]/g),a= +[],b=[],o=f[0]==="^",c=o?1:0,i=f.length;c122||(d<65||j>90||b.push([Math.max(65,j)|32,Math.min(d,90)|32]),d<97||j>122||b.push([Math.max(97,j)&-33,Math.min(d,122)&-33]))}}b.sort(function(a,f){return a[0]-f[0]||f[1]-a[1]});f=[];j=[NaN,NaN];for(c=0;ci[0]&&(i[1]+1>i[0]&&b.push("-"),b.push(e(i[1])));b.push("]");return b.join("")}function y(a){for(var f=a.source.match(/\[(?:[^\\\]]|\\[\S\s])*]|\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\\d+|\\[^\dux]|\(\?[!:=]|[()^]|[^()[\\^]+/g),b=f.length,d=[],c=0,i=0;c=2&&a==="["?f[c]=h(j):a!=="\\"&&(f[c]=j.replace(/[A-Za-z]/g,function(a){a=a.charCodeAt(0);return"["+String.fromCharCode(a&-33,a|32)+"]"}));return f.join("")}for(var t=0,s=!1,l=!1,p=0,d=a.length;p=5&&"lang-"===b.substring(0,5))&&!(o&&typeof o[1]==="string"))c=!1,b="src";c||(r[f]=b)}i=d;d+=f.length;if(c){c=o[1];var j=f.indexOf(c),k=j+c.length;o[2]&&(k=f.length-o[2].length,j=k-c.length);b=b.substring(5);B(l+i,f.substring(0,j),e,p);B(l+i+j,c,C(b,c),p);B(l+i+k,f.substring(k),e,p)}else p.push(l+i,b)}a.e=p}var h={},y;(function(){for(var e=a.concat(m), +l=[],p={},d=0,g=e.length;d=0;)h[n.charAt(k)]=r;r=r[1];n=""+r;p.hasOwnProperty(n)||(l.push(r),p[n]=q)}l.push(/[\S\s]/);y=L(l)})();var t=m.length;return e}function u(a){var m=[],e=[];a.tripleQuotedStrings?m.push(["str",/^(?:'''(?:[^'\\]|\\[\S\s]|''?(?=[^']))*(?:'''|$)|"""(?:[^"\\]|\\[\S\s]|""?(?=[^"]))*(?:"""|$)|'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$))/,q,"'\""]):a.multiLineStrings?m.push(["str",/^(?:'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$)|`(?:[^\\`]|\\[\S\s])*(?:`|$))/, +q,"'\"`"]):m.push(["str",/^(?:'(?:[^\n\r'\\]|\\.)*(?:'|$)|"(?:[^\n\r"\\]|\\.)*(?:"|$))/,q,"\"'"]);a.verbatimStrings&&e.push(["str",/^@"(?:[^"]|"")*(?:"|$)/,q]);var h=a.hashComments;h&&(a.cStyleComments?(h>1?m.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,q,"#"]):m.push(["com",/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\n\r]*)/,q,"#"]),e.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/,q])):m.push(["com",/^#[^\n\r]*/, +q,"#"]));a.cStyleComments&&(e.push(["com",/^\/\/[^\n\r]*/,q]),e.push(["com",/^\/\*[\S\s]*?(?:\*\/|$)/,q]));a.regexLiterals&&e.push(["lang-regex",/^(?:^^\.?|[!+-]|!=|!==|#|%|%=|&|&&|&&=|&=|\(|\*|\*=|\+=|,|-=|->|\/|\/=|:|::|;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|[?@[^]|\^=|\^\^|\^\^=|{|\||\|=|\|\||\|\|=|~|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\s*(\/(?=[^*/])(?:[^/[\\]|\\[\S\s]|\[(?:[^\\\]]|\\[\S\s])*(?:]|$))+\/)/]);(h=a.types)&&e.push(["typ",h]);a=(""+a.keywords).replace(/^ | $/g, +"");a.length&&e.push(["kwd",RegExp("^(?:"+a.replace(/[\s,]+/g,"|")+")\\b"),q]);m.push(["pln",/^\s+/,q," \r\n\t\xa0"]);e.push(["lit",/^@[$_a-z][\w$@]*/i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[\da-f]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+-]?\d+)?)[a-z]*/i,q,"0123456789"],["pln",/^\\[\S\s]?/,q],["pun",/^.[^\s\w"-$'./@\\`]*/,q]);return x(m,e)}function D(a,m){function e(a){switch(a.nodeType){case 1:if(k.test(a.className))break;if("BR"===a.nodeName)h(a), +a.parentNode&&a.parentNode.removeChild(a);else for(a=a.firstChild;a;a=a.nextSibling)e(a);break;case 3:case 4:if(p){var b=a.nodeValue,d=b.match(t);if(d){var c=b.substring(0,d.index);a.nodeValue=c;(b=b.substring(d.index+d[0].length))&&a.parentNode.insertBefore(s.createTextNode(b),a.nextSibling);h(a);c||a.parentNode.removeChild(a)}}}}function h(a){function b(a,d){var e=d?a.cloneNode(!1):a,f=a.parentNode;if(f){var f=b(f,1),g=a.nextSibling;f.appendChild(e);for(var h=g;h;h=g)g=h.nextSibling,f.appendChild(h)}return e} +for(;!a.nextSibling;)if(a=a.parentNode,!a)return;for(var a=b(a.nextSibling,0),e;(e=a.parentNode)&&e.nodeType===1;)a=e;d.push(a)}var k=/(?:^|\s)nocode(?:\s|$)/,t=/\r\n?|\n/,s=a.ownerDocument,l;a.currentStyle?l=a.currentStyle.whiteSpace:window.getComputedStyle&&(l=s.defaultView.getComputedStyle(a,q).getPropertyValue("white-space"));var p=l&&"pre"===l.substring(0,3);for(l=s.createElement("LI");a.firstChild;)l.appendChild(a.firstChild);for(var d=[l],g=0;g=0;){var h=m[e];A.hasOwnProperty(h)?window.console&&console.warn("cannot override language handler %s",h):A[h]=a}}function C(a,m){if(!a||!A.hasOwnProperty(a))a=/^\s*=o&&(h+=2);e>=c&&(a+=2)}}catch(w){"console"in window&&console.log(w&&w.stack?w.stack:w)}}var v=["break,continue,do,else,for,if,return,while"],w=[[v,"auto,case,char,const,default,double,enum,extern,float,goto,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"], +"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],F=[w,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,dynamic_cast,explicit,export,friend,inline,late_check,mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],G=[w,"abstract,boolean,byte,extends,final,finally,implements,import,instanceof,null,native,package,strictfp,super,synchronized,throws,transient"], +H=[G,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var"],w=[w,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"],I=[v,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"], +J=[v,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],v=[v,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],K=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)/,N=/\S/,O=u({keywords:[F,H,w,"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END"+ +I,J,v],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0}),A={};k(O,["default-code"]);k(x([],[["pln",/^[^]*(?:>|$)/],["com",/^<\!--[\S\s]*?(?:--\>|$)/],["lang-",/^<\?([\S\s]+?)(?:\?>|$)/],["lang-",/^<%([\S\s]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^]*>([\S\s]+?)<\/xmp\b[^>]*>/i],["lang-js",/^]*>([\S\s]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\S\s]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]), +["default-markup","htm","html","mxml","xhtml","xml","xsl"]);k(x([["pln",/^\s+/,q," \t\r\n"],["atv",/^(?:"[^"]*"?|'[^']*'?)/,q,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w-.:]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^\s"'>]*(?:[^\s"'/>]|\/(?=\s)))/],["pun",/^[/<->]+/],["lang-js",/^on\w+\s*=\s*"([^"]+)"/i],["lang-js",/^on\w+\s*=\s*'([^']+)'/i],["lang-js",/^on\w+\s*=\s*([^\s"'>]+)/i],["lang-css",/^style\s*=\s*"([^"]+)"/i],["lang-css",/^style\s*=\s*'([^']+)'/i],["lang-css", +/^style\s*=\s*([^\s"'>]+)/i]]),["in.tag"]);k(x([],[["atv",/^[\S\s]+/]]),["uq.val"]);k(u({keywords:F,hashComments:!0,cStyleComments:!0,types:K}),["c","cc","cpp","cxx","cyc","m"]);k(u({keywords:"null,true,false"}),["json"]);k(u({keywords:H,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:K}),["cs"]);k(u({keywords:G,cStyleComments:!0}),["java"]);k(u({keywords:v,hashComments:!0,multiLineStrings:!0}),["bsh","csh","sh"]);k(u({keywords:I,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}), +["cv","py"]);k(u({keywords:"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["perl","pl","pm"]);k(u({keywords:J,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb"]);k(u({keywords:w,cStyleComments:!0,regexLiterals:!0}),["js"]);k(u({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,true,try,unless,until,when,while,yes", +hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]);k(x([],[["str",/^[\S\s]+/]]),["regex"]);window.prettyPrintOne=function(a,m,e){var h=document.createElement("PRE");h.innerHTML=a;e&&D(h,e);E({g:m,i:e,h:h});return h.innerHTML};window.prettyPrint=function(a){function m(){for(var e=window.PR_SHOULD_USE_CONTINUATION?l.now()+250:Infinity;p=0){var k=k.match(g),f,b;if(b= +!k){b=n;for(var o=void 0,c=b.firstChild;c;c=c.nextSibling)var i=c.nodeType,o=i===1?o?b:c:i===3?N.test(c.nodeValue)?b:o:o;b=(f=o===b?void 0:o)&&"CODE"===f.tagName}b&&(k=f.className.match(g));k&&(k=k[1]);b=!1;for(o=n.parentNode;o;o=o.parentNode)if((o.tagName==="pre"||o.tagName==="code"||o.tagName==="xmp")&&o.className&&o.className.indexOf("prettyprint")>=0){b=!0;break}b||((b=(b=n.className.match(/\blinenums\b(?::(\d+))?/))?b[1]&&b[1].length?+b[1]:!0:!1)&&D(n,b),d={g:k,h:n,i:b},E(d))}}p + + + + Weslley Neri | Desenvolvedor + + + +

Weslley Neri

+
+
+

Endereço

+ R. Brasilia Castanho de Oliveira Nº: 149
+ Guarulhos - SP
+ CEP: 07115 - 010 +
+
+

Dados Adicionais

+ Brasileiro
+ Solteiro
+ 20 Anos
+
+
+

Contato

+ weslley39@me.com
+ weslley39@gmail.com
+ (11) 98025 - 4814 +
+
+ +

Formação Acadêmica

+
    +
  • Conselheiro Crispiniano - 2011
  • +
  • Faculdade ENIAC - Cursando
  • +
+ + +

Experiência Profissional

+ 2010 » 2011 +

Speed Cursos

+
Sguarulhos - SP
+
    +
  • Instrutor de informática básica e avançada.
  • +
+ + 2011 » 2013 +

Prepara Cursos Profissionalizantes

+
Guarulhos - SP
+
    +
  • Instrutor de informática básica e avançada.
  • +
  • Coordenador andragógico e Gestor Quality
  • +
  • Manutenção da rede e servidores
  • +
+ + 2013 » Atual +

ArcNet Automação Comercial

+
Tatuapé - SP
+
    +
  • Desenvolvedor Front/Back End
  • +
+ +

Cursos / Idiomas

+ +

Especialização Tecnologica e Administrativa

+
Guarulhos - SP
+
    +
  • + Euro Data +
  • +
  • + Módulos: Windows, Word, Excel, Outlook, Access, Power Point e Front Page +
  • +
+ +

Web Designer

+
Guarulhos - SP
+
    +
  • + Speed Byte +
  • +
  • + Módulos: HTML, Flash, Fireworks, Dreamweaver, PHP e SQL +
  • +
+ +

Designer Gráfico

+
Guarulhos - SP
+
    +
  • + Speed Cursos +
  • +
  • + Módulos: CorelDRAW, Photoshop e InDesign +
  • +
+ +

Montagem e Manutenção de Computadores

+
Guarulhos - SP
+ +
    +
  • + Speed Cursos +
  • +
  • + Módulos: +
      +
    • Montagem e Manutenção de Micros
    • +
    • Analise e Estruturação de Topologia
    • +
    • Estruturação de rede
    • +
    • Cabeamento Estruturado
    • +
    +
  • +
+ + + +

Programador

+
Guarulhos - SP
+
    +
  • + Prepara Cursos +
  • +
  • + Módulos: Lógica de Programação, Delphi, Visual Basic, Java, C# Banco de Dados +
  • +
+ +

Personal CAD

+
Guarulhos - SP
+
    +
  • + Prepara Cursos +
  • +
  • + Módulos: AutoCAD 2007 Mod I – 2D, AutoCAD 2007 Mod II – 3D +
  • +
+ +

Excel Avançado

+
Guarulhos - SP
+
    +
  • + Prepara Cursos +
  • +
  • + Módulos: Excel Básico e Avançado +
  • +
+ +

Linux

+
Guarulhos - SP
+
    +
  • + Prepara Cursos +
  • +
  • + Módulos: Kurumin com BrOffice +
  • +
+ +

Inglês

+
Guarulhos - SP
+
    +
  • + CNA +
  • +
  • + Módulos: Inglês Avançado - Cursando +
  • +
+ + +

Microsoft ASP.NET MVC 5 - Enterprise Applications

+
    +
  • Eduardo Pires - Treinamentos e Consultoria
  • +
  • Certificado
  • +
+ +

An Introduction to Interactive Programming in Python

+ + +

M101JS: MongoDB for Node.js Developers

+ + +

M101P: MongoDB for Developers

+ + +

Python para Zumbis

+ + + + \ No newline at end of file diff --git a/blog/index.html b/blog/index.html new file mode 100644 index 0000000..8fab84a --- /dev/null +++ b/blog/index.html @@ -0,0 +1,6 @@ +--- +layout: default +title: Blog +class: blog +description: HTML5, CSS3, JavaScript and other front-end stuff. +--- diff --git a/css/font.css b/css/font.css deleted file mode 100644 index 0cdd3c5..0000000 --- a/css/font.css +++ /dev/null @@ -1,1159 +0,0 @@ -@font-face { - font-family: 'ElegantIcons'; - src:url('../fonts/ElegantIcons.eot'); - src:url('../fonts/ElegantIcons.eot?#iefix') format('embedded-opentype'), - url('../fonts/ElegantIcons.woff') format('woff'), - url('../fonts/ElegantIcons.ttf') format('truetype'), - url('../fonts/ElegantIcons.svg#ElegantIcons') format('svg'); - font-weight: normal; - font-style: normal; -} - -/* Use the following CSS code if you want to use data attributes for inserting your icons */ -[data-icon]:before { - font-family: 'ElegantIcons'; - content: attr(data-icon); - speak: none; - font-weight: normal; - font-variant: normal; - text-transform: none; - line-height: 1; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -/* Use the following CSS code if you want to have a class per icon */ -/* -Instead of a list of all class selectors, -you can use the generic selector below, but it's slower: -[class*="your-class-prefix"] { -*/ -.arrow_up, .arrow_down, .arrow_left, .arrow_right, .arrow_left-up, .arrow_right-up, .arrow_right-down, .arrow_left-down, .arrow-up-down, .arrow_up-down_alt, .arrow_left-right_alt, .arrow_left-right, .arrow_expand_alt2, .arrow_expand_alt, .arrow_condense, .arrow_expand, .arrow_move, .arrow_carrot-up, .arrow_carrot-down, .arrow_carrot-left, .arrow_carrot-right, .arrow_carrot-2up, .arrow_carrot-2down, .arrow_carrot-2left, .arrow_carrot-2right, .arrow_carrot-up_alt2, .arrow_carrot-down_alt2, .arrow_carrot-left_alt2, .arrow_carrot-right_alt2, .arrow_carrot-2up_alt2, .arrow_carrot-2down_alt2, .arrow_carrot-2left_alt2, .arrow_carrot-2right_alt2, .arrow_triangle-up, .arrow_triangle-down, .arrow_triangle-left, .arrow_triangle-right, .arrow_triangle-up_alt2, .arrow_triangle-down_alt2, .arrow_triangle-left_alt2, .arrow_triangle-right_alt2, .arrow_back, .icon_minus-06, .icon_plus, .icon_close, .icon_check, .icon_minus_alt2, .icon_plus_alt2, .icon_close_alt2, .icon_check_alt2, .icon_zoom-out_alt, .icon_zoom-in_alt, .icon_search, .icon_box-empty, .icon_box-selected, .icon_minus-box, .icon_plus-box, .icon_box-checked, .icon_circle-empty, .icon_circle-slelected, .icon_stop_alt2, .icon_stop, .icon_pause_alt2, .icon_pause, .icon_menu, .icon_menu-square_alt2, .icon_menu-circle_alt2, .icon_ul, .icon_ol, .icon_adjust-horiz, .icon_adjust-vert, .icon_document_alt, .icon_documents_alt, .icon_pencil, .icon_pencil-edit_alt, .icon_pencil-edit, .icon_folder-alt, .icon_folder-open_alt, .icon_folder-add_alt, .icon_info_alt, .icon_error-oct_alt, .icon_error-circle_alt, .icon_error-triangle_alt, .icon_question_alt2, .icon_question, .icon_comment_alt, .icon_chat_alt, .icon_vol-mute_alt, .icon_volume-low_alt, .icon_volume-high_alt, .icon_quotations, .icon_quotations_alt2, .icon_clock_alt, .icon_lock_alt, .icon_lock-open_alt, .icon_key_alt, .icon_cloud_alt, .icon_cloud-upload_alt, .icon_cloud-download_alt, .icon_image, .icon_images, .icon_lightbulb_alt, .icon_gift_alt, .icon_house_alt, .icon_genius, .icon_mobile, .icon_tablet, .icon_laptop, .icon_desktop, .icon_camera_alt, .icon_mail_alt, .icon_cone_alt, .icon_ribbon_alt, .icon_bag_alt, .icon_creditcard, .icon_cart_alt, .icon_paperclip, .icon_tag_alt, .icon_tags_alt, .icon_trash_alt, .icon_cursor_alt, .icon_mic_alt, .icon_compass_alt, .icon_pin_alt, .icon_pushpin_alt, .icon_map_alt, .icon_drawer_alt, .icon_toolbox_alt, .icon_book_alt, .icon_calendar, .icon_film, .icon_table, .icon_contacts_alt, .icon_headphones, .icon_lifesaver, .icon_piechart, .icon_refresh, .icon_link_alt, .icon_link, .icon_loading, .icon_blocked, .icon_archive_alt, .icon_heart_alt, .icon_star_alt, .icon_star-half_alt, .icon_star, .icon_star-half, .icon_tools, .icon_tool, .icon_cog, .icon_cogs, .arrow_up_alt, .arrow_down_alt, .arrow_left_alt, .arrow_right_alt, .arrow_left-up_alt, .arrow_right-up_alt, .arrow_right-down_alt, .arrow_left-down_alt, .arrow_condense_alt, .arrow_expand_alt3, .arrow_carrot_up_alt, .arrow_carrot-down_alt, .arrow_carrot-left_alt, .arrow_carrot-right_alt, .arrow_carrot-2up_alt, .arrow_carrot-2dwnn_alt, .arrow_carrot-2left_alt, .arrow_carrot-2right_alt, .arrow_triangle-up_alt, .arrow_triangle-down_alt, .arrow_triangle-left_alt, .arrow_triangle-right_alt, .icon_minus_alt, .icon_plus_alt, .icon_close_alt, .icon_check_alt, .icon_zoom-out, .icon_zoom-in, .icon_stop_alt, .icon_menu-square_alt, .icon_menu-circle_alt, .icon_document, .icon_documents, .icon_pencil_alt, .icon_folder, .icon_folder-open, .icon_folder-add, .icon_folder_upload, .icon_folder_download, .icon_info, .icon_error-circle, .icon_error-oct, .icon_error-triangle, .icon_question_alt, .icon_comment, .icon_chat, .icon_vol-mute, .icon_volume-low, .icon_volume-high, .icon_quotations_alt, .icon_clock, .icon_lock, .icon_lock-open, .icon_key, .icon_cloud, .icon_cloud-upload, .icon_cloud-download, .icon_lightbulb, .icon_gift, .icon_house, .icon_camera, .icon_mail, .icon_cone, .icon_ribbon, .icon_bag, .icon_cart, .icon_tag, .icon_tags, .icon_trash, .icon_cursor, .icon_mic, .icon_compass, .icon_pin, .icon_pushpin, .icon_map, .icon_drawer, .icon_toolbox, .icon_book, .icon_contacts, .icon_archive, .icon_heart, .icon_profile, .icon_group, .icon_grid-2x2, .icon_grid-3x3, .icon_music, .icon_pause_alt, .icon_phone, .icon_upload, .icon_download, .social_facebook, .social_twitter, .social_pinterest, .social_googleplus, .social_tumblr, .social_tumbleupon, .social_wordpress, .social_instagram, .social_dribbble, .social_vimeo, .social_linkedin, .social_rss, .social_deviantart, .social_share, .social_myspace, .social_skype, .social_youtube, .social_picassa, .social_googledrive, .social_flickr, .social_blogger, .social_spotify, .social_delicious, .social_facebook_circle, .social_twitter_circle, .social_pinterest_circle, .social_googleplus_circle, .social_tumblr_circle, .social_stumbleupon_circle, .social_wordpress_circle, .social_instagram_circle, .social_dribbble_circle, .social_vimeo_circle, .social_linkedin_circle, .social_rss_circle, .social_deviantart_circle, .social_share_circle, .social_myspace_circle, .social_skype_circle, .social_youtube_circle, .social_picassa_circle, .social_googledrive_alt2, .social_flickr_circle, .social_blogger_circle, .social_spotify_circle, .social_delicious_circle, .social_facebook_square, .social_twitter_square, .social_pinterest_square, .social_googleplus_square, .social_tumblr_square, .social_stumbleupon_square, .social_wordpress_square, .social_instagram_square, .social_dribbble_square, .social_vimeo_square, .social_linkedin_square, .social_rss_square, .social_deviantart_square, .social_share_square, .social_myspace_square, .social_skype_square, .social_youtube_square, .social_picassa_square, .social_googledrive_square, .social_flickr_square, .social_blogger_square, .social_spotify_square, .social_delicious_square, .icon_printer, .icon_calulator, .icon_building, .icon_floppy, .icon_drive, .icon_search-2, .icon_id, .icon_id-2, .icon_puzzle, .icon_like, .icon_dislike, .icon_mug, .icon_currency, .icon_wallet, .icon_pens, .icon_easel, .icon_flowchart, .icon_datareport, .icon_briefcase, .icon_shield, .icon_percent, .icon_globe, .icon_globe-2, .icon_target, .icon_hourglass, .icon_balance, .icon_rook, .icon_printer-alt, .icon_calculator_alt, .icon_building_alt, .icon_floppy_alt, .icon_drive_alt, .icon_search_alt, .icon_id_alt, .icon_id-2_alt, .icon_puzzle_alt, .icon_like_alt, .icon_dislike_alt, .icon_mug_alt, .icon_currency_alt, .icon_wallet_alt, .icon_pens_alt, .icon_easel_alt, .icon_flowchart_alt, .icon_datareport_alt, .icon_briefcase_alt, .icon_shield_alt, .icon_percent_alt, .icon_globe_alt, .icon_clipboard { - font-family: 'ElegantIcons'; - speak: none; - font-style: normal; - font-weight: normal; - font-variant: normal; - text-transform: none; - line-height: 1; - -webkit-font-smoothing: antialiased; -} -.arrow_up:before { - content: "\21"; -} -.arrow_down:before { - content: "\22"; -} -.arrow_left:before { - content: "\23"; -} -.arrow_right:before { - content: "\24"; -} -.arrow_left-up:before { - content: "\25"; -} -.arrow_right-up:before { - content: "\26"; -} -.arrow_right-down:before { - content: "\27"; -} -.arrow_left-down:before { - content: "\28"; -} -.arrow-up-down:before { - content: "\29"; -} -.arrow_up-down_alt:before { - content: "\2a"; -} -.arrow_left-right_alt:before { - content: "\2b"; -} -.arrow_left-right:before { - content: "\2c"; -} -.arrow_expand_alt2:before { - content: "\2d"; -} -.arrow_expand_alt:before { - content: "\2e"; -} -.arrow_condense:before { - content: "\2f"; -} -.arrow_expand:before { - content: "\30"; -} -.arrow_move:before { - content: "\31"; -} -.arrow_carrot-up:before { - content: "\32"; -} -.arrow_carrot-down:before { - content: "\33"; -} -.arrow_carrot-left:before { - content: "\34"; -} -.arrow_carrot-right:before { - content: "\35"; -} -.arrow_carrot-2up:before { - content: "\36"; -} -.arrow_carrot-2down:before { - content: "\37"; -} -.arrow_carrot-2left:before { - content: "\38"; -} -.arrow_carrot-2right:before { - content: "\39"; -} -.arrow_carrot-up_alt2:before { - content: "\3a"; -} -.arrow_carrot-down_alt2:before { - content: "\3b"; -} -.arrow_carrot-left_alt2:before { - content: "\3c"; -} -.arrow_carrot-right_alt2:before { - content: "\3d"; -} -.arrow_carrot-2up_alt2:before { - content: "\3e"; -} -.arrow_carrot-2down_alt2:before { - content: "\3f"; -} -.arrow_carrot-2left_alt2:before { - content: "\40"; -} -.arrow_carrot-2right_alt2:before { - content: "\41"; -} -.arrow_triangle-up:before { - content: "\42"; -} -.arrow_triangle-down:before { - content: "\43"; -} -.arrow_triangle-left:before { - content: "\44"; -} -.arrow_triangle-right:before { - content: "\45"; -} -.arrow_triangle-up_alt2:before { - content: "\46"; -} -.arrow_triangle-down_alt2:before { - content: "\47"; -} -.arrow_triangle-left_alt2:before { - content: "\48"; -} -.arrow_triangle-right_alt2:before { - content: "\49"; -} -.arrow_back:before { - content: "\4a"; -} -.icon_minus-06:before { - content: "\4b"; -} -.icon_plus:before { - content: "\4c"; -} -.icon_close:before { - content: "\4d"; -} -.icon_check:before { - content: "\4e"; -} -.icon_minus_alt2:before { - content: "\4f"; -} -.icon_plus_alt2:before { - content: "\50"; -} -.icon_close_alt2:before { - content: "\51"; -} -.icon_check_alt2:before { - content: "\52"; -} -.icon_zoom-out_alt:before { - content: "\53"; -} -.icon_zoom-in_alt:before { - content: "\54"; -} -.icon_search:before { - content: "\55"; -} -.icon_box-empty:before { - content: "\56"; -} -.icon_box-selected:before { - content: "\57"; -} -.icon_minus-box:before { - content: "\58"; -} -.icon_plus-box:before { - content: "\59"; -} -.icon_box-checked:before { - content: "\5a"; -} -.icon_circle-empty:before { - content: "\5b"; -} -.icon_circle-slelected:before { - content: "\5c"; -} -.icon_stop_alt2:before { - content: "\5d"; -} -.icon_stop:before { - content: "\5e"; -} -.icon_pause_alt2:before { - content: "\5f"; -} -.icon_pause:before { - content: "\60"; -} -.icon_menu:before { - content: "\61"; -} -.icon_menu-square_alt2:before { - content: "\62"; -} -.icon_menu-circle_alt2:before { - content: "\63"; -} -.icon_ul:before { - content: "\64"; -} -.icon_ol:before { - content: "\65"; -} -.icon_adjust-horiz:before { - content: "\66"; -} -.icon_adjust-vert:before { - content: "\67"; -} -.icon_document_alt:before { - content: "\68"; -} -.icon_documents_alt:before { - content: "\69"; -} -.icon_pencil:before { - content: "\6a"; -} -.icon_pencil-edit_alt:before { - content: "\6b"; -} -.icon_pencil-edit:before { - content: "\6c"; -} -.icon_folder-alt:before { - content: "\6d"; -} -.icon_folder-open_alt:before { - content: "\6e"; -} -.icon_folder-add_alt:before { - content: "\6f"; -} -.icon_info_alt:before { - content: "\70"; -} -.icon_error-oct_alt:before { - content: "\71"; -} -.icon_error-circle_alt:before { - content: "\72"; -} -.icon_error-triangle_alt:before { - content: "\73"; -} -.icon_question_alt2:before { - content: "\74"; -} -.icon_question:before { - content: "\75"; -} -.icon_comment_alt:before { - content: "\76"; -} -.icon_chat_alt:before { - content: "\77"; -} -.icon_vol-mute_alt:before { - content: "\78"; -} -.icon_volume-low_alt:before { - content: "\79"; -} -.icon_volume-high_alt:before { - content: "\7a"; -} -.icon_quotations:before { - content: "\7b"; -} -.icon_quotations_alt2:before { - content: "\7c"; -} -.icon_clock_alt:before { - content: "\7d"; -} -.icon_lock_alt:before { - content: "\7e"; -} -.icon_lock-open_alt:before { - content: "\e000"; -} -.icon_key_alt:before { - content: "\e001"; -} -.icon_cloud_alt:before { - content: "\e002"; -} -.icon_cloud-upload_alt:before { - content: "\e003"; -} -.icon_cloud-download_alt:before { - content: "\e004"; -} -.icon_image:before { - content: "\e005"; -} -.icon_images:before { - content: "\e006"; -} -.icon_lightbulb_alt:before { - content: "\e007"; -} -.icon_gift_alt:before { - content: "\e008"; -} -.icon_house_alt:before { - content: "\e009"; -} -.icon_genius:before { - content: "\e00a"; -} -.icon_mobile:before { - content: "\e00b"; -} -.icon_tablet:before { - content: "\e00c"; -} -.icon_laptop:before { - content: "\e00d"; -} -.icon_desktop:before { - content: "\e00e"; -} -.icon_camera_alt:before { - content: "\e00f"; -} -.icon_mail_alt:before { - content: "\e010"; -} -.icon_cone_alt:before { - content: "\e011"; -} -.icon_ribbon_alt:before { - content: "\e012"; -} -.icon_bag_alt:before { - content: "\e013"; -} -.icon_creditcard:before { - content: "\e014"; -} -.icon_cart_alt:before { - content: "\e015"; -} -.icon_paperclip:before { - content: "\e016"; -} -.icon_tag_alt:before { - content: "\e017"; -} -.icon_tags_alt:before { - content: "\e018"; -} -.icon_trash_alt:before { - content: "\e019"; -} -.icon_cursor_alt:before { - content: "\e01a"; -} -.icon_mic_alt:before { - content: "\e01b"; -} -.icon_compass_alt:before { - content: "\e01c"; -} -.icon_pin_alt:before { - content: "\e01d"; -} -.icon_pushpin_alt:before { - content: "\e01e"; -} -.icon_map_alt:before { - content: "\e01f"; -} -.icon_drawer_alt:before { - content: "\e020"; -} -.icon_toolbox_alt:before { - content: "\e021"; -} -.icon_book_alt:before { - content: "\e022"; -} -.icon_calendar:before { - content: "\e023"; -} -.icon_film:before { - content: "\e024"; -} -.icon_table:before { - content: "\e025"; -} -.icon_contacts_alt:before { - content: "\e026"; -} -.icon_headphones:before { - content: "\e027"; -} -.icon_lifesaver:before { - content: "\e028"; -} -.icon_piechart:before { - content: "\e029"; -} -.icon_refresh:before { - content: "\e02a"; -} -.icon_link_alt:before { - content: "\e02b"; -} -.icon_link:before { - content: "\e02c"; -} -.icon_loading:before { - content: "\e02d"; -} -.icon_blocked:before { - content: "\e02e"; -} -.icon_archive_alt:before { - content: "\e02f"; -} -.icon_heart_alt:before { - content: "\e030"; -} -.icon_star_alt:before { - content: "\e031"; -} -.icon_star-half_alt:before { - content: "\e032"; -} -.icon_star:before { - content: "\e033"; -} -.icon_star-half:before { - content: "\e034"; -} -.icon_tools:before { - content: "\e035"; -} -.icon_tool:before { - content: "\e036"; -} -.icon_cog:before { - content: "\e037"; -} -.icon_cogs:before { - content: "\e038"; -} -.arrow_up_alt:before { - content: "\e039"; -} -.arrow_down_alt:before { - content: "\e03a"; -} -.arrow_left_alt:before { - content: "\e03b"; -} -.arrow_right_alt:before { - content: "\e03c"; -} -.arrow_left-up_alt:before { - content: "\e03d"; -} -.arrow_right-up_alt:before { - content: "\e03e"; -} -.arrow_right-down_alt:before { - content: "\e03f"; -} -.arrow_left-down_alt:before { - content: "\e040"; -} -.arrow_condense_alt:before { - content: "\e041"; -} -.arrow_expand_alt3:before { - content: "\e042"; -} -.arrow_carrot_up_alt:before { - content: "\e043"; -} -.arrow_carrot-down_alt:before { - content: "\e044"; -} -.arrow_carrot-left_alt:before { - content: "\e045"; -} -.arrow_carrot-right_alt:before { - content: "\e046"; -} -.arrow_carrot-2up_alt:before { - content: "\e047"; -} -.arrow_carrot-2dwnn_alt:before { - content: "\e048"; -} -.arrow_carrot-2left_alt:before { - content: "\e049"; -} -.arrow_carrot-2right_alt:before { - content: "\e04a"; -} -.arrow_triangle-up_alt:before { - content: "\e04b"; -} -.arrow_triangle-down_alt:before { - content: "\e04c"; -} -.arrow_triangle-left_alt:before { - content: "\e04d"; -} -.arrow_triangle-right_alt:before { - content: "\e04e"; -} -.icon_minus_alt:before { - content: "\e04f"; -} -.icon_plus_alt:before { - content: "\e050"; -} -.icon_close_alt:before { - content: "\e051"; -} -.icon_check_alt:before { - content: "\e052"; -} -.icon_zoom-out:before { - content: "\e053"; -} -.icon_zoom-in:before { - content: "\e054"; -} -.icon_stop_alt:before { - content: "\e055"; -} -.icon_menu-square_alt:before { - content: "\e056"; -} -.icon_menu-circle_alt:before { - content: "\e057"; -} -.icon_document:before { - content: "\e058"; -} -.icon_documents:before { - content: "\e059"; -} -.icon_pencil_alt:before { - content: "\e05a"; -} -.icon_folder:before { - content: "\e05b"; -} -.icon_folder-open:before { - content: "\e05c"; -} -.icon_folder-add:before { - content: "\e05d"; -} -.icon_folder_upload:before { - content: "\e05e"; -} -.icon_folder_download:before { - content: "\e05f"; -} -.icon_info:before { - content: "\e060"; -} -.icon_error-circle:before { - content: "\e061"; -} -.icon_error-oct:before { - content: "\e062"; -} -.icon_error-triangle:before { - content: "\e063"; -} -.icon_question_alt:before { - content: "\e064"; -} -.icon_comment:before { - content: "\e065"; -} -.icon_chat:before { - content: "\e066"; -} -.icon_vol-mute:before { - content: "\e067"; -} -.icon_volume-low:before { - content: "\e068"; -} -.icon_volume-high:before { - content: "\e069"; -} -.icon_quotations_alt:before { - content: "\e06a"; -} -.icon_clock:before { - content: "\e06b"; -} -.icon_lock:before { - content: "\e06c"; -} -.icon_lock-open:before { - content: "\e06d"; -} -.icon_key:before { - content: "\e06e"; -} -.icon_cloud:before { - content: "\e06f"; -} -.icon_cloud-upload:before { - content: "\e070"; -} -.icon_cloud-download:before { - content: "\e071"; -} -.icon_lightbulb:before { - content: "\e072"; -} -.icon_gift:before { - content: "\e073"; -} -.icon_house:before { - content: "\e074"; -} -.icon_camera:before { - content: "\e075"; -} -.icon_mail:before { - content: "\e076"; -} -.icon_cone:before { - content: "\e077"; -} -.icon_ribbon:before { - content: "\e078"; -} -.icon_bag:before { - content: "\e079"; -} -.icon_cart:before { - content: "\e07a"; -} -.icon_tag:before { - content: "\e07b"; -} -.icon_tags:before { - content: "\e07c"; -} -.icon_trash:before { - content: "\e07d"; -} -.icon_cursor:before { - content: "\e07e"; -} -.icon_mic:before { - content: "\e07f"; -} -.icon_compass:before { - content: "\e080"; -} -.icon_pin:before { - content: "\e081"; -} -.icon_pushpin:before { - content: "\e082"; -} -.icon_map:before { - content: "\e083"; -} -.icon_drawer:before { - content: "\e084"; -} -.icon_toolbox:before { - content: "\e085"; -} -.icon_book:before { - content: "\e086"; -} -.icon_contacts:before { - content: "\e087"; -} -.icon_archive:before { - content: "\e088"; -} -.icon_heart:before { - content: "\e089"; -} -.icon_profile:before { - content: "\e08a"; -} -.icon_group:before { - content: "\e08b"; -} -.icon_grid-2x2:before { - content: "\e08c"; -} -.icon_grid-3x3:before { - content: "\e08d"; -} -.icon_music:before { - content: "\e08e"; -} -.icon_pause_alt:before { - content: "\e08f"; -} -.icon_phone:before { - content: "\e090"; -} -.icon_upload:before { - content: "\e091"; -} -.icon_download:before { - content: "\e092"; -} -.social_facebook:before { - content: "\e093"; -} -.social_twitter:before { - content: "\e094"; -} -.social_pinterest:before { - content: "\e095"; -} -.social_googleplus:before { - content: "\e096"; -} -.social_tumblr:before { - content: "\e097"; -} -.social_tumbleupon:before { - content: "\e098"; -} -.social_wordpress:before { - content: "\e099"; -} -.social_instagram:before { - content: "\e09a"; -} -.social_dribbble:before { - content: "\e09b"; -} -.social_vimeo:before { - content: "\e09c"; -} -.social_linkedin:before { - content: "\e09d"; -} -.social_rss:before { - content: "\e09e"; -} -.social_deviantart:before { - content: "\e09f"; -} -.social_share:before { - content: "\e0a0"; -} -.social_myspace:before { - content: "\e0a1"; -} -.social_skype:before { - content: "\e0a2"; -} -.social_youtube:before { - content: "\e0a3"; -} -.social_picassa:before { - content: "\e0a4"; -} -.social_googledrive:before { - content: "\e0a5"; -} -.social_flickr:before { - content: "\e0a6"; -} -.social_blogger:before { - content: "\e0a7"; -} -.social_spotify:before { - content: "\e0a8"; -} -.social_delicious:before { - content: "\e0a9"; -} -.social_facebook_circle:before { - content: "\e0aa"; -} -.social_twitter_circle:before { - content: "\e0ab"; -} -.social_pinterest_circle:before { - content: "\e0ac"; -} -.social_googleplus_circle:before { - content: "\e0ad"; -} -.social_tumblr_circle:before { - content: "\e0ae"; -} -.social_stumbleupon_circle:before { - content: "\e0af"; -} -.social_wordpress_circle:before { - content: "\e0b0"; -} -.social_instagram_circle:before { - content: "\e0b1"; -} -.social_dribbble_circle:before { - content: "\e0b2"; -} -.social_vimeo_circle:before { - content: "\e0b3"; -} -.social_linkedin_circle:before { - content: "\e0b4"; -} -.social_rss_circle:before { - content: "\e0b5"; -} -.social_deviantart_circle:before { - content: "\e0b6"; -} -.social_share_circle:before { - content: "\e0b7"; -} -.social_myspace_circle:before { - content: "\e0b8"; -} -.social_skype_circle:before { - content: "\e0b9"; -} -.social_youtube_circle:before { - content: "\e0ba"; -} -.social_picassa_circle:before { - content: "\e0bb"; -} -.social_googledrive_alt2:before { - content: "\e0bc"; -} -.social_flickr_circle:before { - content: "\e0bd"; -} -.social_blogger_circle:before { - content: "\e0be"; -} -.social_spotify_circle:before { - content: "\e0bf"; -} -.social_delicious_circle:before { - content: "\e0c0"; -} -.social_facebook_square:before { - content: "\e0c1"; -} -.social_twitter_square:before { - content: "\e0c2"; -} -.social_pinterest_square:before { - content: "\e0c3"; -} -.social_googleplus_square:before { - content: "\e0c4"; -} -.social_tumblr_square:before { - content: "\e0c5"; -} -.social_stumbleupon_square:before { - content: "\e0c6"; -} -.social_wordpress_square:before { - content: "\e0c7"; -} -.social_instagram_square:before { - content: "\e0c8"; -} -.social_dribbble_square:before { - content: "\e0c9"; -} -.social_vimeo_square:before { - content: "\e0ca"; -} -.social_linkedin_square:before { - content: "\e0cb"; -} -.social_rss_square:before { - content: "\e0cc"; -} -.social_deviantart_square:before { - content: "\e0cd"; -} -.social_share_square:before { - content: "\e0ce"; -} -.social_myspace_square:before { - content: "\e0cf"; -} -.social_skype_square:before { - content: "\e0d0"; -} -.social_youtube_square:before { - content: "\e0d1"; -} -.social_picassa_square:before { - content: "\e0d2"; -} -.social_googledrive_square:before { - content: "\e0d3"; -} -.social_flickr_square:before { - content: "\e0d4"; -} -.social_blogger_square:before { - content: "\e0d5"; -} -.social_spotify_square:before { - content: "\e0d6"; -} -.social_delicious_square:before { - content: "\e0d7"; -} -.icon_printer:before { - content: "\e103"; -} -.icon_calulator:before { - content: "\e0ee"; -} -.icon_building:before { - content: "\e0ef"; -} -.icon_floppy:before { - content: "\e0e8"; -} -.icon_drive:before { - content: "\e0ea"; -} -.icon_search-2:before { - content: "\e101"; -} -.icon_id:before { - content: "\e107"; -} -.icon_id-2:before { - content: "\e108"; -} -.icon_puzzle:before { - content: "\e102"; -} -.icon_like:before { - content: "\e106"; -} -.icon_dislike:before { - content: "\e0eb"; -} -.icon_mug:before { - content: "\e105"; -} -.icon_currency:before { - content: "\e0ed"; -} -.icon_wallet:before { - content: "\e100"; -} -.icon_pens:before { - content: "\e104"; -} -.icon_easel:before { - content: "\e0e9"; -} -.icon_flowchart:before { - content: "\e109"; -} -.icon_datareport:before { - content: "\e0ec"; -} -.icon_briefcase:before { - content: "\e0fe"; -} -.icon_shield:before { - content: "\e0f6"; -} -.icon_percent:before { - content: "\e0fb"; -} -.icon_globe:before { - content: "\e0e2"; -} -.icon_globe-2:before { - content: "\e0e3"; -} -.icon_target:before { - content: "\e0f5"; -} -.icon_hourglass:before { - content: "\e0e1"; -} -.icon_balance:before { - content: "\e0ff"; -} -.icon_rook:before { - content: "\e0f8"; -} -.icon_printer-alt:before { - content: "\e0fa"; -} -.icon_calculator_alt:before { - content: "\e0e7"; -} -.icon_building_alt:before { - content: "\e0fd"; -} -.icon_floppy_alt:before { - content: "\e0e4"; -} -.icon_drive_alt:before { - content: "\e0e5"; -} -.icon_search_alt:before { - content: "\e0f7"; -} -.icon_id_alt:before { - content: "\e0e0"; -} -.icon_id-2_alt:before { - content: "\e0fc"; -} -.icon_puzzle_alt:before { - content: "\e0f9"; -} -.icon_like_alt:before { - content: "\e0dd"; -} -.icon_dislike_alt:before { - content: "\e0f1"; -} -.icon_mug_alt:before { - content: "\e0dc"; -} -.icon_currency_alt:before { - content: "\e0f3"; -} -.icon_wallet_alt:before { - content: "\e0d8"; -} -.icon_pens_alt:before { - content: "\e0db"; -} -.icon_easel_alt:before { - content: "\e0f0"; -} -.icon_flowchart_alt:before { - content: "\e0df"; -} -.icon_datareport_alt:before { - content: "\e0f2"; -} -.icon_briefcase_alt:before { - content: "\e0f4"; -} -.icon_shield_alt:before { - content: "\e0d9"; -} -.icon_percent_alt:before { - content: "\e0da"; -} -.icon_globe_alt:before { - content: "\e0de"; -} -.icon_clipboard:before { - content: "\e0e6"; -} - - - .glyph { - float: left; - text-align: center; - padding: .75em; - margin: .4em 1.5em .75em 0; - width: 6em; -text-shadow: none; - } - .glyph_big { - font-size: 128px; - color: #59c5dc; - float: left; - margin-right: 20px; - } - - .glyph div { padding-bottom: 10px;} - - .glyph input { - font-family: consolas, monospace; - font-size: 12px; - width: 100%; - text-align: center; - border: 0; - box-shadow: 0 0 0 1px #ccc; - padding: .2em; - -moz-border-radius: 5px; - -webkit-border-radius: 5px; - } - .centered { - margin-left: auto; - margin-right: auto; - } - .glyph .fs1 { - font-size: 2em; - } - - diff --git a/css/pace-theme-flash.css b/css/pace-theme-flash.css deleted file mode 100644 index 6e87943..0000000 --- a/css/pace-theme-flash.css +++ /dev/null @@ -1,81 +0,0 @@ -/* This is a compiled file, you should be editing the file in the templates directory */ -.pace { - -webkit-pointer-events: none; - pointer-events: none; - -webkit-user-select: none; - -moz-user-select: none; - user-select: none; -} - -.pace-inactive { - display: none; -} - -.pace .pace-progress { - background: #109d59; - position: fixed; - z-index: 2000; - top: 0; - left: 0; - height: 2px; - - -webkit-transition: width 1s; - -moz-transition: width 1s; - -o-transition: width 1s; - transition: width 1s; -} - -.pace .pace-progress-inner { - display: block; - position: absolute; - right: 0px; - width: 100px; - height: 100%; - box-shadow: 0 0 10px #29d, 0 0 5px #109d59; - opacity: 1.0; - -webkit-transform: rotate(3deg) translate(0px, -4px); - -moz-transform: rotate(3deg) translate(0px, -4px); - -ms-transform: rotate(3deg) translate(0px, -4px); - -o-transform: rotate(3deg) translate(0px, -4px); - transform: rotate(3deg) translate(0px, -4px); -} - -.pace .pace-activity { - display: none; - position: fixed; - z-index: 2000; - top: 15px; - right: 15px; - width: 14px; - height: 14px; - border: solid 2px transparent; - border-top-color: #109d59; - border-left-color: #109d59; - border-radius: 10px; - -webkit-animation: pace-spinner 400ms linear infinite; - -moz-animation: pace-spinner 400ms linear infinite; - -ms-animation: pace-spinner 400ms linear infinite; - -o-animation: pace-spinner 400ms linear infinite; - animation: pace-spinner 400ms linear infinite; -} - -@-webkit-keyframes pace-spinner { - 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } - 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } -} -@-moz-keyframes pace-spinner { - 0% { -moz-transform: rotate(0deg); transform: rotate(0deg); } - 100% { -moz-transform: rotate(360deg); transform: rotate(360deg); } -} -@-o-keyframes pace-spinner { - 0% { -o-transform: rotate(0deg); transform: rotate(0deg); } - 100% { -o-transform: rotate(360deg); transform: rotate(360deg); } -} -@-ms-keyframes pace-spinner { - 0% { -ms-transform: rotate(0deg); transform: rotate(0deg); } - 100% { -ms-transform: rotate(360deg); transform: rotate(360deg); } -} -@keyframes pace-spinner { - 0% { transform: rotate(0deg); transform: rotate(0deg); } - 100% { transform: rotate(360deg); transform: rotate(360deg); } -} diff --git a/css/responsive.css b/css/responsive.css deleted file mode 100644 index 58264c1..0000000 --- a/css/responsive.css +++ /dev/null @@ -1,75 +0,0 @@ -@charset "utf-8"; - -/* commmon */ - .main { width: 1200px; } - .avatar,.info_left { float: left; margin: 0; } - .base,.info_right { float: right; } - .info_left,.info_right { width: 47%; } - .base { width: calc(100% - 190px); width: -moz-calc(100% - 190px); width: -webkit-calc(100% - 190px); } - .base span { position: absolute; right: 100px; top: 27px; } - .info_timeline dl dt { width: 200px; } - .info_timeline dl dd { width: calc(100% - 200px); width: -moz-calc(100% - 200px); width: -webkit-calc(100% - 200px); } - .footer a { float: right; } - /*iamgem fundo*/ - .tip_avatar_con { background: url('../images/iago.jpg') no-repeat 20% center; } - .tip_right { width: 45%; height: 460px; position: absolute; right: 0; top: 50%; margin: -230px 0 0; } - .info_content.over .desc { height: 0; margin: 0; } - .info_content.over .s5.curr { height: 474px } - .info_content.over .s4.curr { padding-top: 100px; height: 374px } - .info_content.over .s3.curr { padding-top: 200px; height: 274px } - .info_content.over .s2.curr { padding-top: 300px; height: 174px } - .info_content.over .s1.curr { padding-top: 400px; height: 74px } - .info_content ul li .btn_go { height: 30px; line-height: 30px; padding: 0 5px 0 10px; position: absolute; right: 10px; top: 5px; font-weight: normal; display: none; } - .info_content ul li:hover .btn_go { display: block; } - - .descprition { width: 800px; margin: 0 auto; padding: 3% 0; } - .descprition p img { max-width: 800px; } - .carousel-control { width: 40px; height: 40px; bottom: 10px; color: #fff; line-height: 40px; text-align: center; } - .carousel-control.left { left: 10px; border-radius: 5px 0 0 5px; -webkit-border-radius: 5px 0 0 5px; -moz-border-radius: 5px 0 0 5px; } - .carousel-control.right { left: 50px; border-radius: 0 5px 5px 0; -webkit-border-radius: 0 5px 5px 0; -moz-border-radius: 0 5px 5px 0; } - .sound_help { width: 56%; padding: 2%; margin-left: -30%; height: 300px; } - - - - -/* 799 */ -@media only screen and (max-width: 799px){ - - .main { width: 100%; } - .avatar { float: none; margin: 0 auto; } - .base,.info_left,.info_right { float: none; } - .info_left,.info_right { width: 100%; } - .base { width: 100%; } - .base p,.base h2 { text-align: center; } - .base span { position: relative; width: 110px; margin: 0 auto; display: block; right: inherit; } - .base span p { text-align: left; } - .info_timeline dl { margin-bottom: 10px; } - .info_timeline dl dt { width: 170px; } - .info_timeline dl dd { width: calc(100% - 170px); width: -moz-calc(100% - 170px); width: -webkit-calc(100% - 170px); } - .footer a { float: none; } - .tip_avatar_con { background-position: center center; } - .tip_right { width: 80%; padding: 10% 10% 30%; height: auto; position: relative; top: 0; margin: 0; background-color: rgba(215,62,42,0.95); } - .info_content.over .desc { height: auto; margin-bottom: 20px; } - .info_content.over .s5.curr, .info_content.over .s4.curr, .info_content.over .s3.curr, .info_content.over .s2.curr, .info_content.over .s1.curr { padding-top: 0; height: auto; } - .info_content ul li .btn_go { display: block; position: relative; right: 0; top: 0; width: 80%; margin: -12px 0 30px 26px; } - .descprition { width: 94%; } - .descprition p img { max-width: 100%; } - .sound_help { width: 96%; padding: 2%; margin-left: -50%; height: 350px; } - - - /* display none */ - .button_print { display: none; } - -} - - -/* 800-1023 nav */ -@media only screen and (min-width: 800px) and (max-width: 1199px){ - - .main { width: 100%; } - .info_timeline dl { margin-bottom: 10px; } - .descprition { width: 740px; } - .descprition p img { max-width: 740px; } - -} - diff --git a/css/style.css b/css/style.css deleted file mode 100644 index 00839f5..0000000 --- a/css/style.css +++ /dev/null @@ -1,228 +0,0 @@ -/* reset css */ -body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{padding:0;margin:0;} -fieldset, img{border:0;} -table{border-collapse: collapse;border-spacing:0;} -ol,ul{list-style: none;} -address,caption,cite,code,dfn,em,strong,th,var{font-weight:normal;font-style:normal;} -caption,th{text-align:left;} -h1,h2,h3,h4,h5,h6{font-weight: normal;font-size: 100%;} -q:before,q:after{content:'';} -abbr,acronym{border:0;} -i {font-style: normal;} - - -/* begin */ -body { font-family:'微软雅黑','Microsoft Yahei','Arail'; font-size: 12px; color: #666; background-color: #f3f3f3; } -a,a:hover,a:active { -webkit-tap-highlight-color:rgba(0,0,0,0); text-decoration: none; } -html, body { *overflow-x:hidden; -webkit-overflow-scrolling:touch; } -body.of { overflow: hidden; } -input,button,textarea,select { font-family:'微软雅黑','Microsoft Yahei','Arail'; outline: none; } -input,button { -webkit-appearance:none; } - -input:-moz-placeholder { color: rgba(255,255,255,0.5); } -::-webkit-input-placeholder { color:rgba(255,255,255,0.5); } -::-moz-selection { color: #fff; background: #109d59; } -::selection { color: #fff; background: #109d59; } - -.clearfix:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; } -.clearfix { *zoom:1; } -.hide { display: none; } -.show { display: block; } -.fl {float: left; } -.fr {float: right; } -.inlineblock { display:inline-block;zoom:1;*display:inline;overflow:hidden;vertical-align:middle; } -.ofh { word-wrap:break-word;word-break:break-all;display:block; } -.doing { -o-transition:all 0.2s ease-in-out; -webkit-transition:all 0.2s ease-in-out; -moz-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out; } - -.sd { box-shadow: 0 -1px 10px rgba(0,0,0,0.2); -moz-box-shadow: 0 -1px 10px rgba(0,0,0,0.2); -webkit-box-shadow: 0 -1px 10px rgba(0,0,0,0.2); } - -@keyframes myloading { - 0% { border: 1px #eee solid; } - 50% { border: 1px #109d59 solid; } - 100% { border: 1px #eee solid; } -} -@-moz-keyframes myloading { - 0% { border: 1px #eee solid; } - 50% { border: 1px #109d59 solid; } - 100% { border: 1px #eee solid; } -} -@-webkit-keyframes myloading { - 0% { border: 1px #eee solid; } - 50% { border: 1px #109d59 solid; } - 100% { border: 1px #eee solid; } -} -@-o-keyframes myloading { - 0% { border: 1px #eee solid; } - 50% { border: 1px #109d59 solid; } - 100% { border: 1px #eee solid; } -} - -/* public */ -.r5 { border-radius: 5px; -webkit-border-radius: 5px; -moz-border-radius: 5px; } -.circle { border-radius: 100%; -webkit-border-radius: 100%; -moz-border-radius: 100%; } -.count { font-style: italic; } -.desc { color: #999; } -i { font-size: 16px; } -.info_area h5 { font-size: 12px; line-height: 25px; font-weight: normal; border-bottom: 1px #ddd solid; padding: 50px 0 10px; margin-bottom: 15px; } -.info_area h5 i { float: left; margin-right: 5px; } -.mt20 { margin-top: 20px; } - -/* button */ -.btn_green { background-color: #109d59; color: #fff; } -.btn_green:active { background-color: #0d8049; color: #fff; } -.btn_more { background-color: #fff; color: #999; } -.btn_more:hover { background-color: #f3f3f3; } -.btn_more:active { background-color: #ddd; color: #666; } - -.button_print { padding: 5px 7px; font-size: 12px; display: block; position: fixed; top: 10px; right: 6px; z-index: 99; } - -/* sound */ -.sound_area { width: 38px; height: 38px; position: fixed; top: 55px; right: 10px; z-index: 99; } -.sound_area .sa_start { width: 36px; height: 36px; line-height: 36px; text-align: center; background-color: #fff; border: 1px #ccc solid; overflow: hidden; font-size: 16px; color: #109d59; animation:myloading 1s linear infinite; -moz-animation:myloading 1s linear infinite; -webkit-animation:myloading 1s linear infinite; -o-animation:myloading 1s linear infinite; cursor: pointer; } -.sound_area .sa_start:hover { background-color: #f3f3f3; } -.sound_area .sa_info { position: absolute; right: 30px; top: 0; background-color: #fff; border: 1px #ccc solid; box-shadow: 0 1px 3px rgba(0,0,0,0.2); -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.2); -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.2); padding: 5px; width: 190px; display: none; } -.sound_area:hover .sa_info { display: block; } -.sound_area .sa_info ul li,.sound_help ul li { list-style: none; line-height: 25px; } -.sound_area .sa_info ul li i,.sound_help ul li i { float: left; margin-right: 5px; font-size: 16px; color: #aaa; } - -.sound_help { background-color: #fff; bottom: -360px; left: 50%; z-index: 9990; position: fixed; filter:alpha(opacity=0); -moz-opacity:0; opacity:0; display: none; } -.sound_help h3 { font-size: 18px; color: #bbb; line-height: 25px; margin-bottom: 2%; } -.sound_help h3 i { font-size: 20px; margin-right: 10px; float: left; } -.close_help { width: 40px; height: 40px; line-height: 40px; text-align: center; position: absolute; right: 2%; top: 2%; font-size: 32px; color: #aaa; } - -.bye { width: 100%; height: 100%; position: fixed; background-color: #333; z-index: 9999; left: 0; top: 0; display: none; filter:alpha(opacity=0); -moz-opacity:0; opacity:0; } -.bye span { width: 100%; text-align: center; height: 50px; line-height: 50px; margin-top: -25px; top: 50%; left: 0; position: absolute; font-size: 32px; color: #999; } - - -/* layout */ -.main { margin: 0 auto; background-color: #fff; } -.content { width: 88%; padding: 6%; margin: 0; } -.header { padding: 0 0 3%; } -.avatar { width: 152px; height: 152px; position: relative; } -.avatar .avatar_pic { width: 150px; height: 150px; display: block; background: url(../images/iago2.png) no-repeat center center; border: 1px #ccc solid; overflow: hidden; } -.avatar:hover .avatar_pic { animation:myloading 1s linear infinite; -moz-animation:myloading 1s linear infinite; -webkit-animation:myloading 1s linear infinite; -o-animation:myloading 1s linear infinite; } -.avatar .avatar_pic em { width: 130px; height: 130px; line-height: 130px; text-align: center; position: absolute; left: 1px; top: 1px; background-color: rgba(255,255,255,0.95); color: #999; font-size: 22px; filter:alpha(opacity=0); -moz-opacity:0; opacity:0; border: 10px #fff solid; } -.avatar:hover .avatar_pic em { filter:alpha(opacity=100); -moz-opacity:1; opacity:1; } -.avatar:active .avatar_pic em { filter:alpha(opacity=70); -moz-opacity:0.7; opacity:0.7; } - -.avatar b { width: 36px; height: 20px; line-height: 20px; background-color: #ccc; color: #fff; position: absolute; top: 50%; right: -18px; margin-top: -10px; text-align: center; font-weight: normal; } -.base { padding: 27px 0 0; position: relative; } -.base p { color: #aaa; line-height: 20px; } -.base p.desc { color: #ccc; } -.base h2 { font-size: 32px; color: #999; font-weight: normal; padding: 5px 0; } -.base span p { padding: 0 0 10px; } -.base span i { font-size: 16px; color: #999; margin-right: 5px; float: left; } -.tel_me { color: #aaa; } -.tel_me:hover { color: #999; border-bottom: 2px #999 solid; } -.information { width: 100%; } -.info_content p { line-height: 22px; margin-bottom: 20px; overflow: hidden; } -.info_content p em { margin: 0 5px; } -.info_content ul li { list-style: none; overflow: hidden; position: relative; } -.info_content ul li h3 { font-size: 12px; color: #333; line-height: 25px; } -.info_content ul li:hover h3 { color: #109d59; } -.info_content ul li h3 i { float: left; margin-right: 10px; } -.info_content ul li:hover h3 i { color: #109d59; } -.info_content ul li h3 em { color: #999; padding-left: 10px; } -.info_content ul li p { padding-left: 26px; color: #999; } -.info_content ul li p i { margin-left: 5px; } -.info_content ul li .btn_go i { float: right; font-size: 20px; } -.info_content ul li .btn_more { width: 80px; height: 30px; line-height: 30px; border: 1px #ccc solid; display: block; margin-left: 26px; text-align: center; display: none; } -.info_content ul:hover li .btn_more { display: block; } - -.info_timeline ul li { list-style: none; position: relative; overflow: hidden; padding-bottom: 20px; } -.info_timeline ul li .dot { width: 2px; height: 100%; position: absolute; left: 4px; top: 0; background-color: #666; } -.info_timeline ul li .dot b { border-radius: 100%; -webkit-border-radius: 100%; -moz-border-radius: 100%; width: 10px; height: 10px; position: absolute; left: -6px; top: 4px; background-color: #333; border: 2px #fff solid; } -.info_timeline ul li.top .dot { top: 10px; } -.info_timeline ul li.top .dot b { top: -6px; } -.info_timeline ul li.bottom .dot { height: 10px; } -.info_timeline ul li.top .dot b { top: -6px; } -.info_timeline ul li .con { padding-left: 30px; } -.info_timeline ul li .con h3,.info_timeline ul.focus li.curr .con h3 { font-size: 14px; color: #333; line-height: 22px; padding-bottom: 3px; } -.info_timeline ul li .con p { line-height: 25px; } -.info_timeline ul.focus li.curr .con p { color: #666; } -.info_timeline ul li .con p.desc,.info_timeline ul.focus li.curr .con p.desc { color: #999; } -.info_timeline ul.focus li.curr .dot,.info_timeline ul.focus li.curr .dot b { background-color: #109d59; } -.info_timeline ul.focus li .dot,.info_timeline ul.focus li .dot b { background-color: #bbb; } -.info_timeline ul.focus li .con h3,.info_timeline ul.focus li .con p,.info_timeline ul.focus li .con p.desc { color: #bbb; } - -.info_timeline dl dt { float: left; line-height: 25px; color: #999; } -.info_timeline dl dt h6 { color: #333; } -.info_timeline dl dt i { float: left; margin-right: 5px; } -.info_timeline dl dt em { color: #ccc; margin-left: 3px; } -.info_timeline dl dd { float: right; line-height: 25px; } -.info_timeline dl dd b,.info_timeline dl dd em { border-radius: 100%; -webkit-border-radius: 100%; -moz-border-radius: 100%; float: left; width: 10px; height: 10px; margin: 7px 5px 0 0; } -.info_timeline dl dd b { background-color: #666; } -.info_timeline dl dd em { background-color: #ddd; } -.footer { width: 94%; background-color: #666; color: #fff; padding: 15px 3%; } -.footer a { color: #fff; } - -/* tip */ -.tip_avatar_bg { width: 40px; height: 40px; background-color: #d73e2a; position: fixed; top: 50%; left: 50%; z-index: 99; filter:alpha(opacity=0); -moz-opacity:0; opacity:0; display: none; } -.tip_avatar { width: 100%; height: 100%; position: fixed; left: 0; top: 0; z-index: 100; display: none; filter:alpha(opacity=0); -moz-opacity:0; opacity:0; overflow-x: hidden; background-color: #d73e2a; } -.tip_close { position: absolute; right: 20px; top: 20px; font-size: 48px; color: #fff; z-index: 101; } -.tip_avatar_con { width: 100%; height: 100%; } -.tip_avatar_con .desc { width: 100%; position: absolute; bottom: 0; height: 30px; line-height: 30px; text-align: center; color: #a22f1e; } -.tip_right p { color: #fff; line-height: 22px; padding-top: 10px; } -.tip_right p.en { color: #e6897b; } -.tip_right p i { float: left; margin-right: 10px; } -.tip_right h2 { font-size: 36px; color: #fff; } -.tip_right p .wechat { width: 150px; height: 150px; display: block; background: url(../images/wechat.png) no-repeat 0 0; } - -.tip_product { width: 100%; height: 100%; position: fixed; left: 0; top: 100%; z-index: 99; background-color: rgba(255,255,255,0.2); } - -/* content */ -.tip_content { width: 100%; height: 100%; position: relative; overflow: hidden; } - -.item { width: 100%; position: relative; display: none; } -.item.active { left: 0; display: block; } - -.banner { width: 100%; height: 400px; overflow: hidden; position: relative; } -.banner .logo { width: 200px; height: 200px; position: absolute; top: 50%; left: 50%; margin-left: -100px; margin-top: -100px; z-index: 110;} -.banner .banner_bg { width: 100%; height: 100%; position: absolute; left: 0; top: 0; z-index: 100; background-color: rgba(0,0,0,0.5); } - -/* product logo */ -.banner.product_h1 { background: url(../images/marketing.jpg) no-repeat fixed 50% 0; background-size: cover; } -.banner.product_h1 .logo { background: url(../images/[product_1_logo.png]) no-repeat center center rgba(0,0,0,0); height: 80px; margin-top: -40px; } -.banner.product_h2 { background: url(../images/redesociais.jpg) no-repeat fixed 50% 0; background-size: cover; } -.banner.product_h2 .logo { background: url(../images/[product_2_logo.png]) no-repeat center center; } -.banner.product_h3 { background: url(../images/marketing.jpg) no-repeat fixed 50% 0; background-size: cover; } -.banner.product_h3 .logo { background: url(../images/[marketing.jpg]) no-repeat center center; } -.banner.product_h4 { background: url(../images/[product_4_bg.jpg]) no-repeat fixed 50% 0; background-size: cover; } -.banner.product_h4 .logo { background: url(../images/product_4_logo.png) no-repeat center center; width: 270px; height: 80px; margin-top: -40px; margin-left: -135px; } -.banner.product_h5 { background: url(../images/product_5_bg.jpg) no-repeat fixed 50% 0; background-size: cover; } -.banner.product_h5 .logo { background: url(../images/product_5_logo.png) no-repeat center center; width: 220px; margin-left: -110px; } -.banner.product_h6 { background: url(../images/product_6_bg.jpg) no-repeat fixed 50% 0; background-size: cover; } -.banner.product_h6 .logo { color: #fff; text-align: center; line-height: 200px; font-size: 22px; } - -.tip_area_close { width: 40px; height: 40px; line-height: 40px; text-align: center; position: fixed; left: 10px; top: 10px; z-index: 120; display: block; overflow: hidden; font-size: 32px; color: #fff; display: none; filter:alpha(opacity=0); -moz-opacity:0; opacity:0; } - -.descprition h3 { font-size: 14px; color: #aaa; border-top: 1px #eee solid; border-bottom: 1px #eee solid; padding: 15px 0; margin-bottom: 20px; } -.descprition h3 i { font-size: 16px; float: left; margin-right: 10px; } -.descprition h3 a { float: right; padding: 2px 5px; font-size: 12px; } -.descprition p {font-size: 16px; color: #666; padding: 15px 0; line-height: 2; } -.descprition p.quote { padding: 0 0 0 20px; margin: 15px 0; border-left: 5px #ddd solid; font-style: italic; color: #999; } -.descprition p.pic { width: 100%; text-align: center; padding: 30px 0; } -.descprition p img { margin: 0 auto; } -.descprition p img:hover { -moz-box-shadow: 0 2px 5px rgba(0,0,0,0.2); -webkit-box-shadow: 0 2px 5px rgba(0,0,0,0.2); box-shadow: 0 2px 5px rgba(0,0,0,0.2); } -.descprition p span { width: 100%; display: block; line-height: 25px; color: #999; font-size: 12px; text-align: center; } -.descprition .time { width: 100%; border-top: 1px #eee solid; margin: 50px 0 0; padding: 50px 0; text-align: center; font-size: 22px; color: #bbb; } -.descprition .time em { margin: 0 5px; color: #999; font-style: italic; } -.descprition .time b { margin: 0 10px; color: #ddd; } - - -/* carousel */ -.carousel { width: 100%; height: 100%; position: relative; } -.carousel-inner { position: relative; width: 100%; height: 100%; overflow-x: hidden; } -.carousel-inner > .item { display: none; height: 100%; position: relative; -webkit-transition: 0.6s ease-in-out left; transition: 0.6s ease-in-out left; } -.carousel-inner > .active,.carousel-inner > .next,.carousel-inner > .prev { display: block; } -.carousel-inner > .active { left: 0; } -.carousel-inner > .next,.carousel-inner > .prev { position: absolute; top: 0; width: 100%; } -.carousel-inner > .next { left: 100%; } -.carousel-inner > .prev { left: -100%; } -.carousel-inner > .next.left,.carousel-inner > .prev.right { left: 0; } -.carousel-inner > .active.left { left: -100%; } -.carousel-inner > .active.right { left: 100%; } -.carousel-control { position: absolute; background-color: rgba(0,0,0,0.5); } -.carousel-control i { font-size: 16px; } -.carousel-control:hover,.tip_area_close:hover { background-color: rgba(0,0,0,0.6); } -.carousel-control:active,.tip_area_close:active { background-color: rgba(0,0,0,0.7); } \ No newline at end of file diff --git a/fonts/ElegantIcons.eot b/fonts/ElegantIcons.eot deleted file mode 100644 index 2fe8892..0000000 Binary files a/fonts/ElegantIcons.eot and /dev/null differ diff --git a/fonts/ElegantIcons.svg b/fonts/ElegantIcons.svg deleted file mode 100644 index 93538d7..0000000 --- a/fonts/ElegantIcons.svg +++ /dev/null @@ -1,1832 +0,0 @@ - - - - -This is a custom SVG font generated by IcoMoon. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/fonts/ElegantIcons.ttf b/fonts/ElegantIcons.ttf deleted file mode 100644 index 12ff680..0000000 Binary files a/fonts/ElegantIcons.ttf and /dev/null differ diff --git a/fonts/ElegantIcons.woff b/fonts/ElegantIcons.woff deleted file mode 100644 index 3933052..0000000 Binary files a/fonts/ElegantIcons.woff and /dev/null differ diff --git a/images/iago.JPG b/images/iago.JPG deleted file mode 100644 index 2846a03..0000000 Binary files a/images/iago.JPG and /dev/null differ diff --git a/images/iago2.png b/images/iago2.png deleted file mode 100644 index f5bd3af..0000000 Binary files a/images/iago2.png and /dev/null differ diff --git a/index.html b/index.html deleted file mode 100644 index cb6928a..0000000 --- a/index.html +++ /dev/null @@ -1,553 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - Curriculo - - - - Imprimir - -
-
- - -
-
- Iago - Sobre -
-
-

Olá, meu nome é:

-

Iago Velasco

- -

São Paulo

-

Contato

-
-
-
- - -
- - -
- -
Minha história
-

1993 Nasci no dia 27 de Janeiro.

- -

2010 Ensino Médio - Instituição Colégio Anhembi.

- -

2010 Meu primeiro emprego foi na empresa Rolmer Comércio de Peças LTDA, exercendo a função de representante comercial, sendo as principais atividades: atendimento ao cliente, vendas, controle de estoque.

- -

2012 Escolhi cursar Ciência da Computção na Instituição Unicsul - Universidade Cruzeiro do Sul.

- -

2013 Querendo atuar na minha área, consegui um estágio na Prefeitura de São Paulo - Secretária das Finanças sendo as principais atividades: Help Desk, Service Desk, Manutenção de computadores. Aproximadamente 1500 máquinas.

- -

2013Ingressei na empresa Beltis, exercendo a função de Analista de Suporte Júnior, adquiri muita experiência, sendo as principais atividades: Help Desk, Service Desk, Infraestrutura, atendimento ao cliente. Participei de alguns projetos, destacando a Prodam.

- -

2014Ingressei na empresa Prodam como estagiário, onde me deram a oportunidade de trabalhar com o que eu almejava à um tempo, como desenvolvedor de sistemas, minhas principais atividades eram: implementação de novas funcionalidades nos projetos existentes, novos projetos e manutenção nos sistemas. Linguagens: Java e .Net. aplicando conhecimentos de HTML, CSS, Javascript, jQuery e ajax.

- -

2015Sigo nos dias hoje na mesma empresa (Prodam), mas sem chances de efetivação pois tem que prestar concurso. Estou em busca de novas oportunidades.

- -
Cursos
-
    -
  • -
    -

    SOFTBLUE(2014)

    -

    Sql Completo

    -
    - -
  • -
  • -
    -

    RlSystem(2014)

    -

    Java Básico Online

    -
    - -
  • -
  • -
    -

    Rlsystem(2014)

    -

    Android Básico Grátis

    -
    - -
  • -
  • -
    -

    Rlsystem(2014)

    -

    HTML5 - Online

    -
    - -
  • -
  • -
    -

    Rlsystem(2014)

    -

    JQuery - Online

    -
    - -
  • -
  • -
  • -
  • -
    -

    Rlsystem(2014)

    -

    JSP e Servlets - Online

    -
    - -
  • -
  • -
    -

    Meetup(2015)

    -

    Meetup de Vagrant em São Paulo

    -
    - -
  • - -
- - -
- - - - -
-
Timeline
-
    -
  • -
    -
    -

    Prodam - Empresa de TIC do Município de SP

    -

    Estagiário

    -

    2014.08 - Até os dias de hoje

    - -
    -
  • - -
  • - -
    - -
    -

    Beltis

    -

    Analista de Suporte

    -

    2013.10 - 2014.08

    - -
    - -
  • -
    - -
    -

    Prefeitura - Secretaria das Finanças

    -

    Estagiário

    -

    2013.01 - 2013.10

    -
    - -
  • -
    - -
    -

    Rolmer Comércio de Pçs LTDA.

    -

    Representante de Vendas

    -

    2010.08 - 2012.01

    -
    -
  • - - -
- - - -
Habilidades
- -
-
Scripting
-
-
-
-
Html 5
-
- - - - - - - - - - - - - -
-
-
-
JavaScript
-
- - - - - - - - - - - - - -
-
-
-
Css
-
- - - - - - - - - - - - - -
-
- -
-
JQuery
-
- - - - - - - - - - - - - -
-
- -
-
WordPress
-
- - - - - - - - - - - - - -
-
-
-
Programming Language
-
-
-
-
Java
-
- - - - - - - - - - - - - -
-
-
-
C#
-
- - - - - - - - - - - - - -
-
-
Android
-
- - - - - - - - - - - - - -
-
- -
-
Python
-
- - - - - - - - - - - - - -
-
- - - - -
-
Línguas
-
-
-
-
Inglês
-
- - - - - - - - - - - - - -
-
-
-
Espanhol
-
- - - - - - - - - - - - - -
-
- -
-
-
Interesses
-
Ler
-
Teatros
-
DevOps, Docker, Vagrant, Ansible
-
Violão
-
Meetup's
- - -
- -
- - - -
- - -
- - -
- -
-
-
- -
-
- - - - - - -
- - -
- - - - -