Skip to content

Instantly share code, notes, and snippets.

View monicams's full-sized avatar

Monica Messaggi Kaya monicams

View GitHub Profile
@monicams
monicams / highlight_selection.css
Created September 26, 2012 10:19
Colourful selection of text
/* -----------------------------------------
highlightes selected text on website
----------------------------------------- */
::-moz-selection {
background: #a31514;
color: #fff;
}
::selection {
background: #a31514;
color: #fff;
@monicams
monicams / nicescrollbar.css
Created September 26, 2012 10:00
Colourful and arrowless scrollbar
/* -----------------------------------------
nice scrollbar
----------------------------------------- */
@media screen and (-webkit-min-device-pixel-ratio:0) and (min-width:320px) {
::-webkit-scrollbar { width: 10px;}
::-webkit-scrollbar-button:start:decrement {display: block;height: 10px;}
::-webkit-scrollbar-button:end:increment {display: block; height: 10px;}
::-webkit-scrollbar-track-piece { background:
@spilliams
spilliams / stickyfoundationfooter.js
Created May 14, 2012 22:13
Make Ryan Fait's Sticky Footer work with ZURB Foundation
/* Sticky Footer Foundation fix */
$(".footer, .push").height($(".footer .row").height()+"px");
$(".wrapper").css({'margin-bottom':(-1*$(".footer .row").height())+"px"});
window.onresize = function(){
$(".footer, .push").height($(".footer .row").height()+"px");
$(".wrapper").css({'margin-bottom':(-1*$(".footer .row").height())+"px"});
}