This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>GOGOmedia - Recruitment Task</title> | |
<!-- Google Fonts --> | |
<link href="https://fonts.googleapis.com/css?family=Rubik:300,400,500,700&subset=latin-ext" rel="stylesheet"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* --- HTML --- */ | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>GOGOmedia - Recruitment Task</title> | |
<!-- Google Fonts --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.boxes { | |
display: flex; | |
flex-direction: column; | |
width: 100%; | |
padding: 10px; | |
text-align: center; | |
@include screen('tablet') { | |
padding: 2.875rem 1.75rem 0; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// VARIABLES - Media Queries | |
$mobile__420: "only screen and (max-width: 420px)"; | |
$tablet__860: "only screen and (min-width: 860px)"; | |
$desktop__1200: "only screen and (min-width: 1200px)"; | |
$high-screen__1440: "only screen and (min-width: 1440px)"; | |
// MIXIN RWD | |
@mixin for-size($size) { | |
@if $size == mobile { | |
@media #{$mobile__420} { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const gulp = require('gulp'); | |
const sass = require('gulp-sass'); | |
const gplumber = require('gulp-plumber'); | |
const sourcemaps = require('gulp-sourcemaps'); | |
var errorHandler = function() { | |
return gplumber(function(error) { | |
console.log(error.message); | |
}) | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const gulp = require('gulp'); | |
const sass = require('gulp-sass'); | |
const gplumber = require('gulp-plumber'); | |
const sourcemaps = require('gulp-sourcemaps'); | |
var errorHandler = function() { | |
return gplumber(function(error) { | |
console.log(error.message); | |
}) | |
}; |