From d440ccc1b38718f862c6120b0a39d0e00764726a Mon Sep 17 00:00:00 2001 From: mappu Date: Sat, 10 May 2014 13:54:10 +1200 Subject: [PATCH] tag icons --- rebuild.php | 2 +- static/style.css | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/rebuild.php b/rebuild.php index 09753e1..29e9ad6 100644 --- a/rebuild.php +++ b/rebuild.php @@ -351,7 +351,7 @@ function buildall() { :: tags as $tag) { ?> - + diff --git a/static/style.css b/static/style.css index 2bee448..ea44ad1 100644 --- a/static/style.css +++ b/static/style.css @@ -62,6 +62,18 @@ html, body { /* */ +.tag::before { + content:""; + + display:inline-block; + width:7px; + height:7px; + + margin-right:2px; + + background:transparent url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAZUlEQVQI12P4//8/Awyrqqp6KSkp/QdhFRWV7cgS+kDBN0B8RVlZuRikACahB+T8ger6BMTXwJJAiTwg4xvMOCj+ART3ZwCa3YYm8QcopgsyEWasDVT3W5AVMHcgO6gViNORXQ8A84NToxbSsJcAAAAASUVORK5CYII=') no-repeat 0 0; +} + .projtable { border-collapse: collapse; width:100%;