From e590b8f489a700b4ab343799bf79821d781dff48 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sat, 13 Oct 2018 02:08:36 +0200 Subject: [PATCH] fix responsive design; add paging --- gulpfile.js | 15 +- layouts/partials/pagination.html | 20 +- package.json | 1 + src/css/_style.css | 476 ++++++++++++++----------------- src/css/chroma_github.css | 2 + src/css/nested.css | 10 + static/default.css | 177 +++++------- static/default.min.css | 2 +- 8 files changed, 321 insertions(+), 382 deletions(-) create mode 100644 src/css/nested.css diff --git a/gulpfile.js b/gulpfile.js index d4b72b3..43be1c2 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -1,8 +1,9 @@ -var gulp = require('gulp'); -var minifyCSS = require('gulp-csso'); -var concat = require('gulp-concat'); -var rename = require('gulp-rename'); -var cleanCSS = require('gulp-clean-css'); +const gulp = require('gulp'); +const minifyCSS = require('gulp-csso'); +const concat = require('gulp-concat'); +const rename = require('gulp-rename'); +const cleanCSS = require('gulp-clean-css'); +const autoprefixer = require('gulp-autoprefixer'); var CSSDEST = 'static/' @@ -12,6 +13,10 @@ function defaultTask(done) { return gulp.src('src/css/*.css') .pipe(concat('default.css')) .pipe(cleanCSS({format: 'beautify'})) + .pipe(autoprefixer({ + browsers: ['last 4 versions'], + cascade: false + })) .pipe(gulp.dest(CSSDEST)) .pipe(cleanCSS()) .pipe(rename({ extname: '.min.css' })) diff --git a/layouts/partials/pagination.html b/layouts/partials/pagination.html index ff62a01..85da08f 100644 --- a/layouts/partials/pagination.html +++ b/layouts/partials/pagination.html @@ -1,11 +1,15 @@ {{ $pag := $.Paginator }} -