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
// #### it's compilable -prefix-free | |
// © 2011 Artem Sapegin http://sapegin.ru | |
// + 2011 Grawl http://grawl.ru | |
// + radial-gradient and other rules with vendor prefixes added by Grawl. | |
// add your fixes to My table of vendor prefixes there: http://goo.gl/3hPfR | |
/* mask: | |
parameter() | |
-webkit-parameter arguments | |
-moz-parameter arguments | |
-ms-parameter arguments |
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
body { | |
background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(1, #000)); | |
background: -webkit-linear-gradient(top, #fff 0%, #000 100%); | |
background: -moz-linear-gradient(top, #fff 0%, #000 100%); | |
background: -ms-linear-gradient(top, #fff 0%, #000 100%); | |
background: -o-linear-gradient(top, #fff 0%, #000 100%); | |
background: linear-gradient(top, #fff 0%, #000 100%); | |
} |
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
/** | |
* Comments | |
*/ | |
* { | |
margin: 0; | |
padding: 0; | |
border: 0; | |
} | |
body { | |
font-family: sans-serif; |
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
<!—[if IE 6]> | |
<style> | |
* { position: relative } | |
</style> | |
<![endif]—> |
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
YMaps.jQuery(window).load(function () { | |
// .. | |
// здесь параметры карты — объекты, стили и прочее | |
// .. | |
$("#change-map-visibility").click(function(e){ | |
$("#YMapsID").css('display','block'); // не забудь сначала скрыть этот блок | |
map.redraw(); // перерисовка карты | |
e.preventDefault(); | |
}); | |
}); |
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
$(function(){ | |
var unscrolled = 'unscrolled' | |
$('body').addClass(unscrolled); | |
$(window).scroll(function(){ | |
if( $(window).scrollTop() > 0 ) { | |
$('body').removeClass(unscrolled); | |
} else { | |
$('body').addClass(unscrolled); | |
} | |
}); |
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
<!--[if IE 6]> | |
Ваш браузер не поддерживает интернет. | |
<![endif]--> |
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
/** | |
* GLH | |
*/ | |
#body { | |
text-align: center; | |
background-color: white; | |
color: black; | |
} | |
#body::before { |
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
/** | |
* HackStore Download button | |
*/ | |
a[href^="http://"] { | |
display: inline-block; | |
position: relative; | |
height: 7px; | |
width: 54px; | |
font-family: sans-serif; |
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
/** | |
* Loading spinner */ | |
/* Centering */ | |
html, body { | |
height: 100%; | |
} | |
body { | |
display: box; | |
box-align: center; | |
box-pack: center; |