Skip to content

Commit 5b4f946

Browse files
author
Gianluca Arbezzano
committed
Bootstrap
0 parents  commit 5b4f946

File tree

18 files changed

+9647
-0
lines changed

18 files changed

+9647
-0
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
_site
2+
.sass-cache
3+
node_modules
4+
bower_components

CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
vim-php.com

Gruntfile.js

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
module.exports = function(grunt) {
2+
'use strict';
3+
4+
grunt.file.mkdir('vendor/js');
5+
grunt.file.mkdir('vendor/css');
6+
7+
grunt.initConfig({
8+
clean: {
9+
test: ['vendor']
10+
},
11+
copy: {
12+
bootstraJs: {
13+
src: 'bower_components/bootstrap/dist/js/bootstrap.js',
14+
dest: "vendor/js/bootstrap.js"
15+
},
16+
jquery: {
17+
src: 'bower_components/jquery/dist/js/jquery.js',
18+
dest: "vendor/js/jquery.js"
19+
},
20+
bootstrapCss: {
21+
src: 'bower_components/bootstrap/dist/css/bootstrap.css',
22+
dest: "vendor/css/bootstrap.css"
23+
},
24+
bootstrapThemeCss: {
25+
src: 'bower_components/bootstrap/dist/css/bootstrap-theme.css',
26+
dest: "vendor/css/bootstrap-theme.css"
27+
}
28+
}
29+
});
30+
31+
grunt.loadTasks('tasks');
32+
grunt.loadNpmTasks('grunt-contrib-clean');
33+
grunt.loadNpmTasks('grunt-contrib-copy');
34+
35+
grunt.registerTask('build', ['clean', 'copy']);
36+
};

_config.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
title: Vim for PHP developers
2+
email: gianarb92@gmail.com
3+
description: >
4+
Vim-Php is a community of PHP developer that use VIM every day
5+
or occasionally to build your PHP projects.
6+
This group leave to share experiences, trips and plugins
7+
baseurl: ""
8+
url: "http://vim-php.com"
9+
github_username: vim-php
10+
exclude:
11+
- "bower_components"
12+
- "bower.json"
13+
- "node_modules"
14+
- "package.json"
15+
- "Gruntfile.js"
16+
- "bower.json"

_includes/footer.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<footer class="site-footer">
2+
3+
</footer>
4+
<script src="{{ "/vendor/js/jquery.js" | prepend: site.baseurl }}"></script>
5+
<script src="{{ "/vendor/js/bootstrap.js" | prepend: site.baseurl }}"></script>

_includes/head.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<head>
2+
<meta charset="utf-8">
3+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
4+
<meta name="viewport" content="width=device-width initial-scale=1">
5+
6+
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
7+
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
8+
9+
<link rel="icon" type="image/png" sizes="16x16" href="/favicon.png">
10+
11+
<link rel="stylesheet" href="{{ "/vendor/css/bootstrap.css" | prepend: site.baseurl }}">
12+
<link rel="stylesheet" href="{{ "/vendor/css/bootstrap-theme.css" | prepend: site.baseurl }}">
13+
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}">
14+
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
15+
<link rel="alternate" type="application/atom+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" />
16+
</head>

_includes/header.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<header class="site-header">
2+
3+
</header>

_layouts/default.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<!DOCTYPE html>
2+
<html>
3+
{% include head.html %}
4+
<body>
5+
<div class="container fill">
6+
<div class="starter-template">
7+
{{ content }}
8+
</div>
9+
</div>
10+
{% include footer.html %}
11+
</body>
12+
</html>

bower.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"name": "vim-php",
3+
"dependencies": {
4+
"bootstrap": "3.3.2"
5+
},
6+
"ignore": [
7+
"**/.*",
8+
"bower_components"
9+
]
10+
}

css/main.css

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
html, body {
2+
height: 100%;
3+
}
4+
5+
body {
6+
background-image: url(https://avatars3.githubusercontent.com/u/2125030?v=3);
7+
background-position: right bottom;
8+
background-repeat: no-repeat;
9+
background-size:30%;
10+
}
11+
12+
h1,h2,h3,h4,h5,h6 {
13+
color: #7889B7;
14+
}
15+
16+
.starter-template {
17+
width: 100%;
18+
height: 100%;
19+
min-height: 100%;
20+
display: block;
21+
}
22+
23+
/* PROJECT BOX */
24+
.box {
25+
border-radius: 3px;
26+
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
27+
padding: 10px 25px;
28+
text-align: right;
29+
display: block;
30+
margin-top: 60px;
31+
}
32+
.box-icon {
33+
background-color: #57a544;
34+
border-radius: 50%;
35+
display: table;
36+
height: 100px;
37+
margin: 0 auto;
38+
width: 100px;
39+
margin-top: -61px;
40+
}
41+
.box-icon span {
42+
color: #fff;
43+
display: table-cell;
44+
text-align: center;
45+
vertical-align: middle;
46+
}
47+
.info > p {
48+
color: #717171;
49+
font-size: 16px;
50+
padding-top: 10px;
51+
text-align: justify;
52+
}
53+
.info > a {
54+
background-color: #03a9f4;
55+
border-radius: 2px;
56+
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
57+
color: #fff;
58+
transition: all 0.5s ease 0s;
59+
}
60+
.info > a:hover {
61+
background-color: #0288d1;
62+
box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.16), 0 2px 5px 0 rgba(0, 0, 0, 0.12);
63+
color: #fff;
64+
transition: all 0.5s ease 0s;
65+
}

0 commit comments

Comments
 (0)