Skip to content

Instantly share code, notes, and snippets.

View kislovskij's full-sized avatar

Viktor Kislovskij kislovskij

  • Leo Burnett Worldwide
  • Frankfurt am Main
View GitHub Profile
@kislovskij
kislovskij / blockquote.css
Created June 18, 2013 13:15
Blockquote Template
blockquote {
background: #f9f9f9;
border-left: 10px solid #ccc;
margin: 1.5em 10px;
padding: .5em 10px;
quotes: "\201C""\201D""\2018""\2019";
}
blockquote:before {
color: #ccc;
content: open-quote;
@kislovskij
kislovskij / clearfix.css
Created June 18, 2013 13:14
CSS Clearfix
.clearfix:before, .container:after { content: ""; display: table; }
.clearfix:after { clear: both; }
/* IE 6/7 */
.clearfix { zoom: 1; }
@kislovskij
kislovskij / reset.css
Created June 18, 2013 13:13
Reset CSS
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
@kislovskij
kislovskij / vertical-rhythm.css
Created June 18, 2013 13:02
Vertical Rhythm
h1 {
font-size: 36px;
line-height: 40px;
}
h2 {
font-size: 30px;
line-height: 40px;
}