Skip to content
Snippets Groups Projects
Unverified Commit fe3e1999 authored by Shrimadhav U K's avatar Shrimadhav U K
Browse files

fix lint errors

parent d5d248fb
No related merge requests found
#improve { .improve {
font-size: 12px;
vertical-align: middle;
background-color: #EEEEEE; background-color: #EEEEEE;
padding: 10px;
border-radius: 2px; border-radius: 2px;
font-size: 12px;
margin-top: 30px; margin-top: 30px;
padding: 10px;
vertical-align: middle;
} }
/* csslint ignore:start */
@font-face { @font-face {
font-family: Amaranth-Regular; font-family: Amaranth-Regular;
src: url(../fonts/Amaranth-Regular.ttf); src: url(../fonts/Amaranth-Regular.ttf) format('truetype');
} }
@font-face { @font-face {
font-family: Roboto-Thin; font-family: Roboto-Thin;
src: url(../fonts/Roboto-Thin.ttf); src: url(../fonts/Roboto-Thin.ttf) format('truetype');
} }
#main { /* csslint ignore:end */
text-align: center;
.main {
margin: 8px; margin: 8px;
text-align: center;
} }
#main h1 { /* https://github.com/CSSLint/csslint/wiki/Disallow-qualified-headings */
font-family: "Amaranth-Regular"; h1 {
color: #949494; color: #949494;
font-family: "Amaranth-Regular";
} }
#main h2 { .main > p {
font-family: "Roboto-Thin";
color: #898989;
}
#main p {
text-align: justify; text-align: justify;
} }
#wrapper { .wrapper {
max-width: 968px;
margin: auto;
color: #454545; color: #454545;
margin: auto;
max-width: 968px;
} }
/* csslint ignore:start */
#mapid { #mapid {
height: 60vh; height: 60vh;
margin: 20px auto; margin: 20px auto;
...@@ -7,3 +9,5 @@ ...@@ -7,3 +9,5 @@
#mapid.leaflet-container .leaflet-pane .leaflet-popup .leaflet-popup-content-wrapper .leaflet-popup-content { #mapid.leaflet-container .leaflet-pane .leaflet-popup .leaflet-popup-content-wrapper .leaflet-popup-content {
margin: 5px 20px 15px; margin: 5px 20px 15px;
} }
/* csslint ignore:end */
#preamble-list { .preamble-list {
text-align: left;
padding-left: 15px; padding-left: 15px;
text-align: left;
} }
#preamble-list li { .preamble-list li {
padding: 10px; padding: 10px;
} }
...@@ -62,7 +62,7 @@ gulp.task('GenerateEventsYAML', function(){ ...@@ -62,7 +62,7 @@ gulp.task('GenerateEventsYAML', function(){
return gulp.src("events/index.yaml") return gulp.src("events/index.yaml")
.pipe(yamlinc()) .pipe(yamlinc())
.pipe(gulp.dest('public/events')); .pipe(gulp.dest('public/events'));
}) });
gulp.task('GenerateEventsPage', function(){ gulp.task('GenerateEventsPage', function(){
readYaml('public/events/index.yaml', function(err, ydata) { readYaml('public/events/index.yaml', function(err, ydata) {
...@@ -97,13 +97,13 @@ gulp.task('GenerateEventsPage', function(){ ...@@ -97,13 +97,13 @@ gulp.task('GenerateEventsPage', function(){
}); });
} }
}); });
}) });
gulp.task('pughtml', function(){ gulp.task('pughtml', function(){
runSequence('GenerateEventsYAML',[ runSequence('GenerateEventsYAML',[
'GenerateIndexPage', 'GenerateIndexPage',
'GenerateEventsPage' 'GenerateEventsPage'
]) ]);
}); });
gulp.task('cssmin', function() { gulp.task('cssmin', function() {
...@@ -141,14 +141,18 @@ gulp.task('jsuglify', function() { ...@@ -141,14 +141,18 @@ gulp.task('jsuglify', function() {
.pipe(gulp.dest('public/js')); .pipe(gulp.dest('public/js'));
}); });
gulp.task('verify', [
'public',
'htmllint',
'csslint',
'jslint'
]);
gulp.task('public', [ gulp.task('public', [
'assetscopy', 'assetscopy',
'pughtml', 'pughtml',
'htmllint', 'cssmin',
// 'jslint', 'jsuglify'
'jsuglify',
// 'csslint',
'cssmin'
]); ]);
gulp.task('connect', function() { gulp.task('connect', function() {
...@@ -168,14 +172,14 @@ gulp.task('watch', function() { ...@@ -168,14 +172,14 @@ gulp.task('watch', function() {
]); ]);
gulp.watch([ gulp.watch([
'css/*.css', 'css/*.css',
'bower.json' 'package.json'
], [ ], [
// 'csslint', 'csslint',
'cssmin' 'cssmin'
]); ]);
gulp.watch([ gulp.watch([
'js/*.js', 'js/*.js',
'bower.json' 'package.json'
], [ ], [
'jslint', 'jslint',
'jsuglify', 'jsuglify',
......
...@@ -4,11 +4,11 @@ block head ...@@ -4,11 +4,11 @@ block head
title= "FSCI (Free Software Community of India)" title= "FSCI (Free Software Community of India)"
block content block content
#wrapper.container .wrapper.container
#main.row .main.row
h1 Free Software User Groups in India h1 Free Software User Groups in India
#mapid #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 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 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. li We mentor Free Software enthusiasts to become Free Software contributors.
...@@ -27,7 +27,7 @@ block content ...@@ -27,7 +27,7 @@ block content
| with sufficient details of your community or | 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 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') a(href='https://gitlab.com/fsci/fsci.org.in', target='_blank')
img(src='img/code.png') img(src='img/code.png')
span Improve this page span Improve this page
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