pre a[href]:before,
pre a[href$="/"]:before {
	content: "";
	width: 16px;
	height: 16px;
	display: inline-block;
	vertical-align: middle;
	margin: 0 5px 0 0;
	/* padding: 5px 25px 0 0; */
	background-repeat: no-repeat;
	background-position: left bottom;
}

a[href]:before {
	/*background: url('icons/empty.png');*/
	background: url('icons/none.png');
}

a[href$="/"]:before {
	background: url('icons/folder.png');
}


/** Checksums **/

a[href~="MD5"]:before,
a[href~="SHA1"]:before,
a[href~="SHA256"]:before {
	background: url('icons/lock.png');
}

a[href$=".md5"]:before,
a[href$=".sha1"]:before,
a[href$=".sha256"]:before {
	background: url('icons/lock2.png');
}

a[href$=".pgp"]:before,
a[href$=".asc"]:before,
a[href$=".sig"]:before {
	background: url('icons/lock3.png');
}


/** Compressed **/

a[href$=".7z"]:before {
	background: url('icons/7z.png');
}

a[href$=".bin"]:before,
a[href$=".cue"]:before {
	background: url('icons/bin.png');
}

a[href$=".deb"]:before {
	background: url('icons/deb.png');
}

a[href$=".iso"]:before {
	background: url('icons/iso.png');
}

a[href$=".rar"]:before {
	background: url('icons/rar.png');
}

a[href$=".rpm"]:before {
	background: url('icons/rpm.png');
}

a[href$=".tar"]:before,
a[href$=".xz"]:before,
a[href$=".txz"]:before {
	background: url('icons/tar.png');
}

a[href$=".tgz"]:before,
a[href$=".gz"]:before {
	background: url('icons/tgz.png');
}

a[href$=".zip"]:before {
	background: url('icons/zip.png');
}

a[href$=".apk"]:before {
	background: url('icons/android.png');
}

a[href$=".bz2"]:before,
a[href$=".bz2"]:before
a[href$=".tbz2"]:before {
	background: url('icons/bz2.png');
}


/** Data Storage **/

a[href$=".csv"]:before {
	background: url('icons/csv.png');
}

a[href$=".ini"]:before {
	background: url('icons/ini.png');
}

a[href$=".json"]:before {
	background: url('icons/json.png');
}

a[href$=".sql"]:before {
	background: url('icons/sql.png');
}

a[href$=".sqlite"]:before {
	background: url('icons/sqlite.png');
}

a[href$=".reg"]:before {
	background: url('icons/reg.png');
}

a[href$=".xml"]:before {
	background: url('icons/xml.png');
}

a[href$=".yaml"]:before,
a[href$=".yml"]:before {
	background: url('icons/yaml.png');
}


/** Documents **/

a[href$=".chm"]:before {
	background: url('icons/chm.png');
}

a[href$=".djvu"]:before {
	background: url('icons/djvu.png');
}

a[href$=".mobi"]:before {
	background: url('icons/mobi.png');
}

a[href$=".pdf"]:before {
	background: url('icons/pdf.png');
}

a[href$=".txt"]:before {
	background: url('icons/text.png');
}

a[href$=".rtf"]:before {
	background: url('icons/rtf.png');
}

a[href$=".doc"]:before {
	background: url('icons/doc.png');
}

a[href$=".epub"]:before {
	background: url('icons/epub.png');
}


/** Information **/

a[href~="README"]:before {
	background: url('icons/readme.png');
}

a[href~="CHANGELOG"]:before {
	background: url('icons/changelog.png');
}

a[href~="INSTALL"]:before {
	background: url('icons/install.png');
}

a[href~="LICENSE"]:before {
	background: url('icons/license.png');
}

a[href~="COPYING"]:before {
	background: url('icons/copying.png');
}

a[href$=".nfo"]:before,
a[href$=".diz"]:before {
	background: url('icons/nfo.png');
}


/** Media Files **/

a[href$=".flac"]:before {
	background: url('icons/flac.png');
}

a[href$=".mp3"]:before {
	background: url('icons/mp3.png');
}

a[href$=".wav"]:before {
	background: url('icons/wav.png');
}

a[href$=".bmp"]:before {
	background: url('icons/bmp.png');
}

a[href$=".gif"]:before {
	background: url('icons/gif.png');
}

a[href$=".jpg"]:before,
a[href$=".jpeg"]:before {
	background: url('icons/jpg.png');
}

a[href$=".png"]:before {
	background: url('icons/png.png');
}

a[href$=".psd"]:before {
	background: url('icons/psd.png');
}

a[href$=".ra"]:before,
a[href$=".rv"]:before {
	background: url('icons/rp.png');
}

a[href$=".avi"]:before {
	background: url('icons/avi.png');
}

a[href$=".flv"]:before {
	background: url('icons/flv.png');
}

a[href$=".mkv"]:before {
	background: url('icons/mkv.png');
}

a[href$=".mov"]:before {
	background: url('icons/mov.png');
}

a[href$=".mp4"]:before {
	background: url('icons/mp4.png');
}


/** Source Code **/

a[href$=".sh"]:before {
	background: url('icons/bash.png');
}

a[href$=".cpp"]:before {
	background: url('icons/cpp.png');
}

a[href$=".h"]:before {
	background: url('icons/header.png');
}

a[href$=".c"]:before {
	background: url('icons/c-lang.png');
}

a[href$=".go"]:before {
	background: url('icons/go-lang.png');
}

a[href$=".html"]:before,
a[href$=".htm"]:before {
	background: url('icons/html.png');
}

a[href$=".java"]:before,
a[href$=".jar"]:before,
a[href$=".class"]:before {
	background: url('icons/java.png');
}

a[href$=".lua"]:before {
	background: url('icons/lua.png');
}

a[href$=".nim"]:before {
	background: url('icons/nim.png');
}

a[href$=".js"]:before {
	background: url('icons/javascript.png');
}

a[href$=".php"]:before {
	background: url('icons/php.png');
}

a[href$=".pl"]:before {
	background: url('icons/perl.png');
}

a[href$=".py"]:before {
	background: url('icons/python.png');
}

a[href$=".rb"]:before {
	background: url('icons/ruby.png');
}

a[href$=".rs"]:before,
a[href$=".rlib"]:before {
	background: url('icons/rust.png');
}

a[href$=".css"]:before {
	background: url('icons/css.png');
}

a[href$=".less"]:before {
	background: url('icons/less.png');
}

