From 12a3f0ac31a70f49d80784da2a6385c28aba211a Mon Sep 17 00:00:00 2001 From: ed Date: Sat, 28 Aug 2021 02:56:07 +0200 Subject: [PATCH] update the filetype icons example --- docs/browser-icons.css | 33 --------------------------------- 1 file changed, 33 deletions(-) diff --git a/docs/browser-icons.css b/docs/browser-icons.css index 95f243bc..33a44889 100644 --- a/docs/browser-icons.css +++ b/docs/browser-icons.css @@ -1,36 +1,3 @@ -/* put filetype icons inline with text -#ggrid>a>span:before, -#ggrid>a>span.dir:before { - display: inline; - line-height: 0; - font-size: 1.7em; - margin: -.7em .1em -.5em -.6em; -} -*/ - - -/* move folder icons top-left */ -#ggrid>a>span.dir:before { - content: initial; -} -#ggrid>a[href$="/"]:before { - content: '📂'; -} - - -/* put filetype icons top-left */ -#ggrid>a:before { - display: block; - position: absolute; - padding: .3em 0; - margin: -.4em; - text-shadow: 0 0 .1em #000; - background: linear-gradient(135deg,rgba(255,255,255,0) 50%,rgba(255,255,255,0.2)); - border-radius: .3em; - font-size: 2em; -} - - /* video */ #ggrid>a:is( [href$=".mkv"i],