# Arquivo: snippets para css
# Criado: Qui 21/Abr/2011 hs 18:16
# Last Change: 2011 Abr 21 18:58:05
# autor: Sérgio Luiz Araújo Silva
# site: http://vivaotux.blogspot.com
# twitter: http://www.twitter.com/voyeg3r
# reference: https://github.com/scrooloose/snipmate-snippets/tree/master/css

# comments for css
snippet /*
/* ${1} */${2}

snippet body font-family serif
	body {
		font-family: 'Droid Serif', serif; font-size: 48px;
	} ${1}

snippet body margin
	body { margin: ${1:0}; background-color: ${2:#eef} }
	${3:}
}
snippet @f
	@font-face {
		font-family: ${1};
		src: url(${2}); ${3}
# familia de fontes
snippet font-family
	${1:} {font-family: "Helvetica", Arial, sans-serif;}
	${2}
snippet ff sans-serif
	${1:} {font-family: "Helvetica", Arial, sans-serif;}
	${2}
snippet ff monospaced
	${1:} {font-family: Monaco, 'Courier New', monospaced;}
	${2}
snippet font-size
	font-size: ${1:100%};
	${2}
snippet font-weight 
	font-weight: ${1:normal/bold};$0
snippet font-style
	font-style: ${1:normal/italic/oblique};
	${2}
# margens
snippet margin
	margin: ${1:0} ${2:0} ${3:0} ${4:0}; ${5}
snippet margin-top
	margin-top:${1:auto};${2}
snippet margin-right
	margin-right:${1:auto};${2}
snippet margin-bottom
	margin-bottom:${1:auto};${2}
snippet margin-left
	margin-left:${1:auto};${2}
snippet mb
	margin-bottom: ${1}; ${2}
snippet ml
	margin-left: ${1}; ${2}
snippet mr
	margin-right: ${1}; ${2}
snippet mt
	margin-top: ${1}; ${2}
snippet pb
	padding-bottom: ${1}; ${2}
snippet pl
	padding-left: ${1}; ${2}
snippet pr
	padding-right: ${1}; ${2}
snippet pt
	padding-top: ${1}; ${2}
snippet padding general
	padding: ${1}; ${2}
snippet padding four
	padding: ${1:0} ${2:0} ${3:0} ${4:0};
	${5}