Skip to content

Instantly share code, notes, and snippets.

View alexermakov's full-sized avatar

ermakovalexey alexermakov

View GitHub Profile
::-webkit-input-placeholder {color:#c0392b;}
::-moz-placeholder {color:#c0392b;}/* Firefox 19+ */
:-moz-placeholder {color:#c0392b;}/* Firefox 18- */
:-ms-input-placeholder {color:#c0392b;}
.container:after{clear: both;display: block;content: '';}
.w12,.w11,.w10,.w9,.w8,.w7,.w6,.w5,.w4,.w3,.w2,.w1{ padding-left: 15px;
padding-right: 15px;}
.w12{width: 100%;}
.w11{width: 91.666%;float: left;}
.w10{width: 83.333%;float: left;}
.w9{width: 75%;float: left;}
.w8{width: 66.666%;float: left;}
.w7{width: 58.333%;float: left;}
.w6{width: 50%;float: left;}
<div id="vk_widget">
<div id="vk_groups"></div>
</div>
<script type="text/javascript" src="//vk.com/js/api/openapi.js?116"></script>
<script>
function VK_Widget_Init(){
document.getElementById('vk_groups').innerHTML = "";
var vk_width = document.getElementById('vk_widget').clientWidth;
VK.Widgets.Group("vk_groups", {mode: 0, width: vk_width, height: "241", color1: "2B2B2B", color2: "FFFFFF", color3: "2B2B2B"}, 26292363);
};
<!-- start style -->
<style type="text/css">
.alModal {
width: 90%;
max-width: 280px;
height:auto;
display: none;
position: fixed;
z-index: 100;
font-family: sans-serif;
<!-- start style -->
<style type="text/css">
.alModal {
width: 90%;
max-width: 280px;
height:auto;
display: none;
position: fixed;
z-index: 100;
font-family: sans-serif;
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="description" content="" />
<meta name="keywords" content="" />
<meta name="viewport" content="width=device-width, user-scalable=yes">
<title>Document</title>
<link rel="stylesheet" href="css/normalize.css" />
<link rel="stylesheet" href="css/style.css" />
<!-- start style -->
<style type="text/css">
.alModal {
width: 90%;
max-width: 280px;
height:auto;
display: none;
position: fixed;
z-index: 100;
$(document).ready(function() {
$('.js_form_mail').submit(function( event ) {
if ($(this)[0].checkValidity()) {
formx = $(this).serialize();
formxa = $(this).serializeArray();
$.ajax({
type: "POST",
url: themePath+"/obr.php",
data: formx,
/*! jQuery v2.1.4 | (c) 2005, 2015 jQuery Foundation, Inc. | jquery.org/license */
!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k={},l=a.document,m="2.1.4",n=function(a,b){return new n.fn.init(a,b)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,q=/-([\da-z])/gi,r=function(a,b){return b.toUpperCase()};n.fn=n.prototype={jquery:m,constructor:n,selector:"",length:0,toArray:function(){return d.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=n.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return n.each(this,a,b)},map:function(a){return this.pushStack(n.map(this,function(b,c){return a.call(b,