Skip to content

Instantly share code, notes, and snippets.

View vl-anufriev's full-sized avatar

Vladimir Anufriev vl-anufriev

  • Moscow
View GitHub Profile
@vl-anufriev
vl-anufriev / em.scss
Created April 5, 2019 13:26 — forked from ngryman/em.scss
sass px to em mixin
// http://viljamis.com/blog/2013/prototyping-responsive-typography/?utm_source=Responsive+Design+Weekly&utm_campaign=76e7785581-Responsive_Design_Weekly_046&utm_medium=email
$browser-context: 16; // Default
@function em($pixels, $context: $browser-context) {
@return #{$pixels/$context}em
}
Шаблон
Пролог/подключение языковых файлов (header.php/footer.php)
<?
if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true) die();
IncludeTemplateLangFile(__FILE__);
?>
Язык шаблона
<html lang="<?=LANGUAGE_ID?>">
@vl-anufriev
vl-anufriev / README-Template.md
Created February 27, 2019 09:35 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@vl-anufriev
vl-anufriev / button.sass
Created April 23, 2018 12:59 — forked from agragregra/button.sass
Button Sass Styles (Universal Starter)
.button
display: inline-block
border: none
color: #fff
text-decoration: none
background-color: $accent
padding: 15px 45px
font-size: 13px
text-transform: uppercase
font-weight: 600