This file contains hidden or 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
Show hidden characters
{ | |
"always_show_minimap_viewport": true, | |
"bold_folder_labels": true, | |
"build_on_save": 1, | |
"caret_extra_bottom": 2, | |
"caret_extra_top": 2, | |
"caret_style": "phase", | |
"color_scheme": "Packages/Boxy Theme/schemes/Boxy Ocean.tmTheme", | |
"enabled_plugins": | |
[ |
This file contains hidden or 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
{ | |
Сокращения: { | |
install: (i), | |
uninstall: (r), | |
update: (up), | |
--save: (-S), | |
--save-dev: (-D), | |
--global: (-g) | |
}, | |
npm: { |
This file contains hidden or 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
.clearfix:before, | |
.clearfix:after { | |
content: " "; /* 1 */ | |
display: table; /* 2 */ | |
} | |
.clearfix:after { | |
clear: both; | |
} |
This file contains hidden or 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
'use strict'; | |
var gulp = require('gulp'), | |
watch = require('gulp-watch'), | |
prefixer = require('gulp-autoprefixer'), | |
uglify = require('gulp-uglify'), | |
sass = require('gulp-sass'), | |
sourcemaps = require('gulp-sourcemaps'), | |
rigger = require('gulp-rigger'), | |
cssmin = require('gulp-minify-css'), |
This file contains hidden or 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
{ | |
"installed_packages": | |
[ | |
"Alignment", | |
"All Autocomplete", | |
"AutoFileName", | |
"Bootstrap 3 Snippets", | |
"Boxy Theme", | |
"BracketHighlighter", | |
"Can I Use", |
This file contains hidden or 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
.wrap_img { | |
position: absolute; | |
overflow: hidden; | |
width: 22px; | |
height: 22px; | |
} | |
.wrap_img img { | |
display: block; | |
max-width: 100%; | |
max-height: 100%; |
This file contains hidden or 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
.imagecontainer{ | |
position: relative; | |
overflow: hidden; | |
width: 20rem; | |
height: 20rem; | |
} | |
.imagecontainer img{ | |
position: absolute; | |
top: -9999px; |
This file contains hidden or 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
(function( $ ) { | |
$.fn.scrollBlock = function( options ) { | |
var settings = $.extend( { | |
'wrapElem' : '.content', // class или id внешнего элемента например '.class' или '#id' | |
'topElem' : '', // class или id верхнего дополнительного элемента например '.class' или '#id' | |
'bottomElem' : '', // class или id эелемента нижнего дополнительного элемента например '.class' или '#id' | |
'minWidthWindows' : 0, // мимимальная ширина при которой нужно отключать подвижность блока | |
'paddingBefore' : 0, // дополнительное расстояние отступ от верха страницы при движении | |
'paddingAfter' : 0, // дополнительное расстояние отступ от футера когда элемент дойдет до него |
This file contains hidden or 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
function getProtocol() { | |
if (isset($_SERVER['HTTPS']) && | |
($_SERVER['HTTPS'] == 'on' || $_SERVER['HTTPS'] == 1) || | |
isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && | |
$_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https') { | |
$protocol = 'https'; | |
} | |
else { | |
$protocol = 'http'; | |
} |
OlderNewer