$breakpoints: (mobile: 480px, tablet-portrait: 768px, tablet-landscape: 1024px, laptop: 1200px, desktop: 1400px, desktop_large: 1920px, );
@each $name, $size in $breakpoints { .column-#{$name} {
$breakpoints: (mobile: 480px, tablet-portrait: 768px, tablet-landscape: 1024px, laptop: 1200px, desktop: 1400px, desktop_large: 1920px, );
@each $name, $size in $breakpoints { .column-#{$name} {
$breakpoints: (mobile: 480px, tablet-portrait: 768px, tablet-landscape: 1024px, laptop: 1200px, desktop: 1400px, desktop_large: 1920px, );
body, | |
html { | |
text-rendering: optimizeLegibility; | |
-moz-osx-font-smoothing: grayscale; | |
font-smoothing: antialiased; | |
-webkit-font-smoothing: antialiased; | |
text-shadow: rgba(0, 0, 0, .01) 0 0 1px; | |
margin: 0; | |
padding: 0; | |
} |
body, | |
html { | |
text-rendering: optimizeLegibility; | |
-moz-osx-font-smoothing: grayscale; | |
font-smoothing: antialiased; | |
-webkit-font-smoothing: antialiased; | |
text-shadow: rgba(0, 0, 0, .01) 0 0 1px; | |
margin: 0; | |
padding: 0; | |
} |
<?php | |
function setWeatherCelcius() { | |
$curl = curl_init(); | |
curl_setopt_array($curl, array( | |
CURLOPT_URL => "https://api.openweathermap.org/data/2.5/weather?id=2208305&APPID=db6889d62a3a881cb6c204dc256c0bae&units=metric", | |
CURLOPT_RETURNTRANSFER => true, | |
CURLOPT_TIMEOUT => 30, | |
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, | |
CURLOPT_CUSTOMREQUEST => "GET", |
/* ----------- iPad Pro ----------- */ | |
/* Portrait and Landscape */ | |
@media only screen | |
and (min-width: 1024px) | |
and (max-height: 1366px) | |
and (-webkit-min-device-pixel-ratio: 1.5) { | |
} | |
/* Portrait */ | |
@media only screen |
var gulp = require('gulp'); | |
var sass = require('gulp-sass'); | |
var autoprefixer = require('gulp-autoprefixer'); | |
var cleanCSS = require('gulp-clean-css'); | |
var concat = require('gulp-concat'); | |
var uglify = require('gulp-uglify'); | |
var pipeline = require('readable-stream').pipeline; | |
// This compiles the sass files into one | |
gulp.task('compile', () => { |
$(window).on('load', function () { | |
function toTitleCase(str) { | |
return str.replace(/(?:^|\s)\w/g, function (match) { | |
return match.toUpperCase(); | |
}); | |
} | |
if (window.location.hash) { | |
var hash = window.location.hash.substring(1); //Puts hash in variable, and removes the # character | |
// Add scroll to function in here | |
// hash found |
<?xml version="1.0" encoding="utf-8"?> |