Skip to content

Commit 77f521f

Browse files
author
Mike Wales
committed
Initial commit.
0 parents  commit 77f521f

File tree

7 files changed

+623
-0
lines changed

7 files changed

+623
-0
lines changed

.csslintrc

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"universal-selector": false,
3+
"unique-headings": false,
4+
"box-sizing": false
5+
}

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
bower_components/
2+
node_modules/

bower.json

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"name": "frontend-nanodegree-styleguide",
3+
"version": "0.1.0",
4+
"authors": [
5+
"Mike Wales <[email protected]>"
6+
],
7+
"description": "The Udacity Frontend Nanodegree Style Guide",
8+
"main": "index.html",
9+
"keywords": [
10+
"udacity",
11+
"frontend",
12+
"nanodegree",
13+
"style",
14+
"guide"
15+
],
16+
"license": "MIT",
17+
"homepage": "http://udacity.com/nanodegrees",
18+
"private": true,
19+
"ignore": [
20+
"**/.*",
21+
"node_modules",
22+
"bower_components",
23+
"test",
24+
"tests"
25+
]
26+
}

css/style.css

+61
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
* {
2+
-webkit-box-sizing: border-box;
3+
-moz-box-sizing: border-box;
4+
box-sizing: border-box;
5+
}
6+
7+
body {
8+
font: 300 .8em/1.6 roboto, sans-serif;
9+
color: #303030;
10+
text-rendering: optimizeLegibility;
11+
margin: 1.5em;
12+
-webkit-font-smoothing: antialiased;
13+
}
14+
15+
h1,
16+
h2,
17+
h3,
18+
h4 {
19+
color: #294860;
20+
font-family: "Roboto Condensed", serif;
21+
font-weight: 700;
22+
margin: 1em 0 0 0;
23+
}
24+
25+
h2 {
26+
color: #307699;
27+
}
28+
29+
h3 {
30+
color: #303030;
31+
}
32+
33+
h4 {
34+
font-weight: 400;
35+
}
36+
37+
p {
38+
margin: 0 0 1em 0;
39+
}
40+
41+
code {
42+
color: #333;
43+
background-color: #f5f5f5;
44+
border: 1px solid #dcdcdc;
45+
padding: 0 0.25em;
46+
font-family: Inconsolata, monospace;
47+
}
48+
49+
pre code {
50+
display: block;
51+
padding: 0.5em;
52+
margin: 0 0 1em;
53+
}
54+
55+
.recommended {
56+
color: #438344;
57+
}
58+
59+
.not-recommended {
60+
color: #cd0e3e;
61+
}

gulpfile.js

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
var gulp = require('gulp'),
2+
csslint = require('gulp-csslint');
3+
4+
gulp.task('css', function() {
5+
gulp.src('./css/style.css')
6+
.pipe(csslint('./.csslintrc'))
7+
.pipe(csslint.reporter());
8+
});
9+
10+
gulp.task('default', function() {
11+
gulp.run('css');
12+
});

0 commit comments

Comments
 (0)