fix lint errors

parent d5d248fb
#improve {
font-size: 12px;
vertical-align: middle;
.improve {
background-color: #EEEEEE;
padding: 10px;
border-radius: 2px;
font-size: 12px;
margin-top: 30px;
padding: 10px;
vertical-align: middle;
}
/* csslint ignore:start */
@font-face {
font-family: Amaranth-Regular;
src: url(../fonts/Amaranth-Regular.ttf);
src: url(../fonts/Amaranth-Regular.ttf) format('truetype');
}
@font-face {
font-family: Roboto-Thin;
src: url(../fonts/Roboto-Thin.ttf);
src: url(../fonts/Roboto-Thin.ttf) format('truetype');
}
#main {
text-align: center;
/* csslint ignore:end */
.main {
margin: 8px;
text-align: center;
}
#main h1 {
font-family: "Amaranth-Regular";
/* https://github.com/CSSLint/csslint/wiki/Disallow-qualified-headings */
h1 {
color: #949494;
font-family: "Amaranth-Regular";
}
#main h2 {
font-family: "Roboto-Thin";
color: #898989;
}
#main p {
.main > p {
text-align: justify;
}
#wrapper {
max-width: 968px;
margin: auto;
.wrapper {
color: #454545;
margin: auto;
max-width: 968px;
}
/* csslint ignore:start */
#mapid {
height: 60vh;
margin: 20px auto;
......@@ -7,3 +9,5 @@
#mapid.leaflet-container .leaflet-pane .leaflet-popup .leaflet-popup-content-wrapper .leaflet-popup-content {
margin: 5px 20px 15px;
}
/* csslint ignore:end */
#preamble-list {
text-align: left;
.preamble-list {
padding-left: 15px;
text-align: left;
}
#preamble-list li {
.preamble-list li {
padding: 10px;
}
......@@ -62,7 +62,7 @@ gulp.task('GenerateEventsYAML', function(){
return gulp.src("events/index.yaml")
.pipe(yamlinc())
.pipe(gulp.dest('public/events'));
})
});
gulp.task('GenerateEventsPage', function(){
readYaml('public/events/index.yaml', function(err, ydata) {
......@@ -97,13 +97,13 @@ gulp.task('GenerateEventsPage', function(){
});
}
});
})
});
gulp.task('pughtml', function(){
runSequence('GenerateEventsYAML',[
'GenerateIndexPage',
'GenerateEventsPage'
])
]);
});
gulp.task('cssmin', function() {
......@@ -141,14 +141,18 @@ gulp.task('jsuglify', function() {
.pipe(gulp.dest('public/js'));
});
gulp.task('verify', [
'public',
'htmllint',
'csslint',
'jslint'
]);
gulp.task('public', [
'assetscopy',
'pughtml',
'htmllint',
// 'jslint',
'jsuglify',
// 'csslint',
'cssmin'
'cssmin',
'jsuglify'
]);
gulp.task('connect', function() {
......@@ -168,14 +172,14 @@ gulp.task('watch', function() {
]);
gulp.watch([
'css/*.css',
'bower.json'
'package.json'
], [
// 'csslint',
'csslint',
'cssmin'
]);
gulp.watch([
'js/*.js',
'bower.json'
'package.json'
], [
'jslint',
'jsuglify',
......
......@@ -4,11 +4,11 @@ block head
title= "FSCI (Free Software Community of India)"
block content
#wrapper.container
#main.row
.wrapper.container
.main.row
h1 Free Software User Groups in India
#mapid
ol#preamble-list
ol.preamble-list
li Free Software Community of India is a collective of Free Software (sometimes also called as Open Source Software) users, advocates and developers.
li We maintain communication and collaboration infrastructure for everyone that respects their freedom and privacy. We maintain a list of Free Software communities and offer sub domains of fsug.in or fosscommunity.in. We depend on donations and community manpower to run the infrastructure.
li We mentor Free Software enthusiasts to become Free Software contributors.
......@@ -27,7 +27,7 @@ block content
| with sufficient details of your community or
a(href='https://gitlab.com/fsci/fsci.org.in/blob/master/js/locations.js', target='__blank') edit this list
|.
#improve
.improve
a(href='https://gitlab.com/fsci/fsci.org.in', target='_blank')
img(src='img/code.png')
span Improve this page
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment